Time: Difference between revisions

48 bytes added ,  4 years ago
add translation tags
(add translation tags)
Line 1: Line 1:
<languages/>
<translate>
This article documents how '''time''' works in ''Breath of the Wild''.
This article documents how '''time''' works in ''Breath of the Wild''.


== Summary ==
== Summary ==
=== About time ===
=== About time ===
Time starts at 05:15 and will flow normally until 11:00 is reached. Activating the Great Plateau Tower sets the time to 11:00, shows the time on the UI and restores the normal flow of time.
Time starts at 05:15 and will flow normally until 11:00 is reached. Activating the Great Plateau Tower sets the time to 11:00, shows the time on the UI and restores the normal flow of time.


Line 11: Line 15:


=== About scheduled blood moons ===
=== About scheduled blood moons ===
Blood Moons occur at midnight if and only if the WM_BloodyDay flag is set. There is no way to force blood moons to be scheduled via gameplay actions.
Blood Moons occur at midnight if and only if the WM_BloodyDay flag is set. There is no way to force blood moons to be scheduled via gameplay actions.


Line 20: Line 25:


== Details ==
== Details ==
Internally, time of day is stored as a float in the [0.0, 360.0] range. 0.0 is 00:00 and 359.x is 23:59.
Internally, time of day is stored as a float in the [0.0, 360.0] range. 0.0 is 00:00 and 359.x is 23:59.


Line 25: Line 31:


=== Every game tick ===
=== Every game tick ===
If the Shrine of Resurrection exit cutscene (Demo103_0) hasn't played, time is reset to 78.75. This means that if you manage to clip out of the Shrine of Resurrection and skip that cutscene, the game clock will be stuck at 05:15.
If the Shrine of Resurrection exit cutscene (Demo103_0) hasn't played, time is reset to 78.75. This means that if you manage to clip out of the Shrine of Resurrection and skip that cutscene, the game clock will be stuck at 05:15.


Line 37: Line 44:


=== Every time the timer reaches 360.0 (midnight) ===
=== Every time the timer reaches 360.0 (midnight) ===
First, WM_NumberOfDays is incremented. This has an effect on the moon cycle.
First, WM_NumberOfDays is incremented. This has an effect on the moon cycle.


Line 53: Line 61:


=== Blood Moon inhibitors ===
=== Blood Moon inhibitors ===
If any of the following conditions are true, the Blood Moon cutscene will not be triggered.
If any of the following conditions are true, the Blood Moon cutscene will not be triggered.


Line 69: Line 78:


=== Special case: passing time at a campfire or sleeping ===
=== Special case: passing time at a campfire or sleeping ===
When you pass time at a campfire or sleep, the time is instantly set to the destination time. The game never speeds up or slows down the flow of time.
When you pass time at a campfire or sleep, the time is instantly set to the destination time. The game never speeds up or slows down the flow of time.


Line 74: Line 84:


=== Moon type ===
=== Moon type ===
The moon type is calculated based on the number of in-game days (WM_NumberOfDays). The exact formula is <code>(numberOfDays + x + 1) % 8</code><ref>{{addr|a=0x71010E8200|ver=nx-1.5.0}}</ref>, where x is equal to 1 if the current time is > 180.0 (noon) and % is the modulo operator.
The moon type is calculated based on the number of in-game days (WM_NumberOfDays). The exact formula is <code>(numberOfDays + x + 1) % 8</code><ref>{{addr|a=0x71010E8200|ver=nx-1.5.0}}</ref>, where x is equal to 1 if the current time is > 180.0 (noon) and % is the modulo operator.


Line 81: Line 92:


==== Moon phases ====
==== Moon phases ====
Here are the possible values and associated phases:
Here are the possible values and associated phases:


Line 95: Line 107:
* For more technical details, read the article on the [[WorldMgr]]. Sections of that article were extracted from it and simplified here.
* For more technical details, read the article on the [[WorldMgr]]. Sections of that article were extracted from it and simplified here.
<references/>
<references/>
</translate>


[[Category:Game mechanics]]
[[Category:Game mechanics]]