Files
Polaris/code/modules/mob
baloh.matevz@gmail.com 0d7a944e50 Added a new variable to all mobs: var/original_name
This variable is set ONLY when you spawn. It is also only used for deadchat communication. This variable is not to be changed after mob creation.

the new deadchat format is:
http://www.kamletos.si/deadchat222.png

line before suicide = spoke alive just before I suicided (name = unknown; real_name = "Duncan Sagan"; original_name = "Duncan Sagan")
the 2nd to last line is me speaking from the human body (name = "Unknown"; real_name = "Duncan Sagan"; original_name = "Duncan Sagan")
the last line is me speaking after ghosting (name = "Duncan Sagan"; real_name = "Unknown"; original_name = "Duncan Sagan")

So when alive everything is as before,

When you speak as a dead human you get 
DEAD: Original_name says, "message"

When you speak as a ghost you get
DEAD: Original_name (as real_name) says, "message"
(the as real_name is skipped if the two are the same)

If there is some overlooked situation where new mobs are created and original names don't copy over, then real_name is used in all forms of deadcast communication.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3066 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-09 02:52:04 +00:00
..
2011-10-22 11:32:08 +00:00
2011-05-11 19:31:59 +00:00
2012-02-08 18:47:04 +00:00