push
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
AddComponent(/datum/component/plumbing/acclimator, bolt)
|
||||
|
||||
/obj/machinery/plumbing/acclimator/process()
|
||||
if(stat & NOPOWER || !enabled || !reagents.total_volume || reagents.chem_temp == target_temperature)
|
||||
if(machine_stat & NOPOWER || !enabled || !reagents.total_volume || reagents.chem_temp == target_temperature)
|
||||
if(acclimate_state != NEUTRAL)
|
||||
acclimate_state = NEUTRAL
|
||||
update_icon()
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
to_chat(user, "<span class='notice'> The [src] will now fill for [wanted_amount]u.</span>")
|
||||
|
||||
/obj/machinery/plumbing/bottler/process()
|
||||
if(stat & NOPOWER)
|
||||
if(machine_stat & NOPOWER)
|
||||
return
|
||||
///see if machine has enough to fill
|
||||
if(reagents.total_volume >= wanted_amount && anchored)
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
AddComponent(/datum/component/plumbing/simple_demand, bolt)
|
||||
|
||||
/obj/machinery/plumbing/disposer/process()
|
||||
if(stat & NOPOWER)
|
||||
if(machine_stat & NOPOWER)
|
||||
return
|
||||
if(reagents.total_volume)
|
||||
if(icon_state != initial(icon_state) + "_working") //threw it here instead of update icon since it only has two states
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
ferment(AM)
|
||||
|
||||
/obj/machinery/plumbing/fermenter/proc/ferment(atom/AM)
|
||||
if(stat & NOPOWER)
|
||||
if(machine_stat & NOPOWER)
|
||||
return
|
||||
if(reagents.holder_full())
|
||||
return
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
grind(AM)
|
||||
|
||||
/obj/machinery/plumbing/grinder_chemical/proc/grind(atom/AM)
|
||||
if(stat & NOPOWER)
|
||||
if(machine_stat & NOPOWER)
|
||||
return
|
||||
if(reagents.holder_full())
|
||||
return
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
|
||||
|
||||
/obj/machinery/plumbing/pill_press/process()
|
||||
if(stat & NOPOWER)
|
||||
if(machine_stat & NOPOWER)
|
||||
return
|
||||
if(reagents.total_volume >= current_volume)
|
||||
if (product == "pill")
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
AddComponent(/datum/component/plumbing/simple_supply, bolt)
|
||||
|
||||
/obj/machinery/plumbing/synthesizer/process()
|
||||
if(stat & NOPOWER || !reagent_id || !amount)
|
||||
if(machine_stat & NOPOWER || !reagent_id || !amount)
|
||||
return
|
||||
if(reagents.total_volume >= amount) //otherwise we get leftovers, and we need this to be precise
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user