Module:ErraCalendar: Difference between revisions
Jump to navigation
Jump to search
(Created page with "local p = {} local h = {} MonthTable = {"Een", "Kar", "Mir", "Rort", "Kir", "Sur", "Ith", "Trint", "Sorth"} function p.GetMonthFromInt( frame ) return MonthTable[frame.args[1]] end") |
No edit summary |
||
| Line 2: | Line 2: | ||
local h = {} | local h = {} | ||
MonthTable = {"Een", "Kar", "Mir", "Rort", "Kir", "Sur", "Ith", "Trint", "Sorth"} | MonthTable = {{name="Een", season="Rise"}, {name="Kar", season="Rise"}, {name="Mir", season="Rise"}, {name="Rort", season="Life"}, {name="Kir", season="Life"}, {name="Sur", season="Life"}, {name="Ith", season="Low"}, {name="Trint", season="Low"}, {name="Sorth", season="Low"}} | ||
function | function h.GetMonthFromInt( inInt ) | ||
return MonthTable[ | return MonthTable[inInt] | ||
end | end | ||
Revision as of 23:29, 8 February 2023
Documentation for this module may be created at Module:ErraCalendar/doc
local p = {}
local h = {}
MonthTable = {{name="Een", season="Rise"}, {name="Kar", season="Rise"}, {name="Mir", season="Rise"}, {name="Rort", season="Life"}, {name="Kir", season="Life"}, {name="Sur", season="Life"}, {name="Ith", season="Low"}, {name="Trint", season="Low"}, {name="Sorth", season="Low"}}
function h.GetMonthFromInt( inInt )
return MonthTable[inInt]
end