Gas The Kayaks Raft War Now - Today at 10:07 PM please add a "cancel" button to the edit flavor text button (#333)

* we did it reddit

* hoopla
This commit is contained in:
TalkingCactus
2017-04-02 19:35:31 -04:00
committed by Poojawa
parent 609307fb26
commit 616ce57f26

View File

@@ -77,7 +77,10 @@ var/global/dlooc_allowed = 1
set desc = "Sets an extended description of your character's features."
set category = "IC"
flavor_text = copytext(sanitize(input(usr, "Please enter your new flavor text.", "Flavor text", null) as text), 1)
var/new_flavor = (input(src, "Enter your new flavor text:", "Flavor text", null) as text|null)
if(new_flavor)
flavor_text = sanitize(new_flavor)
to_chat(src, "Your flavor text has been updated.")
//LOOC toggles
/client/verb/listen_looc()
@@ -114,8 +117,8 @@ var/global/dlooc_allowed = 1
set name="Toggle Dead LOOC"
dlooc_allowed = !( dlooc_allowed )
log_admin("[key_name(usr)] toggled OOC.")
message_admins("[key_name_admin(usr)] toggled Dead OOC.")
log_admin("[key_name(usr)] toggled Dead LOOC.")
message_admins("[key_name_admin(usr)] toggled Dead LOOC.")
feedback_add_details("admin_verb","TDLOOC") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!