Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- SYSTEM TABLE
- sys = {
- myVersion = "beta-v012",
- currentVersion = "beta-v012",
- updateAvailable = false,
- profile = "basic", --default profile
- menuClass = "blah",
- race = "whatever",
- conservemana = false,
- dform = false,
- hmprio = "h",
- paused = false,
- softpaused = false,
- opponents = {jester = false, shaman = false, sylvan = false},
- meditating = false,
- waittime = .70,
- dwaittime = .70,
- aeonwaittime = 1.6,
- herbbaltime = 2.2,
- minherbbaltime = 1.3,
- mendingbaltime = 1.5,
- caloricbaltime = 1.8,
- epidermalbaltime = 1.5,
- massbaltime = 1.5,
- treebaltime = 10.2,
- restorationbaltime = 4.5,
- kaitrancewaittime = 6,
- icewall = "ring302481",
- firewall = "ring60901",
- firelash = "ring117175",
- bashing = false,
- vmode = false,
- heartseedmode = false,
- sentinel = false,
- manathreshold = function ()
- return math.ceil(stats.maxm * settings.manaPercent/100)
- end, -- func
- bleedtype = "health",
- lastlimbhit = "left leg",
- parrystrategy = "manual",
- parriedlimb = false,
- toparry = toparry or nil,
- }
- --table of default prompt tags
- sys.prompttags = {
- ["health"] = function() return stats.h end,
- ["percenthealth"] = function() return math.floor(stats.h / stats.maxh * 100) end,
- ["mana"] = function() return stats.m end,
- ["percentmana"] = function() return math.floor(stats.m / stats.maxm * 100) end,
- ["endurance"] = function() return stats.e end,
- ["percentendurance"] = function() return math.floor(stats.e / stats.maxe * 100) end,
- ["willpower"] = function() return stats.w end,
- ["precentwillpower"] = function() return math.floor(stats.w / stats.maxw * 100) end,
- ["bal"] = function() if bals.b then return "X" else return "" end end,
- ["eq"] = function() if bals.e then return "E" else return "" end end,
- ["target"] = function() return target end,
- ["paused"] = function() if sys.paused then return "(PP)" else return "" end end,
- ["softpaused"] = function() if sys.softpaused then return "(sP)" else return "" end end,
- ["phase"] = function() if def.phased or def.blackwind or def.astralform then return "@" else return "" end end,
- ["retardation"] = function() if sys.retard then return "[RET]" else return "" end end,
- ["kai"] = function() if def.kaitrance then return stats.kai else return "" end end,
- ["shin"] = function() if def.shintrance then return stats.shin else return "" end end,
- ["warning"] = function() return prefixWarning end,
- ["mw"] = function() if def.metawake then return "MW" else return "" end end,
- ["breathing"] = function() if def.breathing then return "br" else return "" end end,
- ["xp"] = function() return gmcp.Char.Vitals.nl end,
- ["affs"] = function() return affTags() end,
- ["timestamp"] = function() return getTimestamp(getLineCount()) end,
- ["diffhealth"] = function()
- if stats.h < stats.oh then
- return("<red> (-"..stats.oh - stats.h .. "h, " .. string.format("%.1f", ((stats.oh - stats.h) / stats.maxh) * 100) .. "%)")
- elseif stats.h > stats.oh then
- return("<green> (+"..stats.h - stats.oh .. "h, " .. string.format("%.1f", ((stats.h - stats.oh) / stats.maxh) * 100) .. "%)")
- else
- return ""
- end -- if
- end, --func
- ["diffmana"] = function()
- if stats.m < stats.om then
- return("<slate_blue> (-"..stats.om - stats.m .. "m, " .. string.format("%.1f", ((stats.om - stats.m) / stats.maxm) * 100) .. "%)")
- elseif stats.m > stats.om then
- return("<purple> (+".. stats.m - stats.om .. "m, " .. string.format("%.1f", ((stats.m - stats.om) / stats.maxm) * 100) .. "%)")
- else
- return ""
- end -- if
- end, --func
- ["def"] = function()
- local defstring = ""
- if def.blindness then
- defstring = defstring .. "<SeaGreen>B "
- end
- if def.deafness then
- defstring = defstring .. "<SeaGreen>D "
- end
- if def.cloak then
- defstring = defstring .. "<deep_sky_blue>C "
- end
- if def.kola then
- defstring = defstring .. "<yellow>K "
- end
- if def.density then
- defstring = defstring .. "<maroon>M "
- end -- if
- if def.heldbreath then
- defstring = defstring .. "<light_grey>br"
- end --if
- return defstring
- end, --func
- ["invdef"] = function()
- local invdefstring = ""
- if not def.blindness then
- invdefstring = invdefstring .. "<SeaGreen>B "
- end
- if not def.deafness then
- invdefstring = invdefstring .. "<SeaGreen>D "
- end
- if not def.cloak then
- invdefstring = invdefstring .. "<deep_sky_blue>C "
- end
- if not def.kola then
- invdefstring = invdefstring .. "<yellow>K "
- end
- if not def.density then
- invdefstring = invdefstring .. "<maroon>M "
- end -- if
- if def.heldbreath then
- invdefstring = invdefstring .. "<light_grey>br"
- end --if
- return invdefstring
- end, --func
- }
- --table of default prompt tag colors
- sys.prompttagcolors = {
- ["hcolour"] = function()
- if stats.h >= (stats.maxh * 0.75) then
- return "sea_green"
- elseif stats.h >= (stats.maxh * 0.33) then
- return "yellow"
- else
- return "red"
- end --if
- end, --fn
- ["mcolour"] = function()
- if stats.m >= (stats.maxm * .75) then
- return "sea_green"
- elseif stats.m >= (stats.maxm * .50) then
- return "yellow"
- else
- return "red"
- end -- if
- end, --fn
- ["kaicolour"] = function()
- if stats.kai < 10 then
- --can't even choke
- return "red"
- elseif stats.kai < 21 then
- --can't heal
- return "firebrick"
- elseif stats.kai < 41 then
- --can't cripple
- return "dark_orange"
- elseif stats.kai < 61 then
- --can't enfeeble
- return "yellow"
- elseif stats.kai >= 61 then
- --can do anything
- return "dark_green"
- end
- end, --function
- ["shincolour"] = function()
- if stats.shin < 4 then
- --can't even infuse
- return "red"
- elseif stats.shin < 14 then
- --can't fist
- return "firebrick"
- elseif stats.shin < 29 then
- --can't blizzard
- return "dark_orange"
- elseif stats.shin < 39 then
- --can't annihilate
- return "yellow"
- else
- --can do anything
- return "dark_green"
- end
- end, --function
- }
- --self limb damage table
- sys.selflimbdamage = {
- ["head"] = {damage = 0,},
- ["torso"] = {damage = 0,},
- ["left arm"] = {damage = 0,},
- ["right arm"] = {damage = 0,},
- ["left leg"] = {damage = 0,},
- ["right leg"] = {damage = 0,},
- }
- sys.classtimers = sys.classtimers or {}
- queuestable = {
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement