One line summary of your issue
[2.8.3.3] [SAHQ] Can only attempt suicide once if incapable (attempting_suicide not cleared)
Game Version
[2.8.3.3] [SAHQ]
What expansions do you have installed?
All of the above
Do you have mods enabled?
No
Please explain your issue is in as much detail as possible.
My character has been incapable for a long time (several years). After about a year of incapability, I attempted suicide - but my so-called friend refused and ran away. For the several years since then, the "Commit Suicide" option has been greyed out because I "recently attempted to commit suicide". Since several years hardly counts as "recent", I checked out the event files - and I think that there's a bug with incapable suicides.
Here's how the events play out if you attempt to commit suicide while incapable:
- commit_suicide (dynasty_decisions.txt) - sets character flag attempting_suicide and triggers RIP.30210
- RIP.30210 (rip_flavor_events.txt) - request for suicide passed to someone (RIP.30211)
- RIP.30211 - Request denied; this person can't be asked again; set suicide_fail flag on incapable character; go to next event (RIP.30212)
- RIP.30212 - Flavor text saying that suicide fails; event chain stops
At the end of this chain, the attempting_suicide and suicide_fail flags have not been cleared; attempting_suicide blocks any further attempt to use the commit_suicide decision.
If you attempt to commit suicide while not incapable, you use event RIP.30200 instead of RIP.30210. The reason this path works properly is that RIP.30200 has this code in the immediate block:
So, in this path, your suicide flags are cleared 365 days after your suicide attempt - which allows you to try again.
Suggested resolution: Add the delayed cleanup event to RIP.30210.
Steps to reproduce the issue.
Load the attached save. Observe that "Commit Suicide" is greyed-out. Somehow prevent the character from dying, and run the clock forward. Observe that "Commit Suicide" is never available again.
You can probably obtain similar results by: starting a new game; giving yourself massive amounts of health using the console; giving yourself the incapable trait; attempt to commit suicide.
Upload Attachment
[2.8.3.3] [SAHQ] Can only attempt suicide once if incapable (attempting_suicide not cleared)
Game Version
[2.8.3.3] [SAHQ]
What expansions do you have installed?
All of the above
Do you have mods enabled?
No
Please explain your issue is in as much detail as possible.
My character has been incapable for a long time (several years). After about a year of incapability, I attempted suicide - but my so-called friend refused and ran away. For the several years since then, the "Commit Suicide" option has been greyed out because I "recently attempted to commit suicide". Since several years hardly counts as "recent", I checked out the event files - and I think that there's a bug with incapable suicides.
Here's how the events play out if you attempt to commit suicide while incapable:
- commit_suicide (dynasty_decisions.txt) - sets character flag attempting_suicide and triggers RIP.30210
- RIP.30210 (rip_flavor_events.txt) - request for suicide passed to someone (RIP.30211)
- RIP.30211 - Request denied; this person can't be asked again; set suicide_fail flag on incapable character; go to next event (RIP.30212)
- RIP.30212 - Flavor text saying that suicide fails; event chain stops
At the end of this chain, the attempting_suicide and suicide_fail flags have not been cleared; attempting_suicide blocks any further attempt to use the commit_suicide decision.
If you attempt to commit suicide while not incapable, you use event RIP.30200 instead of RIP.30210. The reason this path works properly is that RIP.30200 has this code in the immediate block:
Code:
#Suicide, from commit_suicide_immortal and commit_suicide
character_event = {
id = RIP.30200
########################Snip
immediate = {
character_event = { id = RIP.30201 days = 365 } #Cleanup
########################Snip rest of event
#Cleanup-event
character_event = {
id = RIP.30201
hide_window = yes
is_triggered_only = yes
option = {
clr_character_flag = suicide_fail
clr_character_flag = suicide_success
clr_character_flag = lost_suicide_duel
clr_character_flag = incapable_suicide_duel
clr_character_flag = won_suicide_duel
clr_character_flag = attempting_suicide
}
}
So, in this path, your suicide flags are cleared 365 days after your suicide attempt - which allows you to try again.
Suggested resolution: Add the delayed cleanup event to RIP.30210.
Steps to reproduce the issue.
Load the attached save. Observe that "Commit Suicide" is greyed-out. Somehow prevent the character from dying, and run the clock forward. Observe that "Commit Suicide" is never available again.
You can probably obtain similar results by: starting a new game; giving yourself massive amounts of health using the console; giving yourself the incapable trait; attempt to commit suicide.
Upload Attachment
Attachments
Upvote
0