You can now emote using the 'me' command as a simple animal.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2213 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
baloh.matevz
2011-09-17 15:54:34 +00:00
parent 4944729976
commit add4c8c672
2 changed files with 7 additions and 2 deletions

View File

@@ -139,7 +139,7 @@
movement_target.attack_animal(src)
else if(ishuman(movement_target.loc) )
if(prob(20))
emote("stares at the [movement_target] that [movement_target.loc] has with a sad puppy-face")
emote("", 0, "stares at the [movement_target] that [movement_target.loc] has with a sad puppy-face")
/mob/living/simple_animal/New()
..()

View File

@@ -14,8 +14,13 @@
/mob/verb/me_verb(message as text)
set name = "Me"
set category = "IC"
message = trim(copytext(sanitize(message), 1, MAX_MESSAGE_LEN))
usr.emote("me",1,message)
if(ishuman(src))
usr.emote("me",1,message)
else
usr.emote(message)
/mob/proc/say_dead(var/message)
var/name = src.real_name