-
Notifications
You must be signed in to change notification settings - Fork 0
TimeHandler.js
kyleady edited this page Jan 31, 2018
·
1 revision
Similar to TimeDiff.js, it allows players to ask what date it will be after a certain time period. It also allows players to ask what the current date is.
GMs will have access to those features, but they can further edit the current date by moving the clock forwards or backwards by a certain time period. When this is done, it will trigger INQCalendar.js.on.js such as Aging.js and PassingEvents.js.
!time (Players and GM)
Whispers the current date to the user.
!time (+|-) <time_period> (Players and GM)
Whispers what date it will be to the player, after accounting for the time_period difference.
!time (+|-)= <time_period> (GM only)
This API Command will do the following:
- Adds or subtracts the time_period to the current date.
- Saves the changes.
- Triggers all events in INQCalendar.js.on.js.
- Announces the new current date to everyone.