Skip to content

Commit

Permalink
Merge pull request #7 from iLPdev/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
iLPdev committed Mar 1, 2022
2 parents e3ea906 + 08cdba4 commit 4038f21
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion prs-mapper.lua
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down
5 changes: 3 additions & 2 deletions prs-stats.lua
Original file line number Diff line number Diff line change
@@ -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})

Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 4038f21

Please sign in to comment.