Customizing city production?

Jah77

Chieftain
Joined
Nov 11, 2005
Messages
4
Is it possible to customize what buildings/units individual cities can produce? To be more specific, would it be possible to have a city that can't produce any military units, no matter who controls it?
 
Yeah, the easiest way to do this is through Python and plug into the CanContruct and CanTrain functions. You can put any logic you want in there. The files is CvGameInterface.py.

If you want an example download my mod and checkout the logic I have in there that allowes/disallows certain civics/techs/units based on the state religion.
 
Back
Top Bottom