Factorio: fix uranium-ore recipe writing to mod
This commit is contained in:
parent
22d45b9571
commit
1b5525a8c5
|
@ -91,7 +91,9 @@ table.insert(new_tree_copy.prerequisites, "ap-{{ tech_table[prerequesite] }}-")
|
||||||
data:extend{new_tree_copy}
|
data:extend{new_tree_copy}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% if recipe_time_scale %}
|
{% if recipe_time_scale %}
|
||||||
{%- for recipe in recipes %}
|
{%- for recipe_name, recipe in recipes.items() %}
|
||||||
adjust_energy("{{ recipe }}", {{ random.triangular(*recipe_time_scale) }})
|
{%- if recipe.category != "mining" %}
|
||||||
|
adjust_energy("{{ recipe_name }}", {{ random.triangular(*recipe_time_scale) }})
|
||||||
|
{%- endif %}
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
{% endif %}
|
{% endif %}
|
Loading…
Reference in New Issue