Commit b69a596e authored by Maiyannah Bishop's avatar Maiyannah Bishop

[Lum] Fix dated UI references

parent 9bc771a3
......@@ -23,7 +23,7 @@
</regexCodePropertyList>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>Login Hook</name>
<script>UI.Initialize()
<script>Kauna.Initialize()
send("score")
send("map")</script>
<triggerType>0</triggerType>
......@@ -243,9 +243,9 @@ echo("lsb_credits", labelstyle..Character.Stats.Charisma..[[&lt;span&gt;]])
<name>Map - First Line</name>
<script>Valkryja.Harvesting = Valkryja.Harvesting or {};
Valkryja.Harvesting.Map=true
UI = UI or {}
UI.Map = UI.Map or {}
UI.Map.Contents = ""
Kauna = Kauna or {}
Kauna.Map = Kauna.Map or {}
Kauna.Map.Contents = ""
deleteLine()</script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
......@@ -364,7 +364,7 @@ local conversions = {
line = string.gsub(line, "%[m%]", "&lt;span color=light_grey&gt;ˊ˄ˋ&lt;/span&gt;") -- mountains
line = string.gsub(line, " %| %-", "&lt;reset&gt; | &lt;span color=red&gt;-&lt;/span&gt;") -- down exit
line = string.gsub(line, " %| %+", "&lt;reset&gt; | &lt;span color=red&gt;+&lt;/span&gt;") -- up exit
UI.Map.Contents = UI.Map.Contents .. line.."&lt;br&gt;"
Kauna.Map.Contents = Kauna.Map.Contents .. line.."&lt;br&gt;"
deleteLine()
line = nil
end
......@@ -423,7 +423,7 @@ end
<script>if (Valkryja.Harvesting.Map==true) then
Valkryja.Harvesting.Map=false
deleteLine()
echo("map_console", UI.Map.Contents)
echo("map_console", Kauna.Map.Contents)
-- moveCursorEnd("main")
-- deleteLine()
-- moveCursorEnd("main")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment