mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 19:44:09 +01:00
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:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user