Thank you! But it does not really cover our use case. As I understand it, this triggers the moment a citizen enters the "Abandoned" demographic and therefore it is fine for all citizens in our country who stop playing.
But our main use case is this: There is property of abandoned players in the world. As our country gains culture and expands borders, these properties can be annexed (for free). We would like to also claim the property, but the moment this law takes hold, the people in question already are abandoned. I tried tinkering with a law that executes every hour or something to do this, but also no luck.
I now modified the law to check for the demographic change "Someone becomes citizen of our country" and then if that person is also abandoned to transfer the property. Will test it once we have the case again. Thanks for your help, much appreciated!
It was an example. For one-off transfers you wouldn't ususally use laws, but an executive action, where you basically say if property is owned by X, then transfer to mayor. In law you could use citizen timer to do the same, just more complicated.
Just increasing the time in Disaster.eco will also work after a restart.
I don't see the option tp post a screenshot here. The law I was trying to create reads as follows:
On event PROPERTY TRANSFER where Current Owner is ABANDONED where New Owner is CITIZEN OF XYZ Ignore Auth
This does not work, when I try to initiate the property transfer it says I am not authorized to do it. However if I replace the demographics with real player names, it does. And yes, in our tests the players in question were definitely part of the demographics.
Thanks for the hint, I have enabled images in comments.
The law you're trying to make is odd, you would usually do allow a specific title to ignore auth for property transfers or make the transfer happen by the law, like such:
Update: If I put the names of the players (the abandoned and the citizen) directly into the law, it works. But if I just put the demographics ("Abandoned" and "Citizen of..." resp.) it does not. I also tried putting an explicit player in one place and only the demographic in the other. No luck.
I would need to see a screenshot of what you're actually doing. Abandoned laws are like the most common laws and they are definitely working fine on official servers at least. It should be as simple as making an executive action that moved property owned by player in abandoned demographic to the mayor.
You can just transfer them to another player that can then unclaim them.