diff --git a/prs-mapper.lua b/prs-mapper.lua index 43fc53c..05758e9 100644 --- a/prs-mapper.lua +++ b/prs-mapper.lua @@ -1,4 +1,4 @@ --- Procedural Realms Mapping Script for Mudlet v0.7.0 +-- Procedural Realms Mapping Script for Mudlet v0.8.1 -- by Stack (https://ilpdev.com/prs) based on generic GMCP mapping script -- by Blizzard (https://worldofpa.in) based upon an MSDP script from the Mudlet -- forums in the generic mapper thread with pieces from Jor'Mox's generic mapper @@ -34,6 +34,7 @@ local terrain_types = { ["Lake"] = {id = 27, r = 0, g = 0, b = 255}, ["Fishing Pier"] = {id = 28, r = 0, g = 0, b = 255}, ["Farmland"] = {id = 29, r = 255, g = 255, b = 0}, + ["Deep Water"] = {id = 30, r = 0, g = 0, b = 128}, } -- list of possible movement directions and appropriate coordinate changes diff --git a/prs-stats.lua b/prs-stats.lua index 5350864..1279580 100644 --- a/prs-stats.lua +++ b/prs-stats.lua @@ -1,6 +1,6 @@ PRSstats = PRSstats or {} function PRSstats.stats() - local level = tonumber(gmcp.Char.Vitals.level) + -- local level = tonumber(gmcp.Char.Vitals.level) local SUG = require("PRS.sug") PRSstats.UW = Geyser.UserWindow:new({name = "Stats", titleText ="Vitals", x = "75%", y = "100", docked = true}) @@ -90,7 +90,8 @@ function PRSstats.stats() height = 50, width = "95%", updateTime = 250, - textTemplate = "  Level "..level.." XP: |c / |m", +-- textTemplate = "  Level "..level.." XP: |c / |m", + textTemplate = " XP: |c / |m", currentVariable = "gmcp.Char.Vitals.xp", maxVariable = "gmcp.Char.Vitals.nl", }, PRSstats.UW)