When building "process_XYZ" +1 Unhappy in City

Cybah

Emperor
Joined
Jun 22, 2007
Messages
1,481
Hi there. Need some python help.

I made an early version of wealth. On process "early_wealth" the city shall receive +1 Unhappiness.

Can someone help me?
 
Is it possible to make the process give a resource which gives unhappiness that is then taken away after the process is stopped?
 
No, can't be done through .xml, and with python there is the same problem like before: There's nothing like "OnProcessBuild", and processes do not count as buildings, so you can't hook there, instead you would have to cycle through all cities every round, and this is a horror for the performance.
 
Top Bottom