/tg/ Station 13 - Modules - TypesVar Details - Proc Details

reaction_chamber

a reaction chamber for plumbing. pretty much everything can react, but this one keeps the reagents seperated and only reacts under your given terms

Vars

acidic_beakerBeaker that holds the acidic buffer. I don't want to deal with snowflaking so it's just a seperate thing. It's a small (50u) beaker
acidic_limitIf above this pH, we start dumping buffer into it
alkaline_beakerbeaker that holds the alkaline buffer.
alkaline_limitIf below this pH, we start dumping buffer into it
emptyingour reagent goal has been reached, so now we lock our inputs and start emptying
heater_coefficientcool/heat power
required_reagentslist of set reagents that the reaction_chamber allows in, and must all be present before mixing is enabled. example: list(/datum/reagent/water = 20, /datum/reagent/fuel/oil = 50)
target_temperaturetowards which temperature do we build (except during draining)?

Procs

DestroyMake sure beakers are deleted when being deconstructed
on_reagent_changeHandles stopping the emptying process when the chamber empties.
on_reagents_delHandles properly detaching signal hooks.

Var Details

acidic_beaker

Beaker that holds the acidic buffer. I don't want to deal with snowflaking so it's just a seperate thing. It's a small (50u) beaker

acidic_limit

If above this pH, we start dumping buffer into it

alkaline_beaker

beaker that holds the alkaline buffer.

alkaline_limit

If below this pH, we start dumping buffer into it

emptying

our reagent goal has been reached, so now we lock our inputs and start emptying

heater_coefficient

cool/heat power

required_reagents

list of set reagents that the reaction_chamber allows in, and must all be present before mixing is enabled. example: list(/datum/reagent/water = 20, /datum/reagent/fuel/oil = 50)

target_temperature

towards which temperature do we build (except during draining)?

Proc Details

Destroy

Make sure beakers are deleted when being deconstructed

on_reagent_change

Handles stopping the emptying process when the chamber empties.

on_reagents_del

Handles properly detaching signal hooks.