summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/toy.groovy2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/toy.groovy b/scripts/toy.groovy
index 1f746fb..1b35274 100644
--- a/scripts/toy.groovy
+++ b/scripts/toy.groovy
@@ -799,7 +799,7 @@ def setupPlan = { plan, float startmin, float startmax, float endmin, float endm
def timeWindow = { float min, float max -> (int)((min * HOUR) + getRandom((int)((max - min) * HOUR))) };
// Unplanned or past
if (getTime() > loadInteger("toy.plan.${plan}.${END}")) {
- def day = getDay() + ((getRandom(7) + 1) * DAY);
+ def day = getDay() + ((getRandom(3) + 1) * DAY);
save("toy.plan.${plan}.${FRIEND}", FRIENDS[getRandom(FRIENDS.size())]);
save("toy.plan.${plan}.${START}", day + timeWindow(startmin, startmax));
save("toy.plan.${plan}.${END}", day + timeWindow(endmin, endmax));