From cfe22bf13dc38df41e431f2c28092a7cf51d1897 Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Sun, 23 Mar 2025 22:39:36 +0100 Subject: [PATCH] AAI Industry: Add "wood" fuel category to burner generator and fuel processor --- lignumis/prototypes/compatibility/aai-industry.lua | 2 ++ lignumis/prototypes/content/fuel-category-updates.lua | 1 + 2 files changed, 3 insertions(+) diff --git a/lignumis/prototypes/compatibility/aai-industry.lua b/lignumis/prototypes/compatibility/aai-industry.lua index 0050a74..0dd5a1c 100644 --- a/lignumis/prototypes/compatibility/aai-industry.lua +++ b/lignumis/prototypes/compatibility/aai-industry.lua @@ -36,6 +36,8 @@ data.raw["lab"]["wood-lab"].next_upgrade = "burner-lab" table.insert(data.raw["agricultural-tower"]["burner-agricultural-tower"].energy_source.fuel_categories, "processed-chemical") +table.insert(data.raw["assembling-machine"]["fuel-processor"].energy_source.fuel_categories, "wood") + if settings.startup["lignumis-basic-circuit-board"].value then table.insert(data.raw["recipe"]["electric-mining-drill"].ingredients, { type = "item", name = "basic-circuit-board", amount = 2 }) table.insert(data.raw["recipe"]["inserter"].ingredients, { type = "item", name = "basic-circuit-board", amount = 1 }) diff --git a/lignumis/prototypes/content/fuel-category-updates.lua b/lignumis/prototypes/content/fuel-category-updates.lua index b2cb932..be4c285 100644 --- a/lignumis/prototypes/content/fuel-category-updates.lua +++ b/lignumis/prototypes/content/fuel-category-updates.lua @@ -35,3 +35,4 @@ update_fuel_categories(data.raw["reactor"]) update_fuel_categories(data.raw["car"]) update_fuel_categories(data.raw["locomotive"]) update_fuel_categories(data.raw["generator-equipment"]) +update_fuel_categories(data.raw["burner-generator"]) \ No newline at end of file