Original Post — Direct link

I am currently trying to form a law in our country that allows us to unclaim homesteads of abandoned players. The homestead in question have been annexed, so the law applies, but I have trouble getting it to work.

I tried to "ignore auth" on the action "Unclaim property" if deed owner is "abandoned". Sounds good on paper, but the claim tool does not allow anyone to set it to the target homestead.

Then I tried to allow to pick up the homestead claim object itself, but in the "Place or pick up object" logic I seem to only have access to the data for the citizen performing the action, not the citizen on which property the object is, so I can't test if the original owner belongs to "Abandoned".

Any other ideas?

EDIT: I also tried to "Ignore Auth" on the Property Transfer action if current owner is "Abandoned" and new owner is a citizen of the country. Even though the law is "active" on the homestead, trying to execute the property transfer is met with "You are not authorized to do this on ". :-(

External link →
11 months ago - /u/SLG-Dennis - Direct link

You can just transfer them to another player that can then unclaim them.

11 months ago - /u/SLG-Dennis - Direct link

Originally posted by Objective_Vacation_5

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.

11 months ago - /u/SLG-Dennis - Direct link

Originally posted by Objective_Vacation_5

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:

https://preview.redd.it/cts1enddjeac1.png?width=4960&format=png&auto=webp&s=01717d9bd0d798a2ca95e366f3764d3e9e7f4808

11 months ago - /u/SLG-Dennis - Direct link

Originally posted by Objective_Vacation_5

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.