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

chem_master

Vars

beakerInserted reagent container
default_containerContainer used by default to reset to
is_printingWhether the machine is busy with printing containers
is_transferingWhether separated reagents should be moved back to container or destroyed.
printable_containersList of printable container types
printing_amountThe amount of containers that can be printed in 1 cycle
printing_progressNumber of containers printed so far
printing_totalNumber of containers to be printed
selected_containerSelected printable container type

Procs

create_containersCreate N selected containers with reagents from buffer split between them Arguments
load_printable_containersReturn a map of category->list of containers this machine can print
replace_beakerInsert, remove, replace the existig beaker Arguments
transfer_reagentTransfers a single reagent between buffer & beaker Arguments

Var Details

beaker

Inserted reagent container

default_container

Container used by default to reset to

is_printing

Whether the machine is busy with printing containers

is_transfering

Whether separated reagents should be moved back to container or destroyed.

printable_containers

List of printable container types

printing_amount

The amount of containers that can be printed in 1 cycle

printing_progress

Number of containers printed so far

printing_total

Number of containers to be printed

selected_container

Selected printable container type

Proc Details

create_containers

Create N selected containers with reagents from buffer split between them Arguments

load_printable_containers

Return a map of category->list of containers this machine can print

replace_beaker

Insert, remove, replace the existig beaker Arguments

transfer_reagent

Transfers a single reagent between buffer & beaker Arguments