From 9b686fa3c54d483c5bcbb2b7694ca459b6fb82d8 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 15 Dec 2018 10:29:52 +0000 Subject: Add activity intervals --- scripts/toy.groovy | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/scripts/toy.groovy b/scripts/toy.groovy index 251719d..751ca7c 100644 --- a/scripts/toy.groovy +++ b/scripts/toy.groovy @@ -926,6 +926,35 @@ def playClamps = { wait(10); return clampPulls(3 + getRandom(10)); }; +def intClamps = { + if (!has(CLAMPS)) return; + if (!is(CLAMPED)) return; + present([DRESSED,TEASE], [ + ["Let me see", "Show me"], + ["those nipple clamps", "those nasty clamps"], + ["they look painful.", "and jiggle them about for me!"]]); + wait(10); + return clampPulls(getRandom(5)); +}; +def intSqueeze = { + (2 + getRandom(4)).times { n -> + if (n > 0) { + present([DRESSED,TEASE], [ + ["And again,", "Again,", "Once more,"], + ["harder!", "tighter!"]]); + } + else { + present([DRESSED,TEASE], [ + ["Squeeze yours balls", "Grab your balls and squuze them"], + ["good and tight", "firm and hard"], + ["until they hurt a little.", "as if I was doing it."]]); + } + wait(3 + getRandom(6)); + present(null, [ + ["Let them go.", "Hands off."]]); + wait(3 + getRandom(6)); + }; +}; // Session def sessionSummon = { imageSpec -> final limit = 5; @@ -972,12 +1001,17 @@ def sessionPlay = { adjustPunish(-val * ph); } }; + def interval = { + def activities = [null, intClamps, intSqueeze]; + apply(activities[getRandom(activities.size())], null); + }; def apply = { activitity, use = null -> if (!activitity) return; def val = (Float)activitity(); if (use) { use(val); } + interval(); }; def playRepeat = { amount, activities, use = null -> amount.times { -- cgit v1.2.3