WorldMgr: Difference between revisions
→TimeMgr::calc
imported>Leoetlino m (→TimeMgr::calc) |
imported>Leoetlino |
||
Line 63: | Line 63: | ||
* Add (0.0083333 * elapsed frames) to the Time of Day timer. Effectively, this means that 1 in-game minute = 1 real-life second. | * Add (0.0083333 * elapsed frames) to the Time of Day timer. Effectively, this means that 1 in-game minute = 1 real-life second. | ||
* If the timer is >= 360.0, which means that a day has passed, the game subtracts 360 from the timer and then performs midnight checks. | * If the timer is >= 360.0, which means that a day has passed, the game subtracts 360 from the timer and then performs midnight checks. | ||
* If FindDungeon_Activated is false (if the player hasn't received the ''The Isolated Plateau'' quest) and if the current time is >= 165.0 (11:00), the time is forcefully set to 11:00. Effectively, this means that time will not get past 11:00 until the Great Plateau Tower is activated. | * If FindDungeon_Activated is false (if the player hasn't received the ''The Isolated Plateau'' quest) and if the current time is >= 165.0 (11:00), the time is forcefully set to 11:00. Effectively, this means that time will not get past 11:00 until the Great Plateau Tower is activated and the Old Man cutscene is triggered. | ||
* The Blood Moon timer is updated too. | * The Blood Moon timer is updated too. | ||
|- | |- |