Difference between revisions of "User:Rasikko"
m
→Calendar Functions
imported>Rasikko |
imported>Rasikko |
||
Line 136: | Line 136: | ||
Skyrim's calendar resets(first day of the year starts on middas again) every 6 years, thus the average length of a skyrim year is exactly 365 days(2,190/6). | Skyrim's calendar resets(first day of the year starts on middas again) every 6 years, thus the average length of a skyrim year is exactly 365 days(2,190/6). | ||
The years can be broken up into indexes with 201 = 1, 202 = 2, 203 = 3, etc, resetting back to 1 on the year 207. To find the index for the year, divide the last two digits of the year by 6 and take only the remainder. I'm working towards a formula for getting the current 'calendar' for any skyrim year. Hoping to eventually solve the problem concerning [[GetCurrentGameTime - Utility]].<br><br> | The years can be broken up into indexes with 201 = 1, 202 = 2, 203 = 3, etc, resetting back to 1 on the year 207. To find the index for the year, divide the last two digits of the year by 6 and take only the remainder. I'm working towards a formula for getting the current 'calendar' for any skyrim year. Hoping to eventually solve the problem concerning [[GetCurrentGameTime - Utility]].<br><br> | ||
Due to the game beginning on the 17th, a full calendar month thus occurs on the 17th of every month until 20th, First Seed 202 because of Sun's Dawn only having 28 days, from there, the 20th of every month will be a full calendar month. | Due to the game beginning on the 17th, a full calendar month thus occurs on the 17th of every month until 20th, First Seed 202 because of Sun's Dawn only having 28 days, from there, the 20th of every month will be a full calendar month.<br><br> | ||
In case I forget: Sun's Dawn and First Seed always begins on the same day of the week, like February and March. | |||
<br/><br /> | <br/><br /> | ||
The following function is the same as using GameMonth.GetValue(), but without using a property or [[GetValue - GlobalVariable]]. The idea behind all the following functions is to serve as an alternative to properties. | The following function is the same as using GameMonth.GetValue(), but without using a property or [[GetValue - GlobalVariable]]. The idea behind all the following functions is to serve as an alternative to properties. |