[Freeciv-Dev] Re: (PR#11477) gen imprs
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=11477 >
Vasco Alexandre da Silva Costa wrote:
>
>> can_build_improvement_direct():
>>
>>- return !improvement_redundant(city_owner(pcity),pcity, id, TRUE);
>>+ return TRUE;
>>
>> improvement_redundant() used to check for equiv_repl, now any
>>replacement building can be built?
>
> Right. This is also a feature. It would be trivial to replace the
> improvement_redundant() call with a is_building_replaced() call. The
> issue is this is counter productive.
I were not talking about improvement_redundant(), but only its
equiv_repl part. It gave ruleset authors power to prohibit building
'conflicting' buildings:
; equiv_dupl = list of buildings that duplicate this building if
; this city is within that building's range (may
; still build this, but will have no effect)
; equiv_repl = list of buildings that replace this building if
; this city is within that building's range (not
; allowed to build this)
Is similar effect possible by other means?
And I don't think it would be trivial to put is_building_replaced()
there anyway. It would determine that existing wonder 'replaces'
considered one when one wants to move small wonder.
> Imagine someone builds the Great Wall. improvement_redundant() in there
> would forbid you from building per city City Walls. Once Great Wall goes
> obsolete, suddenly all your cities are naked without City Walls. With
> improvement_redudant() removed, it is possible to build per city City
> Walls *before* Great Wall expires, just like in Civilization II.
That's true for improvement_redundant(), but not for equiv_repl check:
equiv_dupl = "Great Wall"
;equiv_repl =
- ML
- [Freeciv-Dev] Re: (PR#11477) gen imprs, (continued)
- [Freeciv-Dev] Re: (PR#11477) gen imprs, Per I. Mathisen, 2004/12/17
- [Freeciv-Dev] (PR#11477) gen imprs, Vasco Alexandre da Silva Costa, 2004/12/17
- [Freeciv-Dev] (PR#11477) gen imprs, Vasco Alexandre da Silva Costa, 2004/12/17
- [Freeciv-Dev] (PR#11477) gen imprs, Vasco Alexandre da Silva Costa, 2004/12/17
- [Freeciv-Dev] Re: (PR#11477) gen imprs, Marko Lindqvist, 2004/12/18
- [Freeciv-Dev] Re: (PR#11477) gen imprs, Marko Lindqvist, 2004/12/18
- [Freeciv-Dev] (PR#11477) gen imprs, Vasco Alexandre da Silva Costa, 2004/12/18
- [Freeciv-Dev] Re: (PR#11477) gen imprs, Marko Lindqvist, 2004/12/19
- [Freeciv-Dev] (PR#11477) gen imprs, Vasco Alexandre da Silva Costa, 2004/12/19
- [Freeciv-Dev] (PR#11477) gen imprs, Vasco Alexandre da Silva Costa, 2004/12/19
- [Freeciv-Dev] Re: (PR#11477) gen imprs,
Marko Lindqvist <=
- [Freeciv-Dev] Re: (PR#11477) gen imprs, Marko Lindqvist, 2004/12/19
- [Freeciv-Dev] (PR#11477) gen imprs, Vasco Alexandre da Silva Costa, 2004/12/19
- [Freeciv-Dev] (PR#11477) gen imprs, Vasco Alexandre da Silva Costa, 2004/12/19
- [Freeciv-Dev] (PR#11477) gen imprs, Jason Short, 2004/12/19
- [Freeciv-Dev] (PR#11477) gen imprs, Vasco Alexandre da Silva Costa, 2004/12/19
- [Freeciv-Dev] (PR#11477) gen imprs, Vasco Alexandre da Silva Costa, 2004/12/20
- [Freeciv-Dev] (PR#11477) META-TICKET: gen imprs, Vasco Alexandre da Silva Costa, 2004/12/20
- [Freeciv-Dev] (PR#11477) META-TICKET: gen imprs, Vasco Alexandre da Silva Costa, 2004/12/20
|
|