Merge pull request #8553 from Poojawa/ghost-erp

Clarifies a few things about subtler and how it should be used
This commit is contained in:
kevinz000
2019-06-08 01:24:36 -07:00
committed by GitHub
2 changed files with 6 additions and 5 deletions
+5 -5
View File
@@ -7,9 +7,9 @@
/mob/proc/update_flavor_text()
set src in usr
if(usr != src)
usr << "No."
to_chat(usr, "No.")
var/msg = stripped_multiline_input(usr, "Set the flavor text in your 'examine' verb. This can also be used for OOC notes and preferences!", "Flavor Text", html_decode(flavor_text), MAX_MESSAGE_LEN*2, TRUE)
if(!isnull(msg))
msg = copytext(msg, 1, MAX_MESSAGE_LEN)
msg = html_encode(msg)
@@ -18,8 +18,8 @@
/mob/proc/warn_flavor_changed()
if(flavor_text && flavor_text != "") // don't spam people that don't use it!
src << "<h2 class='alert'>OOC Warning:</h2>"
src << "<span class='alert'>Your flavor text is likely out of date! <a href='?src=[REF(src)];flavor_change=1'>Change</a></span>"
to_chat(src, "<h2 class='alert'>OOC Warning:</h2>")
to_chat(src, "<span class='alert'>Your flavor text is likely out of date! <a href='?src=[REF(src)];flavor_change=1'>Change</a></span>")
/mob/proc/print_flavor_text()
if(flavor_text && flavor_text != "")
@@ -195,7 +195,7 @@ proc/get_top_level_mob(var/mob/S)
///////////////// VERB CODE 2
/mob/living/verb/subtler()
set name = "Subtler"
set name = "Subtler Anti-Ghost"
set category = "IC"
if(GLOB.say_disabled) //This is here to try to identify lag problems
to_chat(usr, "<span class='danger'>Speech is currently admin-disabled.</span>")