From ad56704b528b7a9440e01df75a9c69d105f25514 Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Wed, 5 Mar 2025 09:46:39 +0100 Subject: [PATCH] Fix Burner agricultural tower not having a Nauvis recipe --- .../content/burner-agricultural-tower.lua | 52 +++++++++---------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/lignumis/prototypes/content/burner-agricultural-tower.lua b/lignumis/prototypes/content/burner-agricultural-tower.lua index 3233527..fc180c8 100644 --- a/lignumis/prototypes/content/burner-agricultural-tower.lua +++ b/lignumis/prototypes/content/burner-agricultural-tower.lua @@ -109,30 +109,30 @@ tech.ignore_tech_cost_multiplier = true data.raw.technology["fish-breeding"].prerequisites = { "agricultural-science-pack" } -if not basic_circuit_board then - data:extend({ - { - type = "recipe", - name = "burner-agricultural-tower-electronic-circuit", - localised_name = { "entity-name.burner-agricultural-tower" }, - icons = { - { icon = Lignumis.graphics .. "icons/burner-agricultural-tower.png" }, - { icon = "__base__/graphics/icons/electronic-circuit.png", scale = 0.25, shift = { 8, 8 } } - }, - energy_required = 10, - ingredients = { - { type = "item", name = "stone-brick", amount = 5 }, - { type = "item", name = "wooden-gear-wheel", amount = 20 }, - { type = "item", name = "lumber", amount = 20 }, - { type = "item", name = "electronic-circuit", amount = 10 } - }, - results = { { type = "item", name = "burner-agricultural-tower", amount = 1 } }, - enabled = false - } - }) +data:extend({ + { + type = "recipe", + name = "burner-agricultural-tower-copper", + localised_name = { "entity-name.burner-agricultural-tower" }, + icons = { + { icon = Lignumis.graphics .. "icons/burner-agricultural-tower.png" }, + { icon = "__base__/graphics/icons/copper-plate.png", scale = 0.25, shift = { 8, 8 } } + }, + energy_required = 10, + ingredients = { + { type = "item", name = "stone-brick", amount = 5 }, + { type = "item", name = "wooden-gear-wheel", amount = 20 }, + { type = "item", name = "lumber", amount = 20 }, + { type = "item", name = "copper-plate", amount = 10 }, + { type = "item", name = basic_circuit_board and "basic-circuit-board" or "electronic-circuit", amount = 10 } + }, + results = { { type = "item", name = "burner-agricultural-tower", amount = 1 } }, + enabled = false + } +}) + +table.insert(data.raw.technology["copper-processing"].effects, { + type = "unlock-recipe", + recipe = "burner-agricultural-tower-copper" +}) - table.insert(data.raw.technology["electronics"].effects, { - type = "unlock-recipe", - recipe = "burner-agricultural-tower-electronic-circuit" - }) -end