Now possible for randomized science packs/silo/satellite recipe to use fluids.

This commit is contained in:
CaitSith2
2021-11-25 09:44:01 -08:00
parent 5a03c0edd6
commit 722af0a3ca
5 changed files with 49 additions and 12 deletions

View File

@@ -3,7 +3,8 @@
require('lib')
{%- for recipe_name, recipe in custom_recipes.items() %}
data.raw["recipe"]["{{recipe_name}}"].ingredients = {{ dict_to_recipe(recipe.ingredients) }}
data.raw["recipe"]["{{recipe_name}}"].category = "{{recipe.category}}"
data.raw["recipe"]["{{recipe_name}}"].ingredients = {{ dict_to_recipe(recipe.ingredients, liquids) }}
{%- endfor %}
local technologies = data.raw["technology"]