summaryrefslogtreecommitdiff
path: root/scripts/toy.groovy
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2019-01-30 21:15:46 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2019-01-30 21:15:46 +0000
commitc61c40abf54c9240971eb02ec3a889bd4fe2c8f2 (patch)
tree5023d631102053099910f4faed60d1bdccd29b09 /scripts/toy.groovy
parentBetter image selection on return (diff)
downloadtoy-c61c40abf54c9240971eb02ec3a889bd4fe2c8f2.zip
Add DATAFOLDER const
Diffstat (limited to 'scripts/toy.groovy')
-rw-r--r--scripts/toy.groovy3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/toy.groovy b/scripts/toy.groovy
index 02021a7..56657cb 100644
--- a/scripts/toy.groovy
+++ b/scripts/toy.groovy
@@ -39,11 +39,12 @@ def OWNER = null;
final SITTER = "sarah-james";
final SOFT = "soft";
+final DATAFOLDER = getDataFolder();
// Imagery
final DRESSED = "dressed", TITS = "tits", PUSSY = "pussy", LINGERIE = "lingerie", TEASE = "tease", SIT = "sit", BOOTS = "boots", KNEEL = "kneel", STOOD = "stood", MEAN = "mean", CROP = "crop", ASS = "ass", SQUAT = "squat", SSSH = "sssh";
final nDRESSED = "!$DRESSED", nTITS = "!$TITS", nTEASE = "!$TEASE";
final IMAGEDATA = {
- return new File(getDataFolder() + "/images/toy")
+ return new File("$DATAFOLDER/images/toy")
.listFiles()
.findAll { d -> d.isDirectory(); }
.collect { d ->