4,599
edits
No edit summary |
No edit summary |
||
Line 10: | Line 10: | ||
end | end | ||
end | end | ||
return p._main(args | return p._main(args) | ||
end | end | ||
function p._main(monthnumber | function p._main(args) | ||
monthnumber = tonumber(args[1]) | |||
setting = args[2] | |||
if setting == "Solandria" then | |||
monthNames = {"Miry", "Ozdary", "Rydust", "Iptust", "Tosey", "Iverly", "Eohe", "Kasgust", "Andust", "Bepry", "Nindust", "Tymust", "Ekage", "Aphly", "Asust", "Syranust"} | |||
elseif setting == "Eberron" then | |||
monthNames = {"Zarantyr", "Olarune", "Therendor", "Eyre", "Dravago", "Nymm", "Lharvion", "Barrakas", "Rhann", "Sypheros", "Aryth", "Vult"} | |||
elseif setting == "Forgotten Realms" then | |||
monthNames = {"Hammer", "Alturiak", "Ches", "Tarsakh", "Mirtul", "Kythorn", "Flamerule", "Eleasis", "Eleint", "Marpenoth", "Uktar", "Nightal"} | |||
elseif setting == "IRL" then | |||
monthNames = {"January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"} | |||
end | |||
month = monthNames[monthnumber] | |||
return month | |||
end | end | ||
return p | return p |