From 9cfef6013123e89ad9a24cb0aeef8ee5bcb5b333 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 24 Mar 2019 14:49:29 +0000 Subject: Periodically ask to keep toy permanently chaste --- scripts/toy.groovy | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) 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. 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 -- cgit v1.2.3