Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Weather / TimeDayLookWorld #438

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

savage13
Copy link
Contributor

Add TimeDayLookWorld (Total Minutes playing)

This tracks along with World_CurrentDays World_CurrentHour, and World_CurrentMinute
It is close to 0xe573f564 Playtime (in seconds) but different by -100 to 400 seconds.
The value does not wrap on the Blood Moon

Add World_WeatherForecast

I don't know how you would like to handle the weathers (or if you do at all). I am hopefully giving you enough information below. If any of this is unclear, please let me know.

Weather Data:
IntArray[936 = mClimates * mDays * mTimes]
or
IntArray[mClimates][mDays][mTimes]
assuming incremental mTimes are in neighbors in memory

IntArray[#] holds an index from WeatherTypes identifying the weather.

where

WeatherTypes = [
  'BlueSky', 'Cloudy', 'Rain',
  'HeavyRain', 'Snow', 'HeavySnow',
  'ThunderStorm', 'ThunderRain',  'BlueSkyRain',
  'CaveRain',  'SuperHeavySnow',
]
// WeatherType Invalid = -1 

mClimates.length = 52
mDays = [0, 1, 2] // Length 3
mTimes = [ // Length 6
  t_12AM4AM,  t_4AM8AM,  t_8AM12PM,  t_12PM4PM,  t_4PM,8PM,  t_8PM12AM
]

mClimates = [
   "HyrulePlainClimate", "NorthHyrulePlainClimate", "HebraFrostClimate",
   "TabantaAridClimate", "FrostClimate", "GerudoDesertClimate", 
   "GerudoPlateauClimate", "EldinClimateLv0", "TamourPlainClimate", 
   "ZoraTemperateClimate", "HateruPlainClimate", "FiloneSubtropicalClimate", 
   "SouthHateruHumidTempClimate", "EldinClimateLv1", "EldinClimateLv2", 
   "DarkWoodsClimate", "LostWoodClimate", "GerudoFrostClimate", 
   "KorogForest", "GerudoDesertClimateLv2", "ZonaiSkyClimate", 
   "DefaultUndergroundClimate", "HebraSkyClimate", "GerudoDesertClimate_Abnormal", 
   "Rito_Abnormal", "EldinUnderGroundClimateLv0", "EldinUnderGroundClimateLv1", 
   "EldinUnderGroundClimateLv2", "FrostSkyClimate", "GerudoFrostSkyClimate", 
   "GerudoDesertClimate_AbnormalSmall", "GerudoCanyon", "GerudoCanyon_BufferZone", 
   "BeginningPlateauFrostClimate", "LostWoodClimate_Abnormal", "ZoraTemperateClimate_Abnormal", 
   "KorogForest_Abnormal", "GerudoUndergroundClimateLv1", "HebraUndergroundClimate", 
   "HebraSkyCumulonimbus", "RyutojimaSkyClimate", "RyutojimaSkyClimate_Abnormal", 
   "Ichikara_Climate", "DarkDragonSkyClimate", "HebraSkyCumulonimbus_Inner",
   "GerudoSkyClimate", "TabantaAridClimate_Rain", "ZoraSkyClimate_Abnormal", 
   "BeginningSkyClimate", "BeginningSkyClimate_Demo", "GanondorfUndergroundClimate", 
   "KorogForestSkyClimate"
]

Each of the mClimates identifies (one to many) the climate of map regions (see Field Map Areas for all of the layers)

@marcrobledo
Copy link
Owner

Honestly, at this point I am not sure if I want to do such a big change in the editor 😅

What is mDays? Is it the current day and the following days?

(sorry for the late answer, got swamped with work and other repos!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants