Difference between revisions of "User:Rasikko"
m
no edit summary
imported>Scrivener07 m |
imported>Scrivener07 m |
||
Line 70: | Line 70: | ||
Float Function GetWeeksPassed(Float afDaysPassed) Global | Float Function GetWeeksPassed(Float afDaysPassed) Global | ||
; Returns the number of weeks passed since game start. | ; Returns the number of weeks passed since game start. | ||
return afDaysPassed / 7 | return afDaysPassed / 7.0 | ||
EndFunction | EndFunction | ||
Line 85: | Line 85: | ||
Float Function GetTotalSecondsPassed(Float afDaysPassed) Global | Float Function GetTotalSecondsPassed(Float afDaysPassed) Global | ||
; Returns the total number of seconds passed since game start. | ; Returns the total number of seconds passed since game start. | ||
return afDaysPassed * 24.0 * 60 * 60.0 | return afDaysPassed * 24.0 * 60.0 * 60.0 | ||
EndFunction | EndFunction | ||
</source> | </source> | ||
--[[User:Rasikko|Rasikko]] ([[User talk:Rasikko|talk]]) 2018-08-31T15:50:59 (EDT) | --[[User:Rasikko|Rasikko]] ([[User talk:Rasikko|talk]]) 2018-08-31T15:50:59 (EDT) |