mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Factorio: fix uranium-ore recipe writing to mod
This commit is contained in:
@@ -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 %}
|
Reference in New Issue
Block a user