Sinapus
Defenestrated
I'm trying to puzzle out python and having problems comprehending it. Then again I've always been horrible with coding so that's not surprising, I'm better at adjusting values in existing code than actually creating it from scratch.
I'm attempting to find out if it's possible to have a python-scripted event affect the cities of every player in the game, including the barbarian player. Mainly to test a crazy idea I suggested for an event that does something horrible to every player in the game, affecting every city, but also to add bonuses or similar to every city.
Is there a way to run the setCulture, setFood and setPopulation or similar commands(?) on every city in the game, regardless of which civilization owns them? Some of the event python scripting seems to have a "loopCity" function that might allow it, but I have no idea how to run it. It also implies there's no simple "go to every city and do this" command available.
(...and if you're wondering why I specified those variables, perhaps I've been watching too many of theDoomDiscovery and HysteriaHistory Channels' disaster documentaries.)
I'm attempting to find out if it's possible to have a python-scripted event affect the cities of every player in the game, including the barbarian player. Mainly to test a crazy idea I suggested for an event that does something horrible to every player in the game, affecting every city, but also to add bonuses or similar to every city.
Is there a way to run the setCulture, setFood and setPopulation or similar commands(?) on every city in the game, regardless of which civilization owns them? Some of the event python scripting seems to have a "loopCity" function that might allow it, but I have no idea how to run it. It also implies there's no simple "go to every city and do this" command available.
(...and if you're wondering why I specified those variables, perhaps I've been watching too many of the