Short summary of your issue
Successful Presidents/PMs never retire
Game Version
1.1.2
What OS are you playing on?
Mac
Do you have mods enabled?
Yes
Have you tried verifying your game files?
No
How much "pain" is this causing you?
5
Please explain the issue you experienced in the most condensed way possible
A sort of followup to the issue of them dying in office (basically the opposite problem—both my own personal solution and your official one, which were functionally identical but differed in how the logic was structured, overcorrected for that issue). The code in character_events.100 (in character_events.txt) simply checks to see if a character is a leader, and, if so, won't kill them. However, if you have a stable political situation, the same ruler can stay for a *very* long time. I don't have a screenshot, but I recently had the moderate leader of the trade unionists stay in power for something like 30 years, only being removed when I managed to enact Council Republic (which... probably shouldn't have happened. None of the other IG leaders were removed. I think removing the leader after a law change is only relevant for monarchies and theocracies).
Please explain how to reproduce the issue
Have very stable politics in a presidential republic. Maybe parliamentary, too.
A fix could be to add a variable to a leader when this event fires on them. When that expires, or perhaps when the event encounters that variable again, it is then allowed to remove them. Even stable single-party rule has leader replacement. I'm from Alberta, where the provincial government was the same party for 44 years, with 7 different premiers in that time.
Another possible solution could be numerical variables. I'm assuming those are possible. Each time it picks a leader, increment it. If it reaches, say, 5, then they'll retire. This also opens up the possibility of *not* retiring an old leader who lost power—if it picks a character who has that variable, but isn't the leader of the country, it spares them and clears the variable. This would more easily allow nonconsecutive presidencies/etc, and keep more memorable characters around.
Is there anything else you think could help us identify/replicate the issue?
I attached a picture of the code because I need to include an attachment.
I have attached a save game
No
Upload Attachment
File(s) attached
Successful Presidents/PMs never retire
Game Version
1.1.2
What OS are you playing on?
Mac
Do you have mods enabled?
Yes
Have you tried verifying your game files?
No
How much "pain" is this causing you?
5
Please explain the issue you experienced in the most condensed way possible
A sort of followup to the issue of them dying in office (basically the opposite problem—both my own personal solution and your official one, which were functionally identical but differed in how the logic was structured, overcorrected for that issue). The code in character_events.100 (in character_events.txt) simply checks to see if a character is a leader, and, if so, won't kill them. However, if you have a stable political situation, the same ruler can stay for a *very* long time. I don't have a screenshot, but I recently had the moderate leader of the trade unionists stay in power for something like 30 years, only being removed when I managed to enact Council Republic (which... probably shouldn't have happened. None of the other IG leaders were removed. I think removing the leader after a law change is only relevant for monarchies and theocracies).
Please explain how to reproduce the issue
Have very stable politics in a presidential republic. Maybe parliamentary, too.
A fix could be to add a variable to a leader when this event fires on them. When that expires, or perhaps when the event encounters that variable again, it is then allowed to remove them. Even stable single-party rule has leader replacement. I'm from Alberta, where the provincial government was the same party for 44 years, with 7 different premiers in that time.
Another possible solution could be numerical variables. I'm assuming those are possible. Each time it picks a leader, increment it. If it reaches, say, 5, then they'll retire. This also opens up the possibility of *not* retiring an old leader who lost power—if it picks a character who has that variable, but isn't the leader of the country, it spares them and clears the variable. This would more easily allow nonconsecutive presidencies/etc, and keep more memorable characters around.
Is there anything else you think could help us identify/replicate the issue?
I attached a picture of the code because I need to include an attachment.
I have attached a save game
No
Upload Attachment
File(s) attached
Attachments
Upvote
0