From 9e4fd9a3ba91a11e4b44502242f90e50dfcf93d5 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 16 Jun 2019 13:53:17 +0100 Subject: Extract getCuffs function --- scripts/toy.groovy | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'scripts/toy.groovy') diff --git a/scripts/toy.groovy b/scripts/toy.groovy index 4f30fa8..7aa4951 100644 --- a/scripts/toy.groovy +++ b/scripts/toy.groovy @@ -968,6 +968,15 @@ return new Object() { sessionToys[SPOON] = getTime(); } }; + def getCuffs() { + if (!has(HANDCUFFS)) return; + present([DRESSED, nTEASE], [ + ["Go fetch your handcuffs"]]); + showButtonG("Yes, ${dommeTitle()}", "ok"); + wait(10); + showButtonGT("Back, ${dommeTitle()}", "back", 60, 1); + sessionToys[HANDCUFFS] = getTime(); + } def playBeatBalls = { final BEATS = [ // bpm:30, len:60 ], @@ -1083,12 +1092,7 @@ return new Object() { def prep = [ preStrip, preCollar, preClamps, preGag ]; Collections.shuffle(prep); prep.collect { p -> p(); }; - present([DRESSED, nTEASE], [ - ["Go fetch your handcuffs"]]); - showButtonG("Yes, ${dommeTitle()}", "ok"); - wait(10); - showButtonGT("Back, ${dommeTitle()}", "back", 60, 1); - sessionToys[HANDCUFFS] = getTime(); + getCuffs(); present([DRESSED, nTEASE], [ ["Good."], ["Down on the floor.", "On your knees.", "Down there, where you are."]]); -- cgit v1.2.3