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