[HELP] On the idea of "OR" in modding language

thinkingnut

Warlord
Joined
Sep 18, 2013
Messages
146
Hi there,

I'm wondering if there is a way to specify when modding the idea of "OR". Ie. Can boost that particular tech by building a wall OR granary. Is this possible?

So it might look something (I'm aware it doesn't) PrereqBuilding="BUILDING_WALLS/GRANARY".

If anyone can provide answers here, I would be extremely grateful.

Cheers.
 
You may be able to grant a dummy building to a city when building either of the pre-reqs, then assign the dummy building as the prereq to the "OR"ed building.
 
LeeS wrote a dummy building system that can be loaded as a dependency for your mod. I'd start there.

I don't have much experience modding (and no experience with dummy buildings). I apologize for not offering more detailed assistance.
 
Back
Top Bottom