Help please civics mod

Riker13

King
Joined
Nov 9, 2001
Messages
859
Location
UK
Hi,

I have created a small mod for my own use which has a Wartime economy option in the civics but would like it that you can only choose it if at war.

How do I go about doing this?

Many Regards

Riker13 :crazyeye:
 
A bit tricky, but if it's just one civic, what I'd suggest is that you use the CannotDoCivic callback in Python to check to see if a civ is at war. If it is not, then prevent it from running that civic. :)
 
Gaius,

Many thanks for replying, its amazing no one else could help.

I will try what you suggest.

Regards

Riker13 :crazyeye:
 
Back
Top Bottom