I'm trying to figure out how to prevent the game from removing buildings from a planet when all pops are killed off on it.
Iv'e looked at both the on_action events as well as changing any mention of destroy_colony to only kill all the pops. And searched for any mention of remove_building. But none of them seems to be the culprit.
There seems to be some kind of hard coded function that will remove all buildings once all pops are dead.
And from rolling back to older versions. It would seem it started doing this after the 1.3.x patch.
Interestingly it doesn't seem to remove the Fallen Empire buildings. I tried testing and removed the ai_remove and event_building functions. But the game still wont remove them. So there is something running that removes all buildings except those specific types of buildings..
I'm currently at a loss trying to figure this out.. So any help would be appreciated.
Iv'e looked at both the on_action events as well as changing any mention of destroy_colony to only kill all the pops. And searched for any mention of remove_building. But none of them seems to be the culprit.
There seems to be some kind of hard coded function that will remove all buildings once all pops are dead.
And from rolling back to older versions. It would seem it started doing this after the 1.3.x patch.
Interestingly it doesn't seem to remove the Fallen Empire buildings. I tried testing and removed the ai_remove and event_building functions. But the game still wont remove them. So there is something running that removes all buildings except those specific types of buildings..
I'm currently at a loss trying to figure this out.. So any help would be appreciated.