-
Notifications
You must be signed in to change notification settings - Fork 1
worldtime
Daedalus1400 edited this page May 17, 2017
·
3 revisions
The worldtime condition checks how many in game days have passed since world start.
Added in release version 0.2.0
Must be "worldtime".
Accepts a string. Valid values are "<", and ">".
Accepts a number. Number of days since world start.
The following example checks whether more than 2 in game days (~40 minutes) have passed in the world:
{"type": "worldtime", "comparison": ">", "value": 2}
This is will evaluate as:
world.getTotalWorldTime() > (2 * 24000);