New respawn system is in yay!

This commit is contained in:
ZomgPonies
2013-11-28 16:44:48 -05:00
parent 80bba4bffa
commit 86ce80d9e1
16 changed files with 7335 additions and 7265 deletions
+1
View File
@@ -82,6 +82,7 @@
C = new_overmind
if(C)
respawnable_list -= C
var/mob/camera/blob/B = new(src.loc)
B.key = C.key
B.blob_core = src
+1 -1
View File
@@ -201,7 +201,7 @@
var/mob/living/carbon/alien/larva/new_xeno = new(vent.loc)
new_xeno.key = candidate
respawnable_list -= candidate
candidates -= candidate
vents -= vent
spawncount--
+1 -1
View File
@@ -153,7 +153,7 @@ Malf AIs/silicons aren't added. Monkeys aren't added. Messes with objective comp
else
var/list/candidates = list() //list of candidate keys
for(var/mob/dead/observer/G in player_list)
for(var/mob/G in respawnable_list)
if(G.client && !G.client.holder && !G.client.is_afk() && G.client.prefs.be_special & BE_NINJA)
if(!(G.mind && G.mind.current && G.mind.current.stat != DEAD))
candidates += G
+2 -3
View File
@@ -91,7 +91,7 @@ Growing it to term with nothing injected will grab a ghost from the observers. *
return
/obj/item/seeds/replicapod/proc/request_player()
for(var/mob/dead/observer/O in player_list)
for(var/mob/O in respawnable_list)
if(O.client)
if(O.client.prefs.be_special & BE_PLANT)
question(O.client)
@@ -110,9 +110,8 @@ Growing it to term with nothing injected will grab a ghost from the observers. *
/obj/item/seeds/replicapod/proc/transfer_personality(var/client/player)
if(!player) return
respawnable_list -= player
found_player = 1
var/mob/living/carbon/monkey/diona/podman = new(parent.loc)
podman.ckey = player.ckey