Number of Buildings Needed (Help)

Riker13

King
Joined
Nov 9, 2001
Messages
859
Location
UK
I have created a building but I only want it to be available if there are a certain number of other buildings around.

Example. New Building Supermarket. Must have six Markets to build Supermarket.

Is there any XML/Sql code for that?

Regards

Riker13:crazyeye:
 
I haven't seen a modifier yet that counts anything, actually. You can apply an effect to or test requirement against a single object or all objects. Not seen 4 objects or more than 6. Would be nice to have such capabilities, though.
 
@Infixo
Thanks, yes it would.
It was available in CiV I cant remember if it was something that came in later with patches, so maybe we will have to wait a bit. :(
 
I envision multiple trees (really, a forest) of MODIFIER_ATTACH_MODIFIERs here... BRRR.... I am staying away ... :) Better go code some Lua.
 
Back
Top Bottom