Merge pull request #5607 from Anewbe/pose

Pose now shows up under descriptors
This commit is contained in:
Neerti
2018-09-25 02:35:04 -04:00
committed by GitHub
@@ -421,15 +421,16 @@
msg += "*---------*</span><br>"
msg += applying_pressure
if(pose)
if(!findtext(pose, regex("\[.?!]$"))) // Will be zero if the last character is not a member of [.?!]
pose = addtext(pose,".") //Makes sure all emotes end with a period.
msg += "[T.He] [pose]"
var/show_descs = show_descriptors_to(user)
if(show_descs)
msg += "<span class='notice'>[jointext(show_descs, "<br>")]</span>"
if(pose)
if(!findtext(pose, regex("\[.?!]$"))) // Will be zero if the last character is not a member of [.?!]
pose = addtext(pose,".") //Makes sure all emotes end with a period.
msg += "<br>[T.He] [pose]"
to_chat(user, jointext(msg, null))
//Helper procedure. Called by /mob/living/carbon/human/examine() and /mob/living/carbon/human/Topic() to determine HUD access to security and medical records.