diff options
-rw-r--r-- | scripts/toy.groovy | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/scripts/toy.groovy b/scripts/toy.groovy index 68d7114..507894c 100644 --- a/scripts/toy.groovy +++ b/scripts/toy.groovy @@ -23,7 +23,7 @@ final BONDAGE = "bondage", CBT = "cbt", CHORES = "chores", PAIN = "pain"; final CUM = "cum", EDGE = "edge" final PERMIT = "permit"; final PLAY = "play"; -final PERM_CHASTE = "perm_chaste"; +final PERM_CHASTE = "perm_chaste", PERM_CHASTE_ASK = "perm_chaste_ask"; // toy.state.<name> final CHASTE = "chaste", COLLARED = "collared", CUFFED = "cuffed", CLAMPED = "clamped", GAGGED = "gagged", NAKED = "naked"; final REDRESS = "redress"; @@ -829,6 +829,30 @@ def preChastity = { } def postChastity = { chastity(false); + if (is(CHASTE) && (getPermission(PERM_CHASTE) == null || + (getPermission(PERM_CHASTE) == false && getProp(PERM_CHASTE_ASK, loadI, 0) < getTime() - (DAY * 30)))) { + present([DRESSED,TEASE], [ + ["Now I have you locked up,", "Now my cock is secured away,"], + ["would you let me", "can I"], + ["keep you like that"], + ["all the time?", "permanently?"]]); + def sh = getSelectedValue(null, [ + gagText("Yes, Mistres", "yes"), gagText("Please, Mistress, no", "no")]); + if (sh == 0) { + present([DRESSED,TEASE], [ + ["Good boy.", "Thank you, toy."]]); + setPermission(PERM_CHASTE, true); + setProp(PERM_CHASTE_ASK, null); + } + else { + present([DRESSED,nTEASE], [ + ["Awwww.", "Shame."], + ["One day..."]]); + setPermission(PERM_CHASTE, false); + setProp(PERM_CHASTE_ASK, getTime()); + } + wait(5); + } }; // Play |