summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/toy.groovy6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/toy.groovy b/scripts/toy.groovy
index a043117..c819901 100644
--- a/scripts/toy.groovy
+++ b/scripts/toy.groovy
@@ -23,6 +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";
// toy.state.<name>
final CHASTE = "chaste", COLLARED = "collared", CUFFED = "cuffed", CLAMPED = "clamped", GAGGED = "gagged", NAKED = "naked";
final REDRESS = "redress";
@@ -156,6 +157,7 @@ def getDay = { (int)(getTime() / DAY) * DAY };
def has = {i -> loadBoolean("toys.$i") == true};
def likes = {i -> loadBoolean("fetish.$i") == true};
def can = {i -> loadBoolean("toy.permission.$i") == true};
+def perm = can;
def givePermission = {i -> save("toy.permission.$i", true)};
def revokePermission = {i -> save("toy.permission.$i", false)};
def is = {i -> loadBoolean("toy.state.$i") == true};
@@ -1107,6 +1109,10 @@ def sessionRelease = { goodToy ->
present([DRESSED], [
["Ahhh,", "OK,"],
["I'm done with you for now.", "That was fun... for me at least."]]);
+ if (perm(PERM_CHASTE)) {
+ wait(getRandom(10) + 5);
+ postChastity();
+ }
}
else {
present([DRESSED], [