Content deleted Content added
add tropical cyclone status icons |
adjust aliases |
||
Line 40:
name = "Tropical depression",
sortkey = 90,
icon = "[[File:
},
disturbance = {
Line 68:
color = "80ccff",
name = "Subtropical disturbance",
sortkey = 55,
icon = "[[File:Disturbance icon.png|25px]]"
},
extratropical = {
Line 302 ⟶ 303:
color = "00faf4",
name = "Moderate tropical storm",
sortkey = 30004,
icon = "[[File:Moderate tropical storm icon.png|18px]]"
},
zodw = {
Line 368 ⟶ 370:
cats["ss"] = cats["subtropical"]
cats["et"] = cats["extratropical"]
cats["ex"] = cats["extratropical"]
cats["md"] = cats["monsoondepression"]
cats["pt"] = cats["potential"]
cats["potentialtropicalcyclone"] = cats["potential"]
cats["potentialtropicalcyclone"] = cats["potential"]
cats["post"] = cats["
cats["post-tropical"] = cats["posttropical"]
cats["remnantlow"] = cats["remnant"]
cats["rl"] = cats["remnant"]
Line 431 ⟶ 435:
-- viable category.
local icons = {
-- Ambiguious 5-tier scale
["1"] = cats["cat1"].icon,
["2"] = cats["cat2"].icon,
["3"] = cats["cat3"].icon,
["4"] = cats["cat4"].icon,
["5"] = cats["cat5"].icon,
-- FMS scale
["a5"] = cats["aus5"].icon,
["a4"] = cats["aus4"].icon,
["a3"] = cats["aus3"].icon,
["a2"] = cats["aus2"].icon,
["a1"] = cats["aus1"].icon,
-- Misc
["extratropical2"] = "[[File:Extratropical storm icon.png|18px]]",
["typhoon"] = "[[File:Typhoon icon.png|18px]]",
Line 440 ⟶ 457:
icons["ex2"] = icons["extratropical2"]
icons["ty"] = icons["typhoon"]
icons["
▲-- icons["tc"] = icons["swiosts"]
function p.color(frame)
Line 502 ⟶ 518:
or defaultCategory
return icons[
cats[icon].icon or cats["tropicalcyclone"].icon
) or cats[defaultCategory].icon)
end
|