diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-04-20 11:43:41 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-04-20 11:47:36 +0100 |
commit | be2d5d761bd648660ce6b28a5ddc4696a98f91c2 (patch) | |
tree | aa104adfb6f11673019b4913895704c293ee5235 /scripts | |
parent | Wrap everything in an anonymous object (diff) | |
download | toy-be2d5d761bd648660ce6b28a5ddc4696a98f91c2.zip |
Remove redress event when leaving.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/toy.groovy | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/toy.groovy b/scripts/toy.groovy index 246dd63..11843fe 100644 --- a/scripts/toy.groovy +++ b/scripts/toy.groovy @@ -1757,6 +1757,8 @@ return new Object() { def toys = TOYTOYS.findAll { t -> is(t) }; Collections.shuffle(toys); toys.each { removeToy(it, [DRESSED,nTEASE]) }; + removeEvent(REDRESS); + set(NAKED, false); present([DRESSED,TEASE], [ [ "Back later!", "See you soon, toy" ]]); wait(5); |