Export translations
Jump to navigation
Jump to search
Settings
Group
Amiibo drops
Difficulty scaling
Escape Ganon glitch
Lord of the Mountain
Object respawning
Shield durability
The Great Plateau barrier
Time
WorldMgr
Language
aa - Afar
ab - Abkhazian
abs - Ambonese Malay
ace - Achinese
ady - Adyghe
ady-cyrl - Adyghe (Cyrillic script)
aeb - Tunisian Arabic
aeb-arab - Tunisian Arabic (Arabic script)
aeb-latn - Tunisian Arabic (Latin script)
af - Afrikaans
ak - Akan
aln - Gheg Albanian
alt - Southern Altai
am - Amharic
ami - Amis
an - Aragonese
ang - Old English
anp - Angika
ar - Arabic
arc - Aramaic
arn - Mapuche
arq - Algerian Arabic
ary - Moroccan Arabic
arz - Egyptian Arabic
as - Assamese
ase - American Sign Language
ast - Asturian
atj - Atikamekw
av - Avaric
avk - Kotava
awa - Awadhi
ay - Aymara
az - Azerbaijani
azb - South Azerbaijani
ba - Bashkir
ban - Balinese
ban-bali - ᬩᬲᬩᬮᬶ
bar - Bavarian
bbc - Batak Toba
bbc-latn - Batak Toba (Latin script)
bcc - Southern Balochi
bci - Baoulé
bcl - Central Bikol
be - Belarusian
be-tarask - Belarusian (Taraškievica orthography)
bg - Bulgarian
bgn - Western Balochi
bh - Bhojpuri
bho - Bhojpuri
bi - Bislama
bjn - Banjar
blk - Pa'O
bm - Bambara
bn - Bangla
bo - Tibetan
bpy - Bishnupriya
bqi - Bakhtiari
br - Breton
brh - Brahui
bs - Bosnian
btm - Batak Mandailing
bto - Iriga Bicolano
bug - Buginese
bxr - Russia Buriat
ca - Catalan
cbk-zam - Chavacano
cdo - Min Dong Chinese
ce - Chechen
ceb - Cebuano
ch - Chamorro
cho - Choctaw
chr - Cherokee
chy - Cheyenne
ckb - Central Kurdish
co - Corsican
cps - Capiznon
cr - Cree
crh - Crimean Tatar
crh-cyrl - Crimean Tatar (Cyrillic script)
crh-latn - Crimean Tatar (Latin script)
cs - Czech
csb - Kashubian
cu - Church Slavic
cv - Chuvash
cy - Welsh
da - Danish
dag - Dagbani
de - German
de-at - Austrian German
de-ch - Swiss High German
de-formal - German (formal address)
din - Dinka
diq - Zazaki
dsb - Lower Sorbian
dtp - Central Dusun
dty - Doteli
dv - Divehi
dz - Dzongkha
ee - Ewe
egl - Emilian
el - Greek
eml - Emiliano-Romagnolo
en - English
en-ca - Canadian English
en-gb - British English
eo - Esperanto
es - Spanish
es-419 - Latin American Spanish
es-formal - Spanish (formal address)
et - Estonian
eu - Basque
ext - Extremaduran
fa - Persian
fat - Fanti
ff - Fulah
fi - Finnish
fit - Tornedalen Finnish
fj - Fijian
fo - Faroese
fon - Fon
fr - French
frc - Cajun French
frp - Arpitan
frr - Northern Frisian
fur - Friulian
fy - Western Frisian
ga - Irish
gaa - Ga
gag - Gagauz
gan - Gan Chinese
gan-hans - Gan (Simplified)
gan-hant - Gan (Traditional)
gcr - Guianan Creole
gd - Scottish Gaelic
gl - Galician
gld - Nanai
glk - Gilaki
gn - Guarani
gom - Goan Konkani
gom-deva - Goan Konkani (Devanagari script)
gom-latn - Goan Konkani (Latin script)
gor - Gorontalo
got - Gothic
gpe - Ghanaian Pidgin
grc - Ancient Greek
gsw - Swiss German
gu - Gujarati
guc - Wayuu
gur - Frafra
guw - Gun
gv - Manx
ha - Hausa
hak - Hakka Chinese
haw - Hawaiian
he - Hebrew
hi - Hindi
hif - Fiji Hindi
hif-latn - Fiji Hindi (Latin script)
hil - Hiligaynon
ho - Hiri Motu
hr - Croatian
hrx - Hunsrik
hsb - Upper Sorbian
hsn - Xiang Chinese
ht - Haitian Creole
hu - Hungarian
hu-formal - Hungarian (formal address)
hy - Armenian
hyw - Western Armenian
hz - Herero
ia - Interlingua
id - Indonesian
ie - Interlingue
ig - Igbo
ii - Sichuan Yi
ik - Inupiaq
ike-cans - Eastern Canadian (Aboriginal syllabics)
ike-latn - Eastern Canadian (Latin script)
ilo - Iloko
inh - Ingush
io - Ido
is - Icelandic
it - Italian
iu - Inuktitut
ja - Japanese
jam - Jamaican Creole English
jbo - Lojban
jut - Jutish
jv - Javanese
ka - Georgian
kaa - Kara-Kalpak
kab - Kabyle
kbd - Kabardian
kbd-cyrl - Kabardian (Cyrillic script)
kbp - Kabiye
kcg - Tyap
kea - Kabuverdianu
kg - Kongo
khw - Khowar
ki - Kikuyu
kiu - Kirmanjki
kj - Kuanyama
kjp - Eastern Pwo
kk - Kazakh
kk-arab - Kazakh (Arabic script)
kk-cn - Kazakh (China)
kk-cyrl - Kazakh (Cyrillic script)
kk-kz - Kazakh (Kazakhstan)
kk-latn - Kazakh (Latin script)
kk-tr - Kazakh (Turkey)
kl - Kalaallisut
km - Khmer
kn - Kannada
ko - Korean
ko-kp - Korean (North Korea)
koi - Komi-Permyak
kr - Kanuri
krc - Karachay-Balkar
kri - Krio
krj - Kinaray-a
krl - Karelian
ks - Kashmiri
ks-arab - Kashmiri (Arabic script)
ks-deva - Kashmiri (Devanagari script)
ksh - Colognian
ksw - S'gaw Karen
ku - Kurdish
ku-arab - Kurdish (Arabic script)
ku-latn - Kurdish (Latin script)
kum - Kumyk
kv - Komi
kw - Cornish
ky - Kyrgyz
la - Latin
lad - Ladino
lb - Luxembourgish
lbe - Lak
lez - Lezghian
lfn - Lingua Franca Nova
lg - Ganda
li - Limburgish
lij - Ligurian
liv - Livonian
lki - Laki
lld - Ladin
lmo - Lombard
ln - Lingala
lo - Lao
loz - Lozi
lrc - Northern Luri
lt - Lithuanian
ltg - Latgalian
lus - Mizo
luz - Southern Luri
lv - Latvian
lzh - Literary Chinese
lzz - Laz
mad - Madurese
mai - Maithili
map-bms - Basa Banyumasan
mdf - Moksha
mg - Malagasy
mh - Marshallese
mhr - Eastern Mari
mi - Maori
min - Minangkabau
mk - Macedonian
ml - Malayalam
mn - Mongolian
mni - Manipuri
mnw - Mon
mo - Moldovan
mos - Mossi
mr - Marathi
mrh - Mara
mrj - Western Mari
ms - Malay
ms-arab - Malay (Jawi script)
mt - Maltese
mus - Muscogee
mwl - Mirandese
my - Burmese
myv - Erzya
mzn - Mazanderani
na - Nauru
nah - Nāhuatl
nan - Min Nan Chinese
nap - Neapolitan
nb - Norwegian Bokmål
nds - Low German
nds-nl - Low Saxon
ne - Nepali
new - Newari
ng - Ndonga
nia - Nias
niu - Niuean
nl - Dutch
nl-informal - Dutch (informal address)
nmz - Nawdm
nn - Norwegian Nynorsk
no - Norwegian
nod - Northern Thai
nov - Novial
nqo - N’Ko
nrm - Norman
nso - Northern Sotho
nv - Navajo
ny - Nyanja
nyn - Nyankole
nys - Nyungar
oc - Occitan
ojb - Northwestern Ojibwe
olo - Livvi-Karelian
om - Oromo
or - Odia
os - Ossetic
pa - Punjabi
pag - Pangasinan
pam - Pampanga
pap - Papiamento
pcd - Picard
pcm - Nigerian Pidgin
pdc - Pennsylvania German
pdt - Plautdietsch
pfl - Palatine German
pi - Pali
pih - Norfuk / Pitkern
pl - Polish
pms - Piedmontese
pnb - Western Punjabi
pnt - Pontic
prg - Prussian
ps - Pashto
pt - Portuguese
pt-br - Brazilian Portuguese
pwn - Paiwan
qqq - Message documentation
qu - Quechua
qug - Chimborazo Highland Quichua
rgn - Romagnol
rif - Riffian
rm - Romansh
rmc - Carpathian Romani
rmy - Vlax Romani
rn - Rundi
ro - Romanian
roa-tara - Tarantino
rsk - Pannonian Rusyn
ru - Russian
rue - Rusyn
rup - Aromanian
ruq - Megleno-Romanian
ruq-cyrl - Megleno-Romanian (Cyrillic script)
ruq-latn - Megleno-Romanian (Latin script)
rw - Kinyarwanda
ryu - Okinawan
sa - Sanskrit
sah - Sakha
sat - Santali
sc - Sardinian
scn - Sicilian
sco - Scots
sd - Sindhi
sdc - Sassarese Sardinian
sdh - Southern Kurdish
se - Northern Sami
se-fi - davvisámegiella (Suoma bealde)
se-no - davvisámegiella (Norgga bealde)
se-se - davvisámegiella (Ruoŧa bealde)
sei - Seri
ses - Koyraboro Senni
sg - Sango
sgs - Samogitian
sh - Serbo-Croatian
shi - Tachelhit
shi-latn - Tachelhit (Latin script)
shi-tfng - Tachelhit (Tifinagh script)
shn - Shan
shy - Shawiya
shy-latn - Shawiya (Latin script)
si - Sinhala
simple - Simple English
sjd - Kildin Sami
sje - Pite Sami
sk - Slovak
skr - Saraiki
skr-arab - Saraiki (Arabic script)
sl - Slovenian
sli - Lower Silesian
sm - Samoan
sma - Southern Sami
smn - Inari Sami
sms - Skolt Sami
sn - Shona
so - Somali
sq - Albanian
sr - Serbian
sr-ec - Serbian (Cyrillic script)
sr-el - Serbian (Latin script)
srn - Sranan Tongo
sro - Campidanese Sardinian
ss - Swati
st - Southern Sotho
stq - Saterland Frisian
sty - Siberian Tatar
su - Sundanese
sv - Swedish
sw - Swahili
syl - ꠍꠤꠟꠐꠤ
szl - Silesian
szy - Sakizaya
ta - Tamil
tay - Tayal
tcy - Tulu
tdd - Tai Nuea
te - Telugu
tet - Tetum
tg - Tajik
tg-cyrl - Tajik (Cyrillic script)
tg-latn - Tajik (Latin script)
th - Thai
ti - Tigrinya
tk - Turkmen
tl - Tagalog
tly - Talysh
tly-cyrl - толыши
tn - Tswana
to - Tongan
tpi - Tok Pisin
tr - Turkish
tru - Turoyo
trv - Taroko
ts - Tsonga
tt - Tatar
tt-cyrl - Tatar (Cyrillic script)
tt-latn - Tatar (Latin script)
tum - Tumbuka
tw - Twi
ty - Tahitian
tyv - Tuvinian
tzm - Central Atlas Tamazight
udm - Udmurt
ug - Uyghur
ug-arab - Uyghur (Arabic script)
ug-latn - Uyghur (Latin script)
uk - Ukrainian
ur - Urdu
uz - Uzbek
uz-cyrl - Uzbek (Cyrillic script)
uz-latn - Uzbek (Latin script)
ve - Venda
vec - Venetian
vep - Veps
vi - Vietnamese
vls - West Flemish
vmf - Main-Franconian
vmw - Makhuwa
vo - Volapük
vot - Votic
vro - Võro
wa - Walloon
war - Waray
wls - Wallisian
wo - Wolof
wuu - Wu Chinese
xal - Kalmyk
xh - Xhosa
xmf - Mingrelian
xsy - Saisiyat
yi - Yiddish
yo - Yoruba
yrl - Nheengatu
yue - Cantonese
za - Zhuang
zea - Zeelandic
zgh - Standard Moroccan Tamazight
zh - Chinese
zh-cn - Chinese (China)
zh-hans - Simplified Chinese
zh-hant - Traditional Chinese
zh-hk - Chinese (Hong Kong)
zh-mo - Chinese (Macau)
zh-my - Chinese (Malaysia)
zh-sg - Chinese (Singapore)
zh-tw - Chinese (Taiwan)
zu - Zulu
Format
Export for off-line translation
Export in native format
Export in CSV format
Fetch
<languages/> <!--T:1--> {{Subsystem infobox|name=WorldMgr|init_addr_switch150=00000071010F2920|is_name_official=1|description=Manages world state (time, blood moons, climates, weather, etc.)}} The '''World Manager''' (WorldMgr) is responsible for managing time, blood moons, climates, weather, fog, wind, lighting, procedural generation of clouds, whether the Lord of the Mountain appears, etc. Because of the massive amount of state to handle, functionality is split across the main WorldMgr and 9 sub-managers. == WorldMgr == === Sub-managers === Sub-managers are created in WorldMgr::init (0x71010F43C0) and inserted into a pointer array (@WorldMgr+0x5c0). All names below are unofficial. <!--T:5--> {|class="wikitable" |+ Sub-managers by ID ! ID !! Description |- | 0 || TimeMgr: Handles time, blood moons, Lord of the Mountain. |- | 1 || CloudPrMgr: Handles cloud procedural generation. |- | 2 || ShootingStarMgr: Manages shooting stars and (in 1.3.3+) special shooting stars for the Xenoblade 2 quest. |- | 3 || WeatherMgr: Handles "rain splash" and climate weathers. |- | 4 || TempMgr: Handles world temperature{{check}}. |- | 5 || ? |- | 6 || SkyMgr: Handles sky and fog{{check}}. Holds the configuration for all EnvPalettes, EnvAttributes, WeatherInfluences, Remains palettes, Indoor palettes and dungeon fogs. |- | 7 || DofMgr: Handles depth of field{{check}}. Holds depth of field related parameters. |- | 8 || ? |} === Climate === The main WorldMgr class is responsible for keeping climate related parameters and determining which set of climate settings to use. Strangely enough, WorldMgr uses the position of the Camera actor to figure out which map area the player is in (and thus what climate to use), not the Player actor. == TimeMgr == TimeMgr handles everything to do with time, including Blood Moons and the Lord of the Mountain's apparition. Internally, time of day is stored as a float in the [0.0, 360.0] range. 0.0 = midnight = 360.0; 90 ≈ morning; 180.0 = noon; and so on. === TimeMgr::init === * Time is set to 78.75 (05:15). * Time for TotS environment is set to 78.75 (05:15) as well. * "Bloody Moon end reserve timer" is set to 0. === TimeMgr::reset === This is called whenever a stage is unloaded (essentially every time the loading screen is shown when loading a different kind of stage -- e.g. shrine → overworld, but not shrine → shrine or overworld → overworld). * Blood Moon checks are delayed. * The AnimalMaster_Appearance flag is cleared, meaning the Lord of the Mountain will not appear. === TimeMgr::calc === This is called every frame. * (If field 0x14A is set to 99, WM_BloodyDay is set to true. [[AIDef:Action/SetBloodyMoonEnv]] uses this to force a Blood Moon to be scheduled. This feature appears to be unused.) * If both [[Demo]]103_0 and Demo997_0 have not been played, time of day is reset to 78.75 (05:15). ** Demo103_0 is the "leaving Shrine of Resurrection" cutscene, and Demo997_0 is a cutscene that doesn't exist anymore. * If [[AIDef:Action/AdvanceTime]] or anything else that changes time of day was called, the actual time is updated at this moment. * The game then performs [[#Midnight checks]]. * '''Update time of day''': there are several possible update modes. In most cases, the update mode is 0. {|class="wikitable" ! Mode !! Description |- | 0 || If Demo103_0 or Demo997_0 have been played, and if there is no active event (cutscene): * 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 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. |- | 1, 13, 35 || Freeze time to 04:00 |- | 2, 14 || Freeze time to 05:00 |- | 3, 16, 36 || Freeze time to 07:00 |- | 4, 19, 37 || Freeze time to 10:00 |- | 5, 26, 39 || Freeze time to 17:00 |- | 6, 28, 40 || Freeze time to 19:00 |- | 7, 30, 41 || Freeze time to 21:00 |- | 8, 11 || Freeze time to 02:00 |- | 9, 42 || Freeze time to 00:00 |- | 10 || Freeze time to 01:00 |- | 12 || Freeze time to 03:00 |- | 15 || Freeze time to 06:00 |- | 17 || Freeze time to 08:00 |- | 18 || Freeze time to 09:00 |- | 20 || Freeze time to 11:00 |- | 21 || Freeze time to 12:00 |- | 22, 38 || Freeze time to 13:00 |- | 23 || Freeze time to 14:00 |- | 24 || Freeze time to 15:00 |- | 25 || Freeze time to 16:00 |- | 27 || Freeze time to 18:00 |- | 29 || Freeze time to 20:00 |- | 31 || Freeze time to 22:00 |- | 32 || Freeze time to 23:00 |- | 34 ||* Add (0.0083333 * elapsed frames) to the Time of Day timer. * If the timer is >= 360.0, which means that a day has passed, the game subtracts 360 from the timer. '''Note''': In this state, the blood moon timer is never updated and its value is never checked either. |} * Update the [[#Day/night time flag]], the [[#Time division, IsMorning, IsNoon, etc.]] * If the "Bloody Moon end reserve timer" is non zero, decrement it. If the new value is zero, the WM_BloodyDay flag is cleared. * Update [[#Lord of the Mountain]] flags. === Midnight checks === The following actions happen every time the timer reaches 360.0 (midnight). WM_NumberOfDays is incremented. '''If a Blood Moon is scheduled''' (WM_BloodyDay is true): *If Blood Moons are prohibited (see conditions below), set the Blood Moon timer to 2880.0. *If they are allowed to happen, call [https://eventviewer.zeldamods.org/viewer.html?data=/d/Demo011_0.json¶ms=1 Demo011_0] and set the Blood Moon timer to 0.0. '''Scheduling new Blood Moons''': *If the FirstTouchdown flag is set (i.e. if the player has left the Great Plateau), and if the Blood Moon timer is > 2520.0 (7 in-game days): **WM_BloodyDay is set to true, which means that a Blood Moon is scheduled for the next night. **The Blood Moon timer is reset to 0.0. * Otherwise, the "Bloody end reserve timer" is set to 150. This ensures that the WM_BloodyDay flag is cleared 5 in-game minutes (= 5 seconds in real life) after a Blood Moon occurs. ==== Blood Moon inhibitors ==== If any of the following conditions are true, the Blood Moon cutscene will not be triggered. * Not on MainField (main overworld) * IsInHyruleCastleArea is set * LastBossGanonBeastGenerateFlag is set (fighting Dark Beast Ganon) * BloodyMoonProhibition is set * Wind_Relic_BattleStart is set (Vah Medoh battle) * Electric_Relic_Battle is set (Vah Naboris battle) * Water_Relic_BattleTime is set (Vah Ruta battle) * SkyMgr's field_2B4 is set to 15 and field_2B8 >= 1.0 However, these do not prevent the Blood Moon timer from advancing, or the WM_BloodyDay flag from being set. Note: Vah Rudania is missing from the list. This is normal: blood moons cannot happen during the Vah Rudania battle sequence because the BloodyMoonProhibition flag is not set. === Day/night time flag === From 00:00 to 06:00 (closed interval) and from 18:00 to 00:00 (closed interval), WM_DaytimeFlag is set to false and WM_NighttimeFlag is true. In any other case, WM_DaytimeFlag is set to true and WM_NighttimeFlag to false. === Time division, IsMorning, IsNoon, etc. === <!--T:26--> {|class="wikitable" ! Start !! End !! Division !! Time type (1) !! Time type (2) |- | 04:00 || 05:00 || 0 || MorningA || Morning_A1 |- | 05:00 || 07:00 || 0 || MorningA || Morning_A2 |- | 07:00 || 10:00 || 1 || MorningB || Morning_B |- | 10:00 || 13:00 || 2 || NoonA || Noon_A |- | 13:00 || 17:00 || 3 || NoonB || Noon_B |- | 17:00 || 19:00 || 4 || EveningA || Evening_A |- | 19:00 || 21:00 || 5 || EveningB || Evening_B |- | 21:00 || 00:00 || 6 || NightA || Night_A |- | 00:00 || 04:00 || 7 || NightB || Night_B |} Note: all intervals include the start time and exclude the end time. === 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>0x71010E8200</ref>, where x is equal to 1 if the current time is > 180.0 (noon) and % is the modulo operator. If a moon type was set manually (for instance using [[AIDef:Action/EventSetMoonType]]), that value will be used as the moon type. The moon type is returned by [[AIDef:Query/WhatMoonName]], which some NPC event flows use to check the current moon phase. However, the moon schedule has nothing to do with the blood moon schedule. === Lord of the Mountain === The Lord of the Mountain appears whenever the AnimalMaster_Appearance flag is set. Its value is managed by a simple state machine. Note that whenever a stage is unloaded, the AnimalMaster_Appearance flag is reset to false. ====State 0 - Wait for conditions==== If the following three conditions are true: * The [[#Moon type]] is 5 (waxing crescent) * The AnimalMaster_Existence flag is false (the LotM must not already be spawned) * The current [[map area]] number is not 64 ("HyruleHill", presumably the Satori Mountain area) then the game generates a random "appearance hour" in the [0 .. 22] interval and goes into state 1. ====State 1 - Wait for the appearance time==== If the player is in map area 64, the state is reset back to 0. Otherwise, the game does nothing until the current hour matches the previously generated appearance hour, at which point it sets AnimalMaster_Appearance to true (which allows the LotM to spawn) and goes into state 2. ====State 2 - Satori Mountain is glowing==== After one hour has elapsed, the current day of the week is stored and the state is set to 3. ====State 3 - Prepare to despawn==== After two week day changes, ''or'' [after the in-game day of the week changes and the current hour is >= the generated appearance hour], the LotM will disappear and the state will be set to 4. ====State 4 - Despawned==== The game waits for the moon type to be 5, before going back to state 0. == WeatherMgr == {{expand section}} === Weather types === {|class="wikitable" ! Value !! Name |- | 0 || Bluesky |- | 1 || Cloudy |- | 2 || Rain |- | 3 || HeavyRain |- | 4 || Snow |- | 5 || HeavySnow |- | 6 || ThunderStorm |- | 7 || ThunderRain |- | 8 || BlueskyRain |} <!--T:40--> [[Category:Internals{{#translation:}}]] [[Category:Subsystems (BotW){{#translation:}}]]
Navigation menu
Personal tools
English
Create account
Log in
Namespaces
Translate
English
Views
Language statistics
Message group statistics
Export
More
Search
Navigation
Home
Breath of the Wild
Object map
Event viewer
Decomp source
Pseudo-source
Help us!
Wiki
Help
Recent changes
Random page
Community
Discord
BotW Modding Discord
LAS ZeldaMods wiki
CloudModding wikis
BotW Mods
GameBanana (Wii U)
GameBanana (Switch)
Tools
Special pages
Printable version