Round end reports now specify which AI's laws it is listing.

Malf rounds no longer end if a non-malfunctioning AI is killed.

Silicon-based life once again creates robogibs, not sure when that got reverted.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@170 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
n3ophyt3@gmail.com
2010-09-25 03:47:59 +00:00
parent 93fa2f9f06
commit e591ff05d2
3 changed files with 18 additions and 9 deletions
+8 -5
View File
@@ -22,11 +22,14 @@
src.loc.icon_state = "aicard-404"
if(ticker.mode.name == "AI malfunction")
world << "<FONT size = 3><B>Human Victory</B></FONT>"
world << "<B>The AI has been killed!</B> The staff is victorious."
sleep(100)
world << "\blue Rebooting due to end of game"
world.Reboot()
var/datum/game_mode/malfunction/malf = ticker.mode
for(var/datum/mind/AI_mind in malf.malf_ai)
if (src.mind == AI_mind)
world << "<FONT size = 3><B>Human Victory</B></FONT>"
world << "<B>The AI has been killed!</B> The staff is victorious."
sleep(100)
world << "\blue Rebooting due to end of game"
world.Reboot()
var/tod = time2text(world.realtime,"hh:mm:ss") //weasellos time of death patch
mind.store_memory("Time of death: [tod]", 0)
+8 -2
View File
@@ -1871,11 +1871,17 @@
src.mind.transfer_to(newmob)
var/virus = src.virus
gibs(src.loc, virus)
if (istype(src, /mob/living/silicon))
robogibs(src.loc, virus)
else
gibs(src.loc, virus)
else if (!src.client)
var/virus = src.virus
gibs(src.loc, virus)
if (istype(src, /mob/living/silicon))
robogibs(src.loc, virus)
else
gibs(src.loc, virus)
sleep(15)
del(src)