summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/toy.groovy4
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 = {