summaryrefslogtreecommitdiff
path: root/scripts/toy.groovy
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/toy.groovy')
-rw-r--r--scripts/toy.groovy4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/toy.groovy b/scripts/toy.groovy
index 597f71c..a77c5dd 100644
--- a/scripts/toy.groovy
+++ b/scripts/toy.groovy
@@ -40,6 +40,7 @@ return new Object() {
final SITTER = "sarah-james";
final SOFT = "soft";
final DISAPPOINT = "disappoint";
+ final PRE = "pre", INT = "int", PUNISH = "punish", REWARD = "reward", HUMILIATION = "humiliation";
final DATAFOLDER = getDataFolder();
// Imagery
@@ -303,9 +304,10 @@ return new Object() {
def setSessionAbort = { String r = null -> sessionAborted = r };
final activityList = [:];
- final addActivity = { String name, func, images = [] ->
+ final addActivity = { String name, func, images = [], tags = [] ->
activityList[name] = [
func: func,
+ tags: tags ?: [],
images: images ?: []
];
}