summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/toy.groovy4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/toy.groovy b/scripts/toy.groovy
index 0a30c4d..3e1334d 100644
--- a/scripts/toy.groovy
+++ b/scripts/toy.groovy
@@ -1544,12 +1544,11 @@ while (true) {
show("Mistress will summon you when required.");
if (showButton("Please, Miss?", cycleTime) < cycleTime) {
def opts = [
- [ lbl: "Status", act: setupShowState ],
[ lbl: "Calendar", act: setupShowCalendar ],
[ lbl: "Confess", act: confess ],
- [ lbl: "Back", act: null ],
];
if (is("DEBUG")) {
+ opts.push([ lbl: "Status", act: setupShowState ]);
opts.push([ lbl: "Play", act: playEvent, arg: true ]);
opts.push([ lbl: "Begin plan", act: beginPlan, arg: LUNCH ]);
}
@@ -1559,6 +1558,7 @@ while (true) {
TOYTOYS.findAll { is(it) }.each {
opts.push([ lbl: "May I be un-$it".toString(), act: requestRelease, arg: it ]);
};
+ opts.push([ lbl: "Back", act: null ]);
def opt = getSelectedValue("Yes, toy?", opts.collect { it.lbl });
def act = opts[opt].act;
if (act)