Difference between revisions of "User:Rasikko"
Jump to navigation
Jump to search
→Moon info
imported>Rasikko m (→Moon info) |
imported>Rasikko |
||
Line 188: | Line 188: | ||
*Conjunction: 8PM - 4AM<br> | *Conjunction: 8PM - 4AM<br> | ||
The final and conjunction(when both moons rise and set together) occur on the same day. In order to find which time frame Secunda is currently under, take the total days passed since Morning Star, 1, 201 and use the following equation: DaysPassed % 6 | The final and conjunction(when both moons rise and set together) occur on the same day. In order to find which time frame Secunda is currently under, take the total days passed since Morning Star, 1, 201 and use the following equation: DaysPassed % 6 | ||
To calculate the current moon phase each day: | |||
<source lang="papyrus"> | |||
Int Function GetCurrentMoonPhase() | |||
Float fGameDaysPassed = Game.GetFormFromFile(0x00000039, "Skyrim.esm") as GlobalVariable | |||
return ((fDaysPassed % 24) / 3) as int | |||
EndFunction | |||
</source> | |||
== Lunar Functions == | == Lunar Functions == |