Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE MudletPackage>
- <MudletPackage version="1.001">
- <ScriptPackage>
- <ScriptGroup isActive="yes" isFolder="yes">
- <name>Layout</name>
- <packageName></packageName>
- <script>-------------------------------------------------
- -- Folder for layout scripts --
- -- --
- -- Note that you can also use external scripts --
- -------------------------------------------------
- </script>
- <eventHandlerList />
- <Script isActive="yes" isFolder="no">
- <name>Avatar Layout</name>
- <packageName></packageName>
- <script>-------------------------------------------------
- -- Lua Script for Avatar Compatable layout. --
- -- --
- -- Note that you will need to change any alias --
- -- used for runstats and reset --
- -------------------------------------------------
- -- left hand panel - full height
- setBorderLeft(380)
- left_container = Geyser.Container:new({
- name = "left_container",
- x="0", y=0, -- makes the container start 20% of the screen away from the right side
- width = "380", height="100%", -- filling it up until the end
- })
- --top of left panel, 75% of height for group stats
- GroupContainer = Geyser.Container:new({
- name = "GroupContainer",
- x=0, y=0,
- width = "100%", height="75%",
- }, left_container)
- --header for the group panel
- leftPanelHeader = Geyser.Label:new({
- name = "leftPanelHeader",
- x = "1%", y = "0",
- width = "95%", height = "20",
- fgColor = "orange",
- message = [[<center><b>Group</b></center>]]
- }, GroupContainer)
- leftPanelHeader:setStyleSheet([[
- border-width: 1px;
- border-style: solid;
- border-color: yellow;
- background-color: black;
- border-radius: 3px;
- ]])
- --populate an autolayout box inside inside the group panel to fill with containers
- GroupContainerInner = Geyser.VBox:new({
- name = "GroupContainerInner",
- x="2%", y="25",
- width = "96%", height="99%",
- }, GroupContainer)
- --experimental code to populate a bunch of containers inside the groupy panel and add names and guages
- GroupContainer_background = Geyser.Label:new({
- name = "GroupContainer_background",
- x = "1%", y = "0",
- width = "95%%", height = "100%",
- fgColor = "black",
- }, GroupContainer)
- lowerWindow("GroupContainer_background")
- GroupContainer_background:setStyleSheet([[
- border-width: 1px;
- border-style: solid;
- border-color: yellow;
- background-color: black;
- border-radius: 3px;
- ]])
- GroupieTable = {}
- --group is set to max 32 currently. pending better way to handle this
- for i=1,32 do
- GroupieTable[i] = Geyser.Container:new({name="groupy"..tostring(i),height="10",width="90%"},GroupContainerInner)
- end
- --bottom container on left for spell effects
- left_container_bottom = Geyser.Container:new({
- name = "left_container_bottom",
- x=0, y="75%",
- width = "100%", height="25%",
- }, left_container)
- --background for this.
- left_container_background = Geyser.Label:new({
- name = "left_container_background",
- x = "1%", y = "0",
- width = "95%%", height = "100%",
- fgColor = "black",
- }, left_container_bottom)
- lowerWindow("left_container_background")
- left_container_background:setStyleSheet([[
- border-width: 1px;
- border-style: solid;
- border-color: yellow;
- background-color: black;
- border-radius: 3px;
- ]])
- --label for header of con
- leftlowerPanelHeader = Geyser.Label:new({
- name = "leftlowerPanelHeader",
- x = "1%", y = "0",
- width = "95%", height = "20",
- fgColor = "orange",
- message = [[<center><b>Affects</b></center>]]
- }, left_container_bottom)
- leftlowerPanelHeader:setStyleSheet([[
- border-width: 1px;
- border-style: solid;
- border-color: yellow;
- background-color: black;
- border-radius: 3px;
- ]])
- MoveHiddenLabel = Geyser.Label:new({
- name = "MoveHiddenLabel",
- x = "5%", y = "26",
- width = "40%", height = "18",
- fgColor = "white",
- message = [[<left>Move Hidden</left>]]
- }, left_container_bottom)
- MoveHiddenLabel:setColor(0,255,0,150)
- SneakLabel = Geyser.Label:new({
- name = "SneakLabel",
- x = "50%", y = "26",
- width = "40%", height = "18",
- fgColor = "white",
- message = [[<left>Sneak</left>]]
- }, left_container_bottom)
- SneakLabel:setColor(0,255,0,150)
- InvisLabel = Geyser.Label:new({
- name = "InvisLabel",
- x = "5%", y = "48",
- width = "40%", height = "18",
- fgColor = "white",
- message = [[<left>Invis</left>]]
- }, left_container_bottom)
- InvisLabel:setColor(0,255,0,150)
- SancLabel = Geyser.Label:new({
- name = "SancLabel",
- x = "50%", y = "48",
- width = "40%", height = "18",
- fgColor = "white",
- message = [[<left>Sanctuary</left>]]
- }, left_container_bottom)
- SancLabel:setColor(0,255,0,150)
- FrenzyLabel = Geyser.Label:new({
- name = "FrenzyLabel",
- x = "5%", y = "70",
- width = "40%", height = "18",
- fgColor = "white",
- message = [[<left>Frenzy</left>]]
- }, left_container_bottom)
- FrenzyLabel:setColor(0,255,0,150)
- WaterLabel = Geyser.Label:new({
- name = "WaterLabel",
- x = "50%", y = "70",
- width = "40%", height = "18",
- fgColor = "white",
- message = [[<left>WaterBreath</left>]]
- }, left_container_bottom)
- WaterLabel:setColor(0,255,0,150)
- FortLabel = Geyser.Label:new({
- name = "FortLabel",
- x = "5%", y = "92",
- width = "40%", height = "18",
- fgColor = "white",
- message = [[<left>Fortitudes</left>]]
- }, left_container_bottom)
- FortLabel:setColor(0,255,0,150)
- FociLabel = Geyser.Label:new({
- name = "FociLabel",
- x = "50%", y = "92",
- width = "40%", height = "18",
- fgColor = "white",
- message = [[<left>Foci</left>]]
- }, left_container_bottom)
- FociLabel:setColor(0,255,0,150)
- AwenLabel = Geyser.Label:new({
- name = "AwenLabel",
- x = "5%", y = "114",
- width = "40%", height = "18",
- fgColor = "white",
- message = [[<left>Awen</left>]]
- }, left_container_bottom)
- AwenLabel:setColor(0,255,0,150)
- InvincLabel = Geyser.Label:new({
- name = "InvincLabel",
- x = "50%", y = "114",
- width = "40%", height = "18",
- fgColor = "white",
- message = [[<left>Invinc</left>]]
- }, left_container_bottom)
- InvincLabel:setColor(0,255,0,150)
- BarkLabel = Geyser.Label:new({
- name = "BarkLabel",
- x = "5%", y = "136",
- width = "40%", height = "18",
- fgColor = "white",
- message = [[<left>Barkskin</left>]]
- }, left_container_bottom)
- BarkLabel:setColor(0,255,0,150)
- SteelLabel = Geyser.Label:new({
- name = "SteelLabel",
- x = "50%", y = "136",
- width = "40%", height = "18",
- fgColor = "white",
- message = [[<left>Steel Skel</left>]]
- }, left_container_bottom)
- SteelLabel:setColor(0,255,0,150)
- IronLabel = Geyser.Label:new({
- name = "IronLabel",
- x = "5%", y = "158",
- width = "40%", height = "18",
- fgColor = "white",
- message = [[<left>Iron Skin</left>]]
- }, left_container_bottom)
- IronLabel:setColor(0,255,0,150)
- ConcentrateLabel = Geyser.Label:new({
- name = "ConcentrateLabel",
- x = "50%", y = "158",
- width = "40%", height = "18",
- fgColor = "white",
- message = [[<left>Concentrate</left>]]
- }, left_container_bottom)
- ConcentrateLabel:setColor(0,255,0,150)
- ConcentrateLabel:setClickCallback("c_conc")
- function c_conc()
- send("c concent")
- end
- Skill1Label = Geyser.Label:new({
- name = "Skill1Label",
- x = "5%", y = "180",
- width = "40%", height = "18",
- fgColor = "white",
- message = [[<left>Concentrate</left>]]
- }, left_container_bottom)
- Skill1Label:setColor(0,255,0,150)
- Skill1Label:hide()
- Skill2Label = Geyser.Label:new({
- name = "Skill2Label",
- x = "50%", y = "180",
- width = "40%", height = "18",
- fgColor = "white",
- message = [[<left>Concentrate</left>]]
- }, left_container_bottom)
- Skill2Label:setColor(0,255,0,150)
- Skill2Label:hide()
- Skill3Label = Geyser.Label:new({
- name = "Skill3Label",
- x = "5%", y = "202",
- width = "40%", height = "18",
- fgColor = "white",
- message = [[<left>Concentrate</left>]]
- }, left_container_bottom)
- Skill3Label:setColor(0,255,0,150)
- Skill3Label:hide()
- Skill4Label = Geyser.Label:new({
- name = "Skill4Label",
- x = "50%", y = "202",
- width = "40%", height = "18",
- fgColor = "white",
- message = [[<left>Concentrate</left>]]
- }, left_container_bottom)
- Skill4Label:setColor(0,255,0,150)
- Skill4Label:hide()
- --floating mapper
- Map_container = Geyser.Container:new({
- name = "Map_container",
- x="-48%", y=0, -- makes the container start 520% of the screen away from the right side
- width = "20%", height="25%", -- filling it up until the end
- })
- --fill mapper with lbel
- myMap = Geyser.Mapper:new({
- name = "myMap",
- x = 0, y = 0,
- width = "100%",
- height = "100%",
- },Map_container)
- -- right hand panel
- setBorderRight(500)
- -- top border
- right_container = Geyser.Container:new({
- name = "right_container",
- x="-26%", y=0, -- makes the container start 20% of the screen away from the right side
- width = "26%", height="100%", -- filling it up until the end
- })
- RightOutline = Geyser.Label:new({
- name = "LeftBorder",
- x = "0", y = "0",
- width = "100%", height = "100%",
- fgColor = "black",
- message = [[<center></center>]]
- }, right_container) -- this is where we tell it what container to go into
- lowerWindow("RightOutline")
- RightOutline:setStyleSheet([[
- border-width: 1px;
- border-style: solid;
- border-color: yellow;
- background-color: black;
- border-radius: 3px;
- ]])
- ChannelLabel = Geyser.Label:new({
- name = "ChannelLabel",
- x = "0", y = "0",
- width = "100%", height = "2%",
- fgColor = "orange",
- message = [[<center><b>Public Channels</b></center>]]
- }, right_container) -- this is where we tell it what container to go into
- ChannelLabel:setStyleSheet([[
- border-width: 1px;
- border-style: solid;
- border-color: yellow;
- background-color: black;
- border-radius: 3px;
- ]])
- PublicChannels = Geyser.MiniConsole:new({
- name="Channels",
- x="1%", y="2%",
- autoWrap = true,
- color = "black",
- scrollBar = true,
- fontSize = 8,
- width="98%", height="32%",
- }, right_container)
- GroupLabel = Geyser.Label:new({
- name = "GroupLabel",
- x = "0", y = "34%",
- width = "100%", height = "2%",
- fgColor = "orange",
- message = [[<center><b>Group Chat</b></center>]]
- }, right_container) -- this is where we tell it what container to go into
- GroupLabel:setStyleSheet([[
- border-width: 1px;
- border-style: solid;
- border-color: yellow;
- background-color: black;
- border-radius: 3px;
- ]])
- GroupChat = Geyser.MiniConsole:new({
- name="GroupChat",
- x="1%", y="36%",
- autoWrap = true,
- color = "black",
- scrollBar = true,
- fontSize = 8,
- width="98%", height="32%",
- }, right_container)
- BuddyLabel = Geyser.Label:new({
- name = "BuddyLabel",
- x = "0", y = "68%",
- width = "100%", height = "2%",
- fgColor = "orange",
- message = [[<center><b>Buddy Chat</b></center>]]
- }, right_container) -- this is where we tell it what container to go into
- BuddyLabel:setStyleSheet([[
- border-width: 1px;
- border-style: solid;
- border-color: yellow;
- background-color: black;
- border-radius: 3px;
- ]])
- BuddyChat = Geyser.MiniConsole:new({
- name="BuddyChat",
- x="1%", y="70%",
- autoWrap = true,
- color = "black",
- scrollBar = true,
- fontSize = 8,
- width="98%", height="30%",
- }, right_container)
- --BOTTOM STAT PANEL
- setBorderBottom(140)
- Bottom_container = Geyser.Container:new({
- name = "Bottom_container",
- x="365" , y="850", -- makes the container start where left panel ends
- width = "57.5%", height="110", -- filling it up until the end
- })
- FillLabel = Geyser.Label:new({
- name = "FillLabel",
- x = "0", y = "0",
- width = "100%", height = "95%",
- fgColor = "black",
- message = [[<center></center>]]
- }, Bottom_container) -- this is where we tell it what container to go into
- FillLabel:setStyleSheet([[
- border-width: 1px;
- border-style: solid;
- border-color: yellow;
- background-color: black;
- border-radius: 3px;
- ]])
- CharPanel = Geyser.Container:new({
- name="CharPanel",
- x="0", y="0",
- width="100%", height="50",
- }, Bottom_container)
- CharBackGround = Geyser.Label:new({
- name = "CharBackGround",
- x = "0", y = "0",
- width = "100%", height = "100%",
- fgColor = "black",
- message = [[<center></center>]]
- }, CharPanel) -- this is where we tell it what container to go into
- lowerWindow("CharBackGround")
- lowerWindow("FillLabel")
- CharBackGround:setStyleSheet([[
- border-width: 1px;
- border-style: solid;
- border-color: yellow;
- background-color: black;
- border-radius: 3px;
- ]])
- CharNameLabel = Geyser.Label:new({
- name = "CharNameLabel",
- x = "0", y = "0",
- width = "200", height = "50",
- fgColor = "black",
- message = [[<center>char name</center>]]
- }, CharPanel)
- CharNameLabel:setStyleSheet([[
- border-width: 1px;
- border-style: solid;
- border-color: yellow;
- background-color: DarkGoldenrod;
- border-radius: 3px;
- ]])
- CharNameLabel:setFontSize(18)
- CharInfoLabel = Geyser.Label:new({
- name = "CharInfoLabel",
- x = "200", y = "0",
- width = "150", height = "25",
- fgColor = "black",
- message = [[<center>Char info</center>]]
- }, CharPanel)
- CharInfoLabel:setStyleSheet([[
- border-width: 1px;
- border-style: solid;
- border-color: yellow;
- background-color: DarkGoldenrod;
- border-radius: 3px;
- ]])
- CharInfoLabel:setFontSize(10)
- CharLevelLabel = Geyser.Label:new({
- name = "CharLevelLabel",
- x = "200", y = "25",
- width = "150", height = "25",
- fgColor = "black",
- message = [[<center>Char levels</center>]]
- }, CharPanel)
- CharLevelLabel:setStyleSheet([[
- border-width: 1px;
- border-style: solid;
- border-color: yellow;
- background-color: DarkGoldenrod;
- border-radius: 3px;
- ]])
- CharLevelLabel:setFontSize(10)
- CharHitDamLabel = Geyser.Label:new({
- name = "CharHitDamLabel",
- x = "350", y = "0",
- width = "170", height = "25",
- fgColor = "black",
- message = [[<center>Hit/Dam</center>]]
- }, CharPanel)
- CharHitDamLabel:setStyleSheet([[
- border-width: 1px;
- border-style: solid;
- border-color: yellow;
- background-color: DarkGoldenrod;
- border-radius: 3px;
- ]])
- CharHitDamLabel:setFontSize(11)
- CharACLabel = Geyser.Label:new({
- name = "CharACLabel",
- x = "350", y = "25",
- width = "170", height = "25",
- fgColor = "black",
- message = [[<center>Armor Class</center>]]
- }, CharPanel)
- CharACLabel:setStyleSheet([[
- border-width: 1px;
- border-style: solid;
- border-color: yellow;
- background-color: DarkGoldenrod;
- border-radius: 3px;
- ]])
- CharACLabel:setFontSize(11)
- RunXPLabel = Geyser.Label:new({
- name = "RunXPLabel",
- x = "520", y = "0",
- width = "100", height = "25",
- fgColor = "white",
- message = [[<center>Run XP</center>]]
- }, CharPanel)
- RunXPLabel:setStyleSheet([[
- border-width: 1px;
- border-style: solid;
- border-color: yellow;
- background-color: MidnightBlue;
- border-radius: 3px;
- ]])
- RunXPLabel:setFontSize(10)
- RunKillsLabel = Geyser.Label:new({
- name = "RunKillsLabel",
- x = "520", y = "25",
- width = "100", height = "25",
- fgColor = "white",
- message = [[<center>Run Kills</center>]]
- }, CharPanel)
- RunKillsLabel:setStyleSheet([[
- border-width: 1px;
- border-style: solid;
- border-color: yellow;
- background-color: MidnightBlue;
- border-radius: 3px;
- ]])
- RunKillsLabel:setFontSize(10)
- RunLevelsLabel = Geyser.Label:new({
- name = "RunLevelsLabel",
- x = "620", y = "0",
- width = "140", height = "25",
- fgColor = "white",
- message = [[<center>Run levels</center>]]
- }, CharPanel)
- RunLevelsLabel:setStyleSheet([[
- border-width: 1px;
- border-style: solid;
- border-color: yellow;
- background-color: MidnightBlue;
- border-radius: 3px;
- ]])
- RunLevelsLabel:setFontSize(10)
- RunStatsLabel = Geyser.Label:new({
- name = "RunStatsLabel",
- x = "620", y = "25",
- width = "140", height = "25",
- fgColor = "white",
- message = [[<center>Run Stat</center>]]
- }, CharPanel)
- RunStatsLabel:setStyleSheet([[
- border-width: 1px;
- border-style: solid;
- border-color: yellow;
- background-color: MidnightBlue;
- border-radius: 3px;
- ]])
- RunStatsLabel:setFontSize(10)
- RunReportLabel = Geyser.Label:new({
- name = "RunReportLabel",
- x = "760", y = "0",
- width = "50", height = "50",
- fgColor = "white",
- message = [[<center>Report</center>]]
- }, CharPanel)
- RunReportLabel:setStyleSheet([[
- border-width: 1px;
- border-style: solid;
- border-color: yellow;
- background-color: MidnightBlue;
- border-radius: 3px;
- text-orientation: upright;
- ]])
- RunReportLabel:setClickCallback("ReportRun")
- function ReportRun()
- expandAlias("runrep")
- end
- RunResetLabel = Geyser.Label:new({
- name = "RunResetLabel",
- x = "810", y = "0",
- width = "50", height = "50",
- fgColor = "white",
- message = [[<center>Reset</center>]]
- }, CharPanel)
- RunResetLabel:setStyleSheet([[
- border-width: 1px;
- border-style: solid;
- border-color: yellow;
- background-color: MidnightBlue;
- border-radius: 3px;
- text-orientation: upright;
- ]])
- RunResetLabel:setClickCallback("ResetRun")
- function ResetRun()
- expandAlias("runreset")
- end
- AutoKill = false
- AutoKillLabel = Geyser.Label:new({
- name = "AutoKillLabel",
- x = "860", y = "0",
- width = "100", height = "25",
- fgColor = "black",
- message = [[<center>AutoKill</center>]]
- }, CharPanel)
- AutoKillLabel:setColor(255,255,0,150)
- AutoKillLabel:setFontSize(10)
- AutoKillLabel:setClickCallback("ToggleKill")
- function ToggleKill()
- AutoKill = not AutoKill
- if AutoKill then
- AutoKillLabel:setStyleSheet([[
- border-width: 1px;
- border-style: solid;
- border-color: yellow;
- background-color: rgba(255, 0, 0, 0.5);
- border-radius: 3px;
- ]])
- AutoKillLabel:echo("<center>KILLING!!</center>")
- else
- AutoKillLabel:setStyleSheet([[
- border-width: 1px;
- border-style: solid;
- border-color: green;
- background-color: green;
- border-radius: 3px;
- ]])
- AutoKillLabel:echo("<center>Autokill</center>")
- end
- end
- AutoBash = false
- AutoBashLabel = Geyser.Label:new({
- name = "AutoBashLabel",
- x = "860", y = "25",
- width = "100", height = "25",
- fgColor = "black",
- message = [[<center>Auto Bash</center>]]
- }, CharPanel)
- AutoBashLabel:setColor(255,255,0,150)
- AutoBashLabel:setFontSize(10)
- AutoBashLabel:setClickCallback("ToggleBash")
- function ToggleBash()
- AutoBash = not AutoBash
- if AutoBash then
- AutoBashLabel:setStyleSheet([[
- border-width: 1px;
- border-style: solid;
- border-color: yellow;
- background-color: rgba(255, 0, 0, 0.5);
- border-radius: 3px;
- ]])
- AutoBashLabel:echo("<center>BASHING!!</center>")
- else
- AutoBashLabel:setStyleSheet([[
- border-width: 1px;
- border-style: solid;
- border-color: green;
- background-color: green;
- border-radius: 3px;
- ]])
- AutoBashLabel:echo("<center>Auto Bash</center>")
- end
- end
- KillStyle = "kill"
- KillstyleLabel = Geyser.Label:new({
- name = "KillstyleLabel",
- x = "960", y = "0",
- width = "95", height = "25",
- fgColor = "black",
- message = [[<center>Killing</center>]]
- }, CharPanel)
- KillstyleLabel:setStyleSheet([[
- border-width: 1px;
- border-style: solid;
- border-color: yellow;
- background-color: rgba(255, 0, 0, 0.5);
- border-radius: 3px;
- ]])
- KillstyleLabel:setFontSize(10)
- KillstyleLabel:setClickCallback("ToggleStyle")
- function ToggleStyle()
- if (KillStyle == "kill") then
- KillStyle = "surp"
- KillstyleLabel:echo("<center>Surp</center>")
- else
- KillStyle = "kill"
- KillstyleLabel:echo("<center>Killing</center>")
- end
- end
- --bars
- MainHPBar = Geyser.Gauge:new({
- name="MainHPBar",
- x="20", y="55",
- width="300", height="20",
- },Bottom_container)
- MainHPBar.front:setStyleSheet([[background-color: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #f04141, stop: 0.1 #ef2929, stop: 0.49 #cc0000, stop: 0.5 #a40000, stop: 1 #cc0000);
- border-top: 1px black solid;
- border-left: 1px black solid;
- border-bottom: 1px black solid;
- border-radius: 7;
- padding: 3px;]])
- MainHPBar.back:setStyleSheet([[background-color: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #bd3333, stop: 0.1 #bd2020, stop: 0.49 #990000, stop: 0.5 #700000, stop: 1 #990000);
- border-width: 1px;
- border-color: black;
- border-style: solid;
- border-radius: 7;
- padding: 3px;]])
- MainMPBar = Geyser.Gauge:new({
- name="MainMPBar",
- x="20", y="80",
- width="300", height="20",
- },Bottom_container)
- MainMPBar.front:setStyleSheet([[background-color: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #000099, stop: 0.1 #000099, stop: 0.49 #3399ff, stop: 0.5 #0000ff, stop: 1 #0033cc);
- border-top: 1px black solid;
- border-left: 1px black solid;
- border-bottom: 1px black solid;
- border-radius: 7;
- padding: 3px;]])
- MainMPBar.back:setStyleSheet([[background-color: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #0099cc, stop: 1 #0099ff);
- border-width: 1px;
- border-color: black;
- border-style: solid;
- border-radius: 7;
- padding: 3px;]])
- movebar = Geyser.Gauge:new({
- name="movebar",
- x="340", y="55",
- width="300", height="20",
- },Bottom_container)
- movebar.front:setStyleSheet([[background-color: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #98f041, stop: 0.1 #8cf029, stop: 0.49 #66cc00, stop: 0.5 #52a300, stop: 1 #66cc00);
- border-top: 1px black solid;
- border-left: 1px black solid;
- border-bottom: 1px black solid;
- border-radius: 7;
- padding: 3px;
- ]])
- movebar.back:setStyleSheet([[background-color: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #78bd33, stop: 0.1 #6ebd20, stop: 0.49 #4c9900, stop: 0.5 #387000, stop: 1 #4c9900);
- border-width: 1px;
- border-color: black;
- border-style: solid;
- border-radius: 7;
- padding: 3px;
- ]])
- tnlbar = Geyser.Gauge:new({
- name="tnlbar",
- x="340", y="80",
- width="300", height="20",
- },Bottom_container)
- tnlbar.front:setStyleSheet([[background-color: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #ffff66, stop: 0.3 #ffff00, stop: 1 #ff9900);
- border-top: 1px black solid;
- border-left: 1px black solid;
- border-bottom: 1px black solid;
- border-radius: 7;
- padding: 3px;
- ]])
- tnlbar.back:setStyleSheet([[background-color: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #ff9900, stop: 1 #990000);
- border-width: 1px;
- border-color: black;
- border-style: solid;
- border-radius: 7;
- padding: 3px;
- ]])
- monitorbar = Geyser.Gauge:new({
- name="monitorbar",
- x="660", y="55",
- width="300", height="20",
- },Bottom_container)
- monitorbar.front:setStyleSheet([[background-color: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #ff00ff, stop: 0.3 #ff33cc, stop: 1 #cc0066);
- border-top: 1px black solid;
- border-left: 1px black solid;
- border-bottom: 1px black solid;
- border-radius: 7;
- padding: 3px;
- ]])
- monitorbar.back:setStyleSheet([[background-color: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #ffffff, stop: 1 #ffccff);
- border-width: 1px;
- border-color: black;
- border-style: solid;
- border-radius: 7;
- padding: 3px;
- ]])
- Enemybar = Geyser.Gauge:new({
- name="Enemybar",
- x="660", y="80",
- width="300", height="20",
- },Bottom_container)
- Enemybar.front:setStyleSheet([[background-color: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #f04141, stop: 0.1 #ef2929, stop: 0.49 #cc0000, stop: 0.5 #a40000, stop: 1 #cc0000);
- border-top: 1px black solid;
- border-left: 1px black solid;
- border-bottom: 1px black solid;
- border-radius: 7;
- padding: 3px;]])
- Enemybar.back:setStyleSheet([[background-color: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #bd3333, stop: 0.1 #bd2020, stop: 0.49 #990000, stop: 0.5 #700000, stop: 1 #990000);
- border-width: 1px;
- border-color: black;
- border-style: solid;
- border-radius: 7;
- padding: 3px;]])
- </script>
- <eventHandlerList />
- </Script>
- </ScriptGroup>
- </ScriptPackage>
- </MudletPackage>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement