┌―――――――――――――――――――――――――┐
| Time of day and in game days spent
└―――――――――――――――――――――――――┘
So there are 2 values that deal with days spend in the game
The days variable and the daycount, daycount seems to be what really matters in the code.
JavaScript:
days // starts at 1 and tracks the amount days the player spent ingame.
daycount // starts at 82, it's use is not clear.
Time behaves in 6 minutes intervals like this:
8:00 = 80
8:30 = 85
11:00 = 110
11:30 = 115
23:00 = 230
In order for the changes to take effect you need to switch screens in an menu, or travel to an other location.
JavaScript:
// sets the ingame day spent to 100, the effect this has on daycount is unknown
SugarCube.State.active.variables.days = 100
// Set time to 11:00
SugarCube.State.active.variables.gameDate.setHours(11)
SugarCube.State.active.variables.gameDate.setMinutes(00)
// Set time to 15:30
SugarCube.State.active.variables.gameDate.setHours(15)
SugarCube.State.active.variables.gameDate.setMinutes(30)
Force the use of an clock display, use the menu to do this please.
JavaScript:
// Use proper time format like 15:00
SugarCube.State.active.variables.clock = 3
// Use improper time format like 3 pm
SugarCube.State.active.variables.clock = 2