Difference between revisions of "User:Rasikko"
Jump to navigation
Jump to search
→Moon info
imported>Rasikko |
imported>Rasikko |
||
Line 193: | Line 193: | ||
<source lang="papyrus"> | <source lang="papyrus"> | ||
Int Function GetCurrentMoonPhase() | Int Function GetCurrentMoonPhase() | ||
Float fGameDaysPassed = Game.GetFormFromFile(0x00000039, "Skyrim.esm") as GlobalVariable | Float fGameDaysPassed = (Game.GetFormFromFile(0x00000039, "Skyrim.esm") as GlobalVariable).GetValue() | ||
return (((228 + fDaysPassed) % 24) / 3) as int | return (((228 + fDaysPassed) % 24) / 3) as int |