mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 00:29:02 +01:00
[MIRROR] Fixes free buffers in reaction chambers (sorry!) (#3382)
* Fixes free buffers in reaction chambers (sorry!) (#56887) * Fixes free buffers in reaction chambers (sorry!) Co-authored-by: Thalpy <33956696+Thalpy@users.noreply.github.com>
This commit is contained in:
@@ -35,9 +35,7 @@
|
||||
|
||||
/obj/machinery/chem_heater/Initialize()
|
||||
. = ..()
|
||||
create_reagents(200, NO_REACT)//Lets save some calculations here
|
||||
reagents.add_reagent(/datum/reagent/reaction_agent/basic_buffer, 20)
|
||||
reagents.add_reagent(/datum/reagent/reaction_agent/acidic_buffer, 20)
|
||||
create_reagents(200, NO_REACT)//Lets save some calculations here
|
||||
//TODO: comsig reaction_start and reaction_end to enable/disable the UI autoupdater - this doesn't work presently as there's a hard divide between instant and processed reactions
|
||||
|
||||
/obj/machinery/chem_heater/Destroy()
|
||||
@@ -478,6 +476,15 @@ To continue set your target temperature to 390K."}
|
||||
/obj/machinery/chem_heater/debug/Initialize()
|
||||
. = ..()
|
||||
reagents.maximum_volume = 2000
|
||||
reagents.add_reagent(/datum/reagent/reaction_agent/basic_buffer, 980)
|
||||
reagents.add_reagent(/datum/reagent/reaction_agent/acidic_buffer, 980)
|
||||
reagents.add_reagent(/datum/reagent/reaction_agent/basic_buffer, 1000)
|
||||
reagents.add_reagent(/datum/reagent/reaction_agent/acidic_buffer, 1000)
|
||||
heater_coefficient = 0.4 //hack way to upgrade
|
||||
|
||||
//map load types
|
||||
/obj/machinery/chem_heater/withbuffer
|
||||
desc = "This Reaction Chamber comes with a bit of buffer to help get you started."
|
||||
|
||||
/obj/machinery/chem_heater/withbuffer/Initialize()
|
||||
. = ..()
|
||||
reagents.add_reagent(/datum/reagent/reaction_agent/basic_buffer, 20)
|
||||
reagents.add_reagent(/datum/reagent/reaction_agent/acidic_buffer, 20)
|
||||
|
||||
Reference in New Issue
Block a user