Arousal menu option & Preference subcategory

This commit is contained in:
Alphas00
2025-01-28 08:38:27 +01:00
parent 0a0fa49403
commit 2a3c07db2e
2 changed files with 7 additions and 1 deletions

View File

@@ -17,7 +17,7 @@ GLOBAL_LIST_EMPTY(see_toggle_smallsprite)
//When switched off, remove from the list and remove smallsprites for the user's hud.
/client/verb/toggle_others_giant()
set name = "Toggle Others' Giant Sprite"
set category = "Preferences"
set category = "Preferences.GS13"
set desc = "Change display settings to and from displaying others' giant sprites."
if(!mob.see_resized_others)
mob.see_resized_others = !mob.see_resized_others

View File

@@ -77,6 +77,7 @@
dat += {"<HR>"}//Newline for the objects
//bottom options
dat += "<a href='byond://?src=[REF(src)];toggle_giant=1'>Toggle others' giant sprites</A>" //GS13 Edit
dat += "<a href='byond://?src=[REF(src)];refresh=1'>Refresh</A>"
dat += "<a href='byond://?src=[REF(src)];omenu=1'>Old Menu</A>"
dat += "<a href='byond://?src=[REF(src)];underwear=1'>Toggle Undergarments </A>"
@@ -281,6 +282,11 @@
H.underwear_toggle()
return
if(href_list["toggle_giant"])
if(H && H.client)
H.client.toggle_others_giant()
return
src.ui_interact(usr)