there we go
This commit is contained in:
@@ -17,11 +17,11 @@
|
||||
/datum/objective/crew/quartermaster/petsplosion/check_completion()
|
||||
var/petcount = target_amount
|
||||
for(var/mob/living/simple_animal/pet/P in GLOB.mob_list)
|
||||
if!(P.stat == DEAD)
|
||||
if !(P.stat == DEAD)
|
||||
if(P.z == ZLEVEL_STATION_PRIMARY || SSshuttle.emergency.shuttle_areas[get_area(P)])
|
||||
petcount--
|
||||
for(var/mob/living/carbon/human/H in GLOB.mob_list)
|
||||
if!(H.stat == DEAD)
|
||||
if !(H.stat == DEAD)
|
||||
if(H.z == ZLEVEL_STATION_PRIMARY || SSshuttle.emergency.shuttle_areas[get_area(H)])
|
||||
if(istype(H.wear_neck, /obj/item/clothing/neck/petcollar))
|
||||
petcount--
|
||||
@@ -47,11 +47,11 @@
|
||||
/datum/objective/crew/cargotechnician/petsplosion/check_completion()
|
||||
var/petcount = target_amount
|
||||
for(var/mob/living/simple_animal/pet/P in GLOB.mob_list)
|
||||
if!(P.stat == DEAD)
|
||||
if !(P.stat == DEAD)
|
||||
if(P.z == ZLEVEL_STATION_PRIMARY || SSshuttle.emergency.shuttle_areas[get_area(P)])
|
||||
petcount--
|
||||
for(var/mob/living/carbon/human/H in GLOB.mob_list)
|
||||
if!(H.stat == DEAD)
|
||||
if !(H.stat == DEAD)
|
||||
if(H.z == ZLEVEL_STATION_PRIMARY || SSshuttle.emergency.shuttle_areas[get_area(H)])
|
||||
if(istype(H.wear_neck, /obj/item/clothing/neck/petcollar))
|
||||
petcount--
|
||||
@@ -67,6 +67,6 @@
|
||||
|
||||
/datum/objective/crew/shaftminer/bubblegum/check_completion()
|
||||
for(var/mob/living/simple_animal/hostile/megafauna/bubblegum/B in GLOB.mob_list)
|
||||
if!(B.stat == DEAD)
|
||||
if !(B.stat == DEAD)
|
||||
return FALSE
|
||||
return TRUE
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
/datum/objective/crew/researchdirector/cyborgs/check_completion()
|
||||
var/borgcount = target_amount
|
||||
for(var/mob/living/silicon/robot/R in GLOB.living_mob_list)
|
||||
if(!R.stat == DEAD)
|
||||
if !(R.stat == DEAD)
|
||||
borgcount--
|
||||
if(borgcount <= 0)
|
||||
return TRUE
|
||||
@@ -41,7 +41,7 @@
|
||||
/datum/objective/crew/roboticist/cyborgs/check_completion()
|
||||
var/borgcount = target_amount
|
||||
for(var/mob/living/silicon/robot/R in GLOB.living_mob_list)
|
||||
if(!R.stat == DEAD)
|
||||
if !(R.stat == DEAD)
|
||||
borgcount--
|
||||
if(borgcount <= 0)
|
||||
return TRUE
|
||||
|
||||
Reference in New Issue
Block a user