Version 1.2.1 is now out.
https://mega.nz/#!D1MAxCwD!PGzZjWSXeHa7F2yjV4qViqzAzAHskeEP30OLJa5_2n0
Changes for 1.2.1
Bug fixed where characters away for special events could be seen as being not away
Removed a dependancy on the Redle Mansion UI mod
Version 1.2.1 is now out.
https://mega.nz/#!D1MAxCwD!PGzZjWSXeHa7F2yjV4qViqzAzAHskeEP30OLJa5_2n0
Changes for 1.2.1
Bug fixed where characters away for special events could be seen as being not away
Removed a dependancy on the Redle Mansion UI mod
Hi dev, I finally tried the new option and my MC started the game in chastity. Everything looks fine, there is only one thing that puzzles me.
When the chastity period ended, he asked to be freed (ChastityReleaseDayPostEvent -> finishUnlocked): the game did not reset the stats though (ResetDurationStats() was not invoked). I see it is called in InitialChastityPrompt() but only in the "start" block, not in the "keyholderIntro" block.
A few days later he met his keyholder and agreed on a second chastity period, at the end of which the stats were the sum of both durations.
It could be my fault though: I have merged your mod with a couple of other scripts.
Actually I have another doubt: in mainmenu.gd a line of _on_lookconfirm_pressed() is replaced. The new line starts with only one tab character instead of two, not sure if it is a typo or if it is intended.
You're totally right about ResetDurationStats() missing if you go via the keyholderIntro. The intent was to not clear the stats on release but on lock/relock. That way stats could potentially be viewed after the fact if need be. I'll add ResetDurationStats() to powerExchangeNegotiateIntro as I think it makes more sense for it to be there.
As for the _on_lookconfirm_pressed() thing and the missing tab, it does indeed look out of place and would result in that text being set at any stage when lookconfirm is pressed, as opposed to only when it's pressed on stage 7. Unsure if this makes any difference either way, will do some testing here.