So... I've been meaning to make a code that gifts a City-State to a player after certain conditions are met. (similar to Austria or Venice in gameplay terms). So, when Austria or Venice do that, they manage to erase the City-State status... And that's what I want.
So I think this is the lua thing I could use:
Player:AcquireCity(City city, bool conquest, bool trade)
Supposedly setting Conquest to False and Trade to True, means that the city was not conquered, right?... Well, that didn't seem to work, as the City still acts as occuppied (only difference is the number of surviving habitants); and when another player checks the city it can be Liberated, so it still has CS status.
So, any idea on how to do this?
...OR, any way of gathering all info from a city (Habitants, Buildings, Territory), remove the city and init a new city with all that info?
So I think this is the lua thing I could use:
Player:AcquireCity(City city, bool conquest, bool trade)
Supposedly setting Conquest to False and Trade to True, means that the city was not conquered, right?... Well, that didn't seem to work, as the City still acts as occuppied (only difference is the number of surviving habitants); and when another player checks the city it can be Liberated, so it still has CS status.
So, any idea on how to do this?
...OR, any way of gathering all info from a city (Habitants, Buildings, Territory), remove the city and init a new city with all that info?