Yogstation 13 - Modules - TypesVar Details - Proc Details

crystallizer

Vars

base_iconBase icon state for the machine to be used in update_appearance(UPDATE_ICON)
gas_inputVar that controls how much gas gets injected in moles/S
internalInternal Gas mix used for processing the gases that have been put in
max_gas_inputMaximum allowed gas input
progress_barSaves the progress during the processing of the items
quality_lossStores the amount of lost quality
selected_recipeStores the recipe selected by the user in the GUI
total_recipe_molesStores the total amount of moles needed for the current recipe

Procs

check_gas_requirementsChecks if the gases in the input are the ones needed by the recipe
check_temp_requirementsChecks if the reaction temperature is inside the range of temperature + a little deviation
dump_gasesRemoves the gases from the internal gasmix when the recipe is changed
heat_calculationsCalculation for the heat of the various gas mixes and controls the quality of the item
heat_conductionConduction between the internal gasmix and the moderating (cooling/heating) gasmix.
inject_gasesInjects the gases from the input inside the internal gasmix, the amount is dependant on the gas_input var
internal_checkChecks if the gases required are all inside
moles_calculationsCalculate the total moles needed for the recipe

Var Details

base_icon

Base icon state for the machine to be used in update_appearance(UPDATE_ICON)

gas_input

Var that controls how much gas gets injected in moles/S

internal

Internal Gas mix used for processing the gases that have been put in

max_gas_input

Maximum allowed gas input

progress_bar

Saves the progress during the processing of the items

quality_loss

Stores the amount of lost quality

selected_recipe

Stores the recipe selected by the user in the GUI

total_recipe_moles

Stores the total amount of moles needed for the current recipe

Proc Details

check_gas_requirements

Checks if the gases in the input are the ones needed by the recipe

check_temp_requirements

Checks if the reaction temperature is inside the range of temperature + a little deviation

dump_gases

Removes the gases from the internal gasmix when the recipe is changed

heat_calculations

Calculation for the heat of the various gas mixes and controls the quality of the item

heat_conduction

Conduction between the internal gasmix and the moderating (cooling/heating) gasmix.

inject_gases

Injects the gases from the input inside the internal gasmix, the amount is dependant on the gas_input var

internal_check

Checks if the gases required are all inside

moles_calculations

Calculate the total moles needed for the recipe