... theres a var for that
This commit is contained in:
@@ -380,14 +380,10 @@
|
||||
explanation_text = "Make sure nobody dies of alchohol poisoning."
|
||||
|
||||
/datum/objective/crew/bartender/responsibility/check_completion()
|
||||
var/boozetypes = typesof(/datum/reagent/consumable/ethanol)
|
||||
for(var/mob/living/carbon/human/H in GLOB.mob_list)
|
||||
if(H.stat == DEAD && H.reagents)
|
||||
if(H.stat == DEAD && H.drunkenness >= 80)
|
||||
if(H.z == ZLEVEL_STATION || SSshuttle.emergency.shuttle_areas[get_area(H)])
|
||||
for(boozetypes/A in H.reagents)
|
||||
if(A)
|
||||
if(A.volume >= 5)
|
||||
return 0
|
||||
return 0
|
||||
return 1
|
||||
|
||||
/datum/objective/crew/assistant
|
||||
|
||||
Reference in New Issue
Block a user