Add missing spacetick trigger, immnet trigger, fix wimpy bar

This commit is contained in:
Matt Wagner 2020-12-09 08:35:39 -08:00
parent 85c052b6de
commit 2e9f5ece77
4 changed files with 10 additions and 2 deletions

2
mfile
View File

@ -1,4 +1,4 @@
{ {
"package": "lotj-ui", "package": "lotj-ui",
"version": "1.0" "version": "1.1"
} }

View File

@ -83,7 +83,7 @@ function lotj.infoPanel.createBasicStats(container)
local wimpyBar = Geyser.Label:new({ local wimpyBar = Geyser.Label:new({
x=0, y=0, x=0, y=0,
width=2, height="100%", width=2, height="100%",
}, healthGauge.front) }, healthGauge.back)
wimpyBar:setStyleSheet([[ wimpyBar:setStyleSheet([[
background-color: yellow; background-color: yellow;
]]) ]])

View File

@ -55,6 +55,10 @@
{ {
"pattern": "^\\( IMM \\| CHAT \\)\\[.*\\]: '.*'$", "pattern": "^\\( IMM \\| CHAT \\)\\[.*\\]: '.*'$",
"type": "regex" "type": "regex"
},
{
"pattern": "^ImmNet\\[.*\\]: .*$",
"type": "regex"
} }
], ],
"script": "lotj.chat.routeMessage(\"imm\")" "script": "lotj.chat.routeMessage(\"imm\")"

View File

@ -9,6 +9,10 @@
{ {
"pattern": "^Speed: [0-9]+ Fuel Level: [0-9]+% Coords: [-0-9]+ [-0-9]+ [-0-9]+$", "pattern": "^Speed: [0-9]+ Fuel Level: [0-9]+% Coords: [-0-9]+ [-0-9]+ [-0-9]+$",
"type": "regex" "type": "regex"
},
{
"pattern": "^Target: .* [-0-9]+ [-0-9]+ [-0-9]+ \\(Prox: [0-9]+\\)",
"type": "regex"
} }
], ],
"script": "lotj.infoPanel.markSpaceTick()" "script": "lotj.infoPanel.markSpaceTick()"