mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-26 21:49:11 +01:00
remove absorbed form virus lists
-> Absorbed are ignored in greater and lesser virus selection -> Absorb can no longer ba event infected
This commit is contained in:
@@ -44,7 +44,7 @@
|
||||
|
||||
/datum/event2/event/virus/set_up()
|
||||
for(var/mob/living/carbon/human/H in player_list)
|
||||
if(H.client && !H.isSynthetic() && H.stat != DEAD && !player_is_antag(H.mind))
|
||||
if(H.client && !H.isSynthetic() && H.stat != DEAD && !player_is_antag(H.mind) && !H.absorbed)
|
||||
candidates += H
|
||||
candidates = shuffle(candidates)
|
||||
|
||||
|
||||
@@ -178,7 +178,7 @@
|
||||
if("infectee")
|
||||
var/list/candidates = list()
|
||||
for(var/mob/living/carbon/G in living_mob_list)
|
||||
if(G.stat != DEAD && G.species)
|
||||
if(G.stat != DEAD && G.species && !G.absorbed)
|
||||
if(G.species.get_bodytype() in species)
|
||||
candidates["[G.name][G.client ? "" : " (no client)"]"] = G
|
||||
else
|
||||
|
||||
@@ -284,7 +284,7 @@ var/global/list/virusDB = list()
|
||||
var/list/candidates = list() //list of candidate keys
|
||||
|
||||
for(var/mob/living/carbon/human/G in player_list)
|
||||
if(G.client && G.stat != DEAD)
|
||||
if(G.client && G.stat != DEAD && !G.absorbed)
|
||||
candidates += G
|
||||
|
||||
if(!candidates.len) return
|
||||
@@ -297,7 +297,7 @@ var/global/list/virusDB = list()
|
||||
var/list/candidates = list() //list of candidate keys
|
||||
|
||||
for(var/mob/living/carbon/human/G in player_list)
|
||||
if(G.client && G.stat != DEAD)
|
||||
if(G.client && G.stat != DEAD && !G.absorbed)
|
||||
candidates += G
|
||||
if(!candidates.len) return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user