- Nov 12, 2017
- 116
- 330
Yea was planning on doing that at some point. I'm moving a lot of stuff to custom macros.In looking through the HTML I see several places where the game wants to advance time by more than one hour, so it calls the function timeAddHour() for each hour it wants to advance. If you add a parameter to the function definition you can instead call the function like timeAddHour(4) when you want to advance time by 4 hours when handing out flyers. The function definition could be edited to look like this:
/* Add Hour Function */
window.timeAddHour = function (x) {
if (x === undefined){x=1}
state.variables.time_hour += x;
if(state.variables.time_hour >=24){
window.timeAddDay();
state.variables.time_hour=0;
}
displayTime();
}