Hi, does anyone know how I can remove an item from the build list for a city using python.
In my mod, hammers towards the construction of certain buildings and units are transferred from one city to another.
The original city still includes the building/unit in it's build queue. This is fine in most cases but where the building in question is a world wonder or from a unit class which only allows a certain number, then one turn of construction can be lost.
Note: the city from which the hammers are transferred is converted to a Settlement (similar to FFH Kuriotates) so the player can not manually remove the wonder/hero from the city's build queue.
In the following turn, the construction of the wonder/hero can continue using all of the transferred hammers.
I'd like to remove the wonder/hero from the original build queue so that the turn of construction is not lost.
In my mod, hammers towards the construction of certain buildings and units are transferred from one city to another.
The original city still includes the building/unit in it's build queue. This is fine in most cases but where the building in question is a world wonder or from a unit class which only allows a certain number, then one turn of construction can be lost.
Note: the city from which the hammers are transferred is converted to a Settlement (similar to FFH Kuriotates) so the player can not manually remove the wonder/hero from the city's build queue.
In the following turn, the construction of the wonder/hero can continue using all of the transferred hammers.
I'd like to remove the wonder/hero from the original build queue so that the turn of construction is not lost.