<!-- Plugin "Aardwolf_Clock" generated by Plugin Wizard -->
<!-- Plugin "Aardwolf_Clock" generated by Plugin Wizard -->
<muclient>
<muclient>
<pluginname="Aardwolf_Clock"author="Crowley, with help from Fiendish"id="28a36788fa20aa062e760ee2"language="Lua"purpose="Displays a realtime clock based on Aardwolf game time"save_state="y"date_written="2018-05-15 11:43:22"requires="4.90"version="2.83">
<pluginname="Aardwolf_Clock"author="Crowley, with help from Fiendish"id="28a36788fa20aa062e760ee2"language="Lua"purpose="Displays a realtime clock based on Aardwolf game time"save_state="y"date_written="2018-05-15 11:43:22"requires="4.90"version="2.84">
</plugin>
</plugin>
@ -45,7 +45,7 @@
clock_seasons = {
clock_seasons = {
Sun = {138, 3, 19, 1, "Light"},
Sun = {138, 3, 19, 1, "Light"},
Scourge = {168, 9, 18, 2, "Disease"},
Scourge = {162, 9, 18, 2, "Disease"},
River = {138, 7, 18, 3, "Water"},
River = {138, 7, 18, 3, "Water"},
Song = {150, 6, 19, 4, "Sonic"},
Song = {150, 6, 19, 4, "Sonic"},
Energy = {148, 6, 20, 5, "Energy"},
Energy = {148, 6, 20, 5, "Energy"},
@ -195,7 +195,7 @@
local tcx = (startx + endx)/2 -- + startx
local tcx = (startx + endx)/2 -- + startx
local tcy = (starty + endy)/2 -- + starty
local tcy = (starty + endy)/2 -- + starty
local left, top, right, bottom = tcx - r, tcy - r, tcx + r, tcy + r
local left, top, right, bottom = tcx - r, tcy - r, tcx + r, tcy + r
return {l = left, t = top, r = right, b = bottom}
return {l = left, t = top, r = right, b = bottom}
end
end
@ -211,7 +211,7 @@
local suns = ((tonumber(clock_seasons[clock_current.Season][3]) - 12) or 12) .. "pm"
local suns = ((tonumber(clock_seasons[clock_current.Season][3]) - 12) or 12) .. "pm"