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_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 |
Procs | |
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 |
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
- holder: The soup pot
- reaction: The reaction being cleaned up, note this CAN be null if being instant reacted
- react_vol: How much soup was produced
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
- obj/item/ingredient - The ingredient to transfer reagents from
- datum/reagentsholder - The reagent holder of the soup pot the reaction is taking place in
- amount - The amount of reagents to transfer, if null will transfer all reagents