summaryrefslogtreecommitdiff
path: root/scripts/toy.groovy
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2019-04-20 11:43:41 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2019-04-20 11:47:36 +0100
commitbe2d5d761bd648660ce6b28a5ddc4696a98f91c2 (patch)
treeaa104adfb6f11673019b4913895704c293ee5235 /scripts/toy.groovy
parentWrap everything in an anonymous object (diff)
downloadtoy-be2d5d761bd648660ce6b28a5ddc4696a98f91c2.zip
Remove redress event when leaving.
Diffstat (limited to 'scripts/toy.groovy')
-rw-r--r--scripts/toy.groovy2
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);