chem_recipe_debug
Vars | |
all_reaction_list | Cached copy all reactions mapped with their name |
---|---|
beaker | The beaker inside this machine, if null will create a new one |
current_reaction_index | The index in reactions_to_test list which points to the current reaction under test |
current_reaction_mode | Decides which reaction to play in the reactions_to_test list see Play defines |
edit_reaction | The current reaction we are editing |
edit_var | The current var of the reaction we are editing |
forced_ph | The ph to be imposed on the reaction |
forced_purity | The purity of all reagents to be imposed on the reaction |
forced_temp | Temperature to be imposed on the reaction |
reactions_to_test | The list of reactions to test |
required_container | The default reagent container required for the selected test reaction if any |
target_reagents | The target reagents to we are working with. can vary if an reaction requires a specific container |
temp_mode | The mode for setting reaction temps. see temp defines |
use_forced_ph | if TRUE will use forced_ph else don't alter the ph of the reaction |
use_forced_purity | If TRUE will use forced_purity else don't alter the purity of the reaction |
volume_multiplier | The multiplier to be applied on the selected reaction required reagents to start the reaction |
Procs | |
adjust_environment | Adjusts the temperature, ph & purity of the holder Arguments |
decode_target_temperature | Retrives the target temperature to be imposed on the test reaction based on temp_mode |
decode_var | Decodes the ui reaction var into its original name Arguments |
extract_reaction_name | Extracts a human readable name for this chemical reaction Arguments |
Var Details
all_reaction_list
Cached copy all reactions mapped with their name
beaker
The beaker inside this machine, if null will create a new one
current_reaction_index
The index in reactions_to_test list which points to the current reaction under test
current_reaction_mode
Decides which reaction to play in the reactions_to_test list see Play defines
edit_reaction
The current reaction we are editing
edit_var
The current var of the reaction we are editing
forced_ph
The ph to be imposed on the reaction
forced_purity
The purity of all reagents to be imposed on the reaction
forced_temp
Temperature to be imposed on the reaction
reactions_to_test
The list of reactions to test
required_container
The default reagent container required for the selected test reaction if any
target_reagents
The target reagents to we are working with. can vary if an reaction requires a specific container
temp_mode
The mode for setting reaction temps. see temp defines
use_forced_ph
if TRUE will use forced_ph else don't alter the ph of the reaction
use_forced_purity
If TRUE will use forced_purity else don't alter the purity of the reaction
volume_multiplier
The multiplier to be applied on the selected reaction required reagents to start the reaction
Proc Details
adjust_environment
Adjusts the temperature, ph & purity of the holder Arguments
- seconds_per_tick - passed from on_reaction_step or process
decode_target_temperature
Retrives the target temperature to be imposed on the test reaction based on temp_mode
decode_var
Decodes the ui reaction var into its original name Arguments
- variable - the name of the variable as seen in the UI
extract_reaction_name
Extracts a human readable name for this chemical reaction Arguments
- datum/chemical_reaction/reaction - the reaction who's name we have to decode