diff --git a/Modules/Icons/Icons.lua b/Modules/Icons/Icons.lua
index b45cc80..b50af06 100644
--- a/Modules/Icons/Icons.lua
+++ b/Modules/Icons/Icons.lua
@@ -21,7 +21,7 @@ local options = {
local foo = 200
local defaults = {
profile = {
- cols = 1,
+ cols = 2,
rows = 1,
yres = 8,
xres = 7,
@@ -139,7 +139,7 @@ local defaults = {
},
[8] = {
["enabled"] = true,
- ["name"] = "Clock",
+ ["name"] = "Health",
["bitmap"] = {
["row1"] = ".....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|}",
["row2"] = ".+++.|.+*+.|.+**.|.+**.|.+**.|.+**.|.+**.|.+**.|.+**.|.+**.|.+**.|.+**.|.***.|",
@@ -150,7 +150,7 @@ local defaults = {
["row7"] = ".....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|",
["row8"] = ".....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|"
},
- ["speed"] = foo,
+ ["speed"] = 500,
["script"] = [[
return Health(unit)
]],
@@ -164,6 +164,33 @@ return 0
["col"] = 0
},
[9] = {
+ ["enabled"] = true,
+ ["name"] = "Power",
+ ["bitmap"] = {
+ ["row1"] = ".....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|}",
+ ["row2"] = ".+++.|.+*+.|.+**.|.+**.|.+**.|.+**.|.+**.|.+**.|.+**.|.+**.|.+**.|.+**.|.***.|",
+ ["row3"] = "+++++|++*++|++**+|++***|++**.|++**.|++***|++***|++***|++***|++***|*****|*****|",
+ ["row4"] = "+++++|++*++|++*++|++*++|++***|++***|++***|++***|++***|++***|*****|*****|*****|",
+ ["row5"] = "+++++|+++++|+++++|+++++|+++++|+++**|+++**|++***|+****|*****|*****|*****|*****|",
+ ["row6"] = ".+++.|.+++.|.+++.|.+++.|.+++.|.+++.|.++*.|.+**.|.***.|.***.|.***.|.***.|.***.|",
+ ["row7"] = ".....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|",
+ ["row8"] = ".....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|"
+ },
+ ["speed"] = 500,
+ ["script"] = [[
+return Power(unit)
+]],
+ ["max"] = [[
+return MaxPower(unit)
+]],
+ ["min"] = [[
+return 0
+]],
+ ["row"] = 0,
+ ["col"] = 1
+ },
+
+ [10] = {
["enabled"] = false,
["name"] = "Clock",
["bitmap"] = {
@@ -180,7 +207,7 @@ return 0
["row"] = 0,
["col"] = 0
},
- [10] = {
+ [11] = {
["name"] = "Wave",
["bitmap"] = {
["row1"] = "..**.|.**..|**...|*....|.....|.....|.....|.....|....*|...**",
@@ -390,7 +417,6 @@ function mod:SetUnit()
for i = 0, mod.core.lcd.LCOLS * mod.core.lcd.YRES do
mod.lines[i] = StarTip.leftLines[i + 1]:GetText()
end
-
self.unitTimer:Start()
end