diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-06-16 14:03:59 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-06-16 14:03:59 +0100 |
commit | e169792e0983458da75d456fb62d4513f25b68c7 (patch) | |
tree | 1505b5e2d101c0d5aa407f364ca9770c38dfe3ed /scripts/toy.groovy | |
parent | Make last suck in stage harsher (diff) | |
download | toy-e169792e0983458da75d456fb62d4513f25b68c7.zip |
Count disappointments
Diffstat (limited to 'scripts/toy.groovy')
-rw-r--r-- | scripts/toy.groovy | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/toy.groovy b/scripts/toy.groovy index 052d78d..50661f8 100644 --- a/scripts/toy.groovy +++ b/scripts/toy.groovy @@ -42,6 +42,7 @@ return new Object() { def DOMME = null; final SITTER = "sarah-james"; final SOFT = "soft"; + final DISAPPOINT = "disappoint"; final DATAFOLDER = getDataFolder(); // Imagery @@ -1528,6 +1529,9 @@ return new Object() { if (goodToy) { adjustPunish(-20); } + else { + setProp(DISAPPOINT, getProp(DISAPPOINT, loadI, 0) + 1); + } show(null); }; def playActivity = { |