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

chem_dispenser

Vars

amountThe current amount this machine is dispensing
base_reagent_purityStarting purity of the created reagents
beakerThe actual beaker inserted into this machine
beaker_overlayThe overlay used to display the beaker on the machine
cellThe cell used to dispense reagents
default_dispensable_reagentsThe default list of dispensable_reagents
default_emagged_reagentsThe default list of reagents emagged_reagents
default_upgrade_reagentsThe default list of reagents upgrade_reagents
dispensable_reagentsDispensable_reagents is copypasted in plumbing synthesizers. Please update accordingly. (I didn't make it global because that would limit custom chem dispensers)
dispensed_temperatureThe temperature reagents are dispensed into the beaker
emagged_reagentsThese become available once the machine has been emaged
has_panel_overlayShould we display the open panel overlay when the panel is opened with a screwdriver
nopower_stateIcon to display when the machine is not powered
powerefficiencyEfficiency used when converting cell power to reagents. Units (volume) per joule.
recharge_amountThe rate at which this machine recharges the power cell.
recording_recipeRecords the reagents dispensed by the user if this list is not null
saved_recipesSaves all the recipes recorded by the machine
show_phIf the UI has the pH meter shown
upgrade_reagentsThese become available once the manipulator has been upgraded to tier 4 (femto)
working_stateIcon to display when the machine is powered

Procs

handle_ui_actSame as ui_act() but to be used by subtypes exclusively

Var Details

amount

The current amount this machine is dispensing

base_reagent_purity

Starting purity of the created reagents

beaker

The actual beaker inserted into this machine

beaker_overlay

The overlay used to display the beaker on the machine

cell

The cell used to dispense reagents

default_dispensable_reagents

The default list of dispensable_reagents

default_emagged_reagents

The default list of reagents emagged_reagents

default_upgrade_reagents

The default list of reagents upgrade_reagents

dispensable_reagents

Dispensable_reagents is copypasted in plumbing synthesizers. Please update accordingly. (I didn't make it global because that would limit custom chem dispensers)

dispensed_temperature

The temperature reagents are dispensed into the beaker

emagged_reagents

These become available once the machine has been emaged

has_panel_overlay

Should we display the open panel overlay when the panel is opened with a screwdriver

nopower_state

Icon to display when the machine is not powered

powerefficiency

Efficiency used when converting cell power to reagents. Units (volume) per joule.

recharge_amount

The rate at which this machine recharges the power cell.

recording_recipe

Records the reagents dispensed by the user if this list is not null

saved_recipes

Saves all the recipes recorded by the machine

show_ph

If the UI has the pH meter shown

upgrade_reagents

These become available once the manipulator has been upgraded to tier 4 (femto)

working_state

Icon to display when the machine is powered

Proc Details

handle_ui_act

Same as ui_act() but to be used by subtypes exclusively