Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function layout()
- setBorderLeft(210)
- left_container = Geyser.Container:new({
- name = "left_container", -- give it a unique name here
- x=0, y=0, -- have it start at the top-left corner of mudlet
- width = 200, height="100%", -- with a width of 200, and a height of the full screen, hence 100%
- })
- setBorderRight(210)
- right_container = Geyser.Container:new({
- name = "right_container", -- give it a unique name here
- x=0, y=0, -- have it start at the top-left corner of mudlet
- width = 200, height="100%", -- with a width of 200, and a height of the full screen, hence 100%
- })
- setBorderTop(100)
- top_container = Geyser.Container:new({
- name = "top_container", -- give it a unique name here
- x=0, y=0, -- have it start at the top-left corner of mudlet
- width ="100%", height= 100, -- with a width of 200, and a height of the full screen, hence 100%
- })
- setBorderBottom(100)
- bottom_container = Geyser.Container:new({
- name = "bottom_container", -- give it a unique name here
- x=0, y=0, -- have it start at the top-left corner of mudlet
- width = "100%", height= 100, -- with a width of 200, and a height of the full screen, hence 100%
- })
- Top_Border = Geyser.Label:new({
- name = "Top_Border",
- x = "15%", y = "0%",
- width = "70%", height = "95%",
- message = [[<center><font size=40>SLOTHMUD - A RETURN TO ITS ORIGINS</font></center>]]
- }, top_container)
- Top_Border:setStyleSheet([[
- background-color: black;
- border-width: 2px;
- border-style: solid;
- border-color: grey;
- border-radius: 10px;
- font: bold "Monospace";
- font-size: 14px;
- ]])
- Locations = Geyser.Label:new({
- name = "Locations",
- x = "0%", y = "0%",
- width = "100%", height = "25%"
- }, left_container)
- Locations:setStyleSheet([[
- background-color: black;
- border-width: 2px;
- border-style: solid;
- border-color: grey;
- border-radius: 10px;
- font: bold "Monospace";
- font-size: 1px;
- ]])
- Locations:echo("LOCATION INFORMATION:<br><hr><br>Continent:"..atcp.MSDPCONTINENT.."<hr>Area: "..atcp.MSDPAREA_NAME.."<hr>Room: "..atcp.MSDPROOM_NAME.."<hr>Exits: "..atcp.MSDPROOM_EXITS.."<hr>Terrain: "..atcp.MSDPTERRAIN.."<hr>Room ID: "..atcp.MSDPROOM_VNUM)
- Grouping = Geyser.Label:new({
- name = "Grouping",
- x = "0%", y = "25%",
- width = "100%", height = "35%"
- }, left_container)
- Grouping:setStyleSheet([[
- background-color: black;
- border-width: 2px;
- border-style: solid;
- border-color: grey;
- border-radius: 10px;
- font: bold "Monospace";
- font-size: 4px;
- ]])
- Grouping:echo("GROUP FIGHTING:<br><hr><br>Group Leader: "..atcp.MSDPGROUP_LEADER.."<hr>Tank Name: "..atcp.MSDPTANK_NAME.."<hr>Tank Health: "..atcp.MSDPTANK_HEALTH.."/"..atcp.MSDPTANK_HEALTH_MAX.."<hr>Tank Level: "..atcp.MSDPTANK_LEVEL.."<hr><br>Enemy: "..atcp.MSDPOPPONENT_NAME.."<hr>Level: "..atcp.MSDPOPPONENT_LEVEL.."<hr>Health: "..atcp.MSDPOPPONENT_HEALTH.."/"..atcp.MSDPOPPONENT_HEALTH_MAX)
- --echo("Grouping", "[[<p style="font-family: monospace; font-size:small;">]][[GROUP FIGHTING: <br>==============<br>Group Leader: ]]..atcp.MSDPGROUP_LEADER..[[<br>Tank Name: ]]..atcp.MSDPTANK_NAME..[[<br>Tank Health: ]]..atcp.MSDPTANK_HEALTH..[[/]]..atcp.MSDPTANK_HEALTH_MAX..[[<br>Tank Level: ]]..atcp.MSDPTANK_LEVEL..[[<br><br>Enemy: ]]..atcp.MSDPOPPONENT_NAME..[[<br>Level: ]]..atcp.MSDPOPPONENT_LEVEL..[[<br>Health: ]]..atcp.MSDPOPPONENT_HEALTH..[[/]]..atcp.MSDPOPPONENT_HEALTH_MAX[[</p>]])
- Statistics = Geyser.Label:new({
- name = "Statistics",
- x = "580%", y = "0%",
- width = "100%", height = "100%"
- }, right_container)
- Statistics:setStyleSheet([[
- background-color: black;
- border-width: 2px;
- border-style: solid;
- border-color: grey;
- border-radius: 10px;
- font: bold "Monospace";
- font-size: 6px;
- ]])
- Statistics:echo("STATS INFORMATION:<hr>Name: "..atcp.MSDPCHARACTER_NAME.."<br>Citizen of "..atcp.MSDPCITIZEN.."<br> Your alignment is: "..atcp.MSDPALIGNMENT.."<br>Sex: "..atcp.MSDPSEX.."<hr>Money: "..atcp.MSDPMONEY.."<br>Drachma: "..atcp.MSDPDRACHMA.."<hr>Levels:<br>"..atcp.MSDPCLASS.." "..atcp.MSDPLEVEL.." "..atcp.MSDPCLASS_SEC.." "..atcp.MSDPLEVEL_SEC.." "..atcp.MSDPCLASS_TER.." "..atcp.MSDPLEVEL_TER.." "..atcp.MSDPCLASS_QUA.." "..atcp.MSDPLEVEL_QUA.."<br>"..atcp.MSDPCLASS_QUI.." "..atcp.MSDPLEVEL_QUI.." "..atcp.MSDPCLASS_HEX.." "..atcp.MSDPLEVEL_HEX.." "..atcp.MSDPCLASS_SEP.." "..atcp.MSDPLEVEL_SEP.." "..atcp.MSDPCLASS_OCT.." "..atcp.MSDPLEVEL_OCT.."<br>Avatar: "..atcp.MSDPCLASS_AVA.." "..atcp.MSDPLEVEL_AVA.."<hr> Experience: "..atcp.MSDPEXPERIENCE.."<hr>Health: "..atcp.MSDPHEALTH.." / "..atcp.MSDPHEALTH_MAX.."<hr> Mana: "..atcp.MSDPMANA.." / "..atcp.MSDPMANA_MAX.."<hr> Moves: "..atcp.MSDPMOVEMENT.." / "..atcp.MSDPMOVEMENT_MAX.."<hr> AC: "..atcp.MSDPAC.."<hr> HONOR: "..atcp.MSDPHONOR.."<hr> STR:"..atcp.MSDPSTR.."/"..atcp.MSDPSTR_PERM.." CON:"..atcp.MSDPCON.."/"..atcp.MSDPCON_PERM.."<br> DEX:"..atcp.MSDPDEX.."/"..atcp.MSDPDEX_PERM.." WIS:"..atcp.MSDPWIS.."/"..atcp.MSDPWIS_PERM.."<br>INT:"..atcp.MSDPINT.."/"..atcp.MSDPINT_PERM.." CHAR:"..atcp.MSDPCHARISMA.."/"..atcp.MSDPCHARISMA_CAP.."<hr>Spells and Damage:<br>Weapon Damage: "..atcp.MSDPWEAPON_DAM.."<br>Stab Damage: "..atcp.MSDPSTAB_DAM.."/"..atcp.MSDPSTAB_DAM_CAP.."<br>Hand Damage: "..atcp.MSDPHAND_DAM.."/"..atcp.MSDPHAND_DAM_CAP.."<br> Undead Cont: "..atcp.MSDPUNDEAD_CONT.."/"..atcp.MSDPUNDEAD_CONT_CAP.."<br>Spell Bonus: "..atcp.MSDPSPELL_BONUS.."/"..atcp.MSDPSPELL_BONUS_CAP.."<br>Heal Bonus: "..atcp.MSDPHEAL_BONUS.."/"..atcp.MSDPHEAL_BONUS_CAP.."<hr>Hitroll: "..atcp.MSDPHITROLL.."<hr>Damroll: "..atcp.MSDPDAMROLL.."<hr>Damage Red: "..atcp.MSDPDAM_RED.."/"..atcp.MSDPDAM_RED_CAP)
- end
Advertisement
Add Comment
Please, Sign In to add comment