mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-21 11:07:46 +01:00
37 lines
1.8 KiB
Plaintext
37 lines
1.8 KiB
Plaintext
/mob/living/Check_Shoegrip()
|
|
if(flying)
|
|
return 1
|
|
..()
|
|
|
|
/mob/living/verb/customsay()
|
|
set category = "IC"
|
|
set name = "Customize Speech Verbs"
|
|
set desc = "Customize the text which appears when you type- e.g. 'says', 'asks', 'exclaims'."
|
|
|
|
if(src.client)
|
|
var/sayselect = tgui_alert(src, "Which say-verb do you wish to customize?", "Select Verb", list("Say","Whisper","Ask (?)","Exclaim/Shout/Yell (!)","Cancel"))
|
|
|
|
if(sayselect == "Say")
|
|
custom_say = lowertext(sanitize(input(usr, "This word or phrase will appear instead of 'says': [src] says, \"Hi.\"", "Custom Say", null) as text))
|
|
else if(sayselect == "Whisper")
|
|
custom_whisper = lowertext(sanitize(input(usr, "This word or phrase will appear instead of 'whispers': [src] whispers, \"Hi...\"", "Custom Whisper", null) as text))
|
|
else if(sayselect == "Ask (?)")
|
|
custom_ask = lowertext(sanitize(input(usr, "This word or phrase will appear instead of 'asks': [src] asks, \"Hi?\"", "Custom Ask", null) as text))
|
|
else if(sayselect == "Exclaim/Shout/Yell (!)")
|
|
custom_exclaim = lowertext(sanitize(input(usr, "This word or phrase will appear instead of 'exclaims', 'shouts' or 'yells': [src] exclaims, \"Hi!\"", "Custom Exclaim", null) as text))
|
|
else
|
|
return
|
|
|
|
/mob/living/verb/set_metainfo()
|
|
set name = "Set OOC Metainfo"
|
|
set desc = "Sets OOC notes about yourself or your RP preferences or status."
|
|
set category = "OOC"
|
|
|
|
var/new_metadata = sanitize(input(usr, "Enter any information you'd like others to see, such as Roleplay-preferences. This will not be saved permanently, only for this round.", "Game Preference" , html_decode(ooc_notes)) as message, extra = 0)
|
|
if(new_metadata && CanUseTopic(usr))
|
|
ooc_notes = new_metadata
|
|
to_chat(usr, "OOC notes updated.")
|
|
log_admin("[key_name(usr)] updated their OOC notes mid-round.")
|
|
|
|
|