Tweaked the observe verb.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@177 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
n3ophyt3@gmail.com
2010-09-26 06:40:40 +00:00
parent 7181e4f01b
commit ce72f54d96
2 changed files with 17 additions and 1 deletions
+6 -1
View File
@@ -584,7 +584,12 @@
var/list/mob_list = list()
for(var/mob/living/silicon/ai/M in world)
mob_list.Add(M)
if(ticker)
if(ticker.mode == "AI malfunction")
var/datum/game_mode/malfunction/malf = ticker.mode
for (var/datum/mind/B in malf.malf_ai)
if (M.mind == B)
else mob_list.Add(M)
for(var/mob/living/silicon/robot/M in world)
mob_list.Add(M)
for(var/mob/living/carbon/human/M in world)
+11
View File
@@ -1324,6 +1324,17 @@
namecounts[name] = 1
creatures[name] = B
for (var/mob/living/silicon/decoy/D in world)
var/name = "[D.name]"
if (name in names)
namecounts[name]++
name = "[name] ([namecounts[name]])"
else
names.Add(name)
namecounts[name] = 1
creatures[name] = D
//THIS IS HOW YOU ADD OBJECTS TO BE OBSERVED