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

chem_recipe_debug

Vars

beaker_spawnIf we spawn a beaker at the end of a reaction or not
cached_reactionsList of every reaction in the game kept locally for easy access
failedIf we failed to react this current chem so use a lower temp - all reactions only
force_tempForced values
impure_stringFinal output that highlights all of the reactions with inoptimal purity/voolume at base
indexWhat index in the cached_reactions we're in
majorImpurityThe count of reactions that resolve below 0.9 purity
min_tempIf we force min temp on reaction setup
minorImpurityThe count of reactions that resolve between 1 - 0.9 purity
problem_stringFinal output that highlights all of the reactions with inoptimal purity/voolume at base
process_allIF we're doing EVERY reaction
processingIf the machine is currently processing through the list
reactIf we're reacting
react_timeNumber of delta times taken to react
reaction_namesThe name
reaction_statedIf it's started
should_force_tempIf we're forcing optimal conditions
vol_multiplierMultiplier of product

Procs

AltClickEnable the machine
InitializeCreate reagents datum
attackbyEnable the machine
setup_reactionsResets the index, and creates the cached_reaction list from all possible reactions
ui_statusMoves a type of buffer from the heater to the beaker,

Var Details

beaker_spawn

If we spawn a beaker at the end of a reaction or not

cached_reactions

List of every reaction in the game kept locally for easy access

failed

If we failed to react this current chem so use a lower temp - all reactions only

force_temp

Forced values

impure_string

Final output that highlights all of the reactions with inoptimal purity/voolume at base

index

What index in the cached_reactions we're in

majorImpurity

The count of reactions that resolve below 0.9 purity

min_temp

If we force min temp on reaction setup

minorImpurity

The count of reactions that resolve between 1 - 0.9 purity

problem_string

Final output that highlights all of the reactions with inoptimal purity/voolume at base

process_all

IF we're doing EVERY reaction

processing

If the machine is currently processing through the list

react

If we're reacting

react_time

Number of delta times taken to react

reaction_names

The name

reaction_stated

If it's started

should_force_temp

If we're forcing optimal conditions

vol_multiplier

Multiplier of product

Proc Details

AltClick

Enable the machine

Initialize

Create reagents datum

attackby

Enable the machine

setup_reactions

Resets the index, and creates the cached_reaction list from all possible reactions

ui_status

Moves a type of buffer from the heater to the beaker,