Instead of just having a specific prerequisite or two for buildings, units, techs etc that are specifically narrowly defined as techs or resources, why not have a memo field instead with a mini-script that contains the conditions for building the improvement, unit, etc.
You could include AND, OR, NOT, brackets etc.
So the prerequisite memo field might say something like:
built("Barracks")>=3 and thiscitybuilt("Barracks") and built("Granary")<10 and totalpoppoints>10 and thiscitypoppoints>4 and resource("bananas") and tech("monarchy") and NOT tech("democracy")
You get the idea. This mini-script could be used wherever there are prerequisites for anything, even techs! This could blow customization wide open!
So, shall we use this thread to try to define a mini-language and see what we can come up with?
You could include AND, OR, NOT, brackets etc.
So the prerequisite memo field might say something like:
built("Barracks")>=3 and thiscitybuilt("Barracks") and built("Granary")<10 and totalpoppoints>10 and thiscitypoppoints>4 and resource("bananas") and tech("monarchy") and NOT tech("democracy")
You get the idea. This mini-script could be used wherever there are prerequisites for anything, even techs! This could blow customization wide open!
So, shall we use this thread to try to define a mini-language and see what we can come up with?
Comment