-Fixed AIs being broken forever after being restored by the AI fixer, this was due to them lying down when they die, and being unable to get back up when they spring to life (Essentially, it was really dumb). Also made the console handle moving the AI from the dead_mob_list to the living_mob_list

-Removed the AI_status.dm, as it contained a single AI proc, which is now in ai.dm

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4519 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
sieve32@gmail.com
2012-08-22 21:14:16 +00:00
parent 0df448bd53
commit 71d3c7e353
3 changed files with 25 additions and 20 deletions

View File

@@ -49,6 +49,7 @@
name = real_name
anchored = 1
canmove = 0
density = 1
loc = loc
holo_icon = getHologramIcon(icon('icons/mob/AI.dmi',"holo1"))
@@ -548,6 +549,27 @@
malf_picker.use(src)
/mob/living/silicon/ai/proc/ai_statuschange()
set category = "AI Commands"
set name = "AI status"
if(usr.stat == 2)
usr <<"You cannot change your emotional status because you are dead!"
return
var/list/ai_emotions = list("Very Happy", "Happy", "Neutral", "Unsure", "Confused", "Sad", "BSOD", "Blank", "Problems?", "Awesome", "Facepalm", "Friend Computer")
var/emote = input("Please, select a status!", "AI Status", null, null) in ai_emotions
for (var/obj/machinery/ai_status_display/AISD in world) //change status
spawn( 0 )
AISD.emotion = emote
for (var/obj/machinery/status_display/SD in world) //if Friend Computer, change ALL displays
if(emote=="Friend Computer")
spawn(0)
SD.friendc = 1
else
spawn(0)
SD.friendc = 0
return
//I am the icon meister. Bow fefore me. //>fefore
/mob/living/silicon/ai/proc/ai_hologram_change()
set name = "Change Hologram"