chem_master
Vars | |
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_progress | Number of containers printed so far |
printing_speed | The time it takes to print a container |
printing_total | Number of containers to be printed |
selected_container | Selected printable container type |
Procs | |
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 |
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_progress
Number of containers printed so far
printing_speed
The time it takes to print a container
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
- mob/user - the player printing these containers
- item_count - number of containers to print
- item_name - the name for each container printed
- volume_in_each - volume in each container created
load_printable_containers
Return a map of category->list of containers this machine can print
replace_beaker
Insert, remove, replace the existig beaker Arguments
- mob/living/user - the player trying to replace the beaker
- obj/item/reagent_containers/new_beaker - the beaker we are trying to insert, swap with existing or remove if null
transfer_reagent
Transfers a single reagent between buffer & beaker Arguments
- datum/reagents/source - the holder we are transferring from
- datum/reagents/target - the holder we are transferring to
- datum/reagent/path - the reagent typepath we are transfering
- amount - volume to transfer
- do_transfer - transfer the reagents else destroy them