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

soup

Soup base chemical reaction.

Somewhat important note! Keep in mind one serving of soup is roughly 20-25 units. Adjust your results according.

Try to aim to have each reaction worth 3 servings of soup (60u - 90u). By default soup reactions require 50 units of water, and they will also inherent the reagents of the ingredients used, so you might end up with more nutrient than you expect.

Vars

ingredient_reagent_multiplierMultiplier applied to all reagents transferred from reagents to pot when the soup is cooked
percentage_of_nutriment_convertedWhat percent of nutriment is converted to "soup" (what percent does not stay final product)? Raise this if your ingredients have a lot of nutriment and is overpowering your other reagents Lower this if your ingredients have a small amount of nutriment and isn't filling enough per serving (EX: A tomato with 10 nutriment will lose 2.5 nutriment before being added to the pot)
required_ingredientsAn assoc list of what ingredients are necessary to how much is needed
total_ingredient_maxTracks the total number of ingredient items needed, for calculating multipliers. Only done once in first on_reaction

Procs

clean_upCleans up the ingredients and adds whatever leftover reagents to the mixture
describe_recipe_detailsAdds text to the requirements list of the recipe Return a list of strings, each string will be a new line in the requirements list
describe_resultAdds text to the results list of the recipe Return a list of strings, each string will be a new line in the results list
transfer_ingredient_reagentsTransfers reagents from the passed reagent to the soup pot, as a "result" Also handles deleting a portion of nutriment reagents present, pseudo-converting it into soup reagent. Returns TRUE if any reagents were transfered FALSE if there is nothing to transfer

Var Details

ingredient_reagent_multiplier

Multiplier applied to all reagents transferred from reagents to pot when the soup is cooked

percentage_of_nutriment_converted

What percent of nutriment is converted to "soup" (what percent does not stay final product)? Raise this if your ingredients have a lot of nutriment and is overpowering your other reagents Lower this if your ingredients have a small amount of nutriment and isn't filling enough per serving (EX: A tomato with 10 nutriment will lose 2.5 nutriment before being added to the pot)

required_ingredients

An assoc list of what ingredients are necessary to how much is needed

total_ingredient_max

Tracks the total number of ingredient items needed, for calculating multipliers. Only done once in first on_reaction

Proc Details

clean_up

Cleans up the ingredients and adds whatever leftover reagents to the mixture

describe_recipe_details

Adds text to the requirements list of the recipe Return a list of strings, each string will be a new line in the requirements list

describe_result

Adds text to the results list of the recipe Return a list of strings, each string will be a new line in the results list

transfer_ingredient_reagents

Transfers reagents from the passed reagent to the soup pot, as a "result" Also handles deleting a portion of nutriment reagents present, pseudo-converting it into soup reagent. Returns TRUE if any reagents were transfered FALSE if there is nothing to transfer

Arguments