From 31be99bdec942567a690fc87c29fe34a2075d091 Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Sun, 14 Dec 2025 18:18:29 +0100 Subject: [PATCH] Wood logistics: Correct lumber mill technology --- lignumis/locale/en/strings.cfg | 2 ++ lignumis/prototypes/content/lumber-mill.lua | 12 ------------ lignumis/prototypes/content/technology-updates.lua | 13 +++++++++++++ lignumis/prototypes/content/updates.lua | 3 ++- 4 files changed, 17 insertions(+), 13 deletions(-) create mode 100644 lignumis/prototypes/content/technology-updates.lua diff --git a/lignumis/locale/en/strings.cfg b/lignumis/locale/en/strings.cfg index ef74696..f165a69 100644 --- a/lignumis/locale/en/strings.cfg +++ b/lignumis/locale/en/strings.cfg @@ -126,6 +126,7 @@ planet-discovery-lignumis=Moon discovery Lignumis iron-processing=Iron processing copper-processing=Copper processing lumber-mill=Lumber mill +advanced-carpentry=Lumber mill deep-miner=Deep miner gold-fluid-handling=Gold fluid handling steam-automation=Steam automation @@ -153,6 +154,7 @@ burner-automation=Technology for basic automation using burner machines. planet-discovery-nauvis=A temperate planet offering all the common resources. planet-discovery-lignumis=A moon orbiting Nauvis that has not much to offer besides some vegetation and a metal that might be useful. lumber-mill=Advanced machine to process wood. +advanced-carpentry=Advanced machine to process wood. deep-miner=Gives access to huge gold deposits that were previously unreachable. steam-automation=Allows research of more sophisticated technologies based on wood products and gold. wood-liquefaction=Converting wood into a liquid offers new possibilities. diff --git a/lignumis/prototypes/content/lumber-mill.lua b/lignumis/prototypes/content/lumber-mill.lua index ac57acb..264b6a0 100644 --- a/lignumis/prototypes/content/lumber-mill.lua +++ b/lignumis/prototypes/content/lumber-mill.lua @@ -119,18 +119,6 @@ else }) }) - table.assign(data.raw.technology["advanced-carpentry"], { - prerequisites = { "steam-science-pack" }, - unit = { - count = 250, - time = 15, - ingredients = { - { "wood-science-pack", 1 }, - { "steam-science-pack", 1 } - } - } - }) - Recipe:new("lumber-mill") :clone("lumber-mill-copper") :assign({ diff --git a/lignumis/prototypes/content/technology-updates.lua b/lignumis/prototypes/content/technology-updates.lua new file mode 100644 index 0000000..386ddf2 --- /dev/null +++ b/lignumis/prototypes/content/technology-updates.lua @@ -0,0 +1,13 @@ +if mods["wood-logistics"] then + table.assign(data.raw.technology["advanced-carpentry"], { + prerequisites = { "steam-science-pack" }, + unit = { + count = 250, + time = 15, + ingredients = { + { "wood-science-pack", 1 }, + { "steam-science-pack", 1 } + } + } + }) +end \ No newline at end of file diff --git a/lignumis/prototypes/content/updates.lua b/lignumis/prototypes/content/updates.lua index 7087806..640ef0c 100644 --- a/lignumis/prototypes/content/updates.lua +++ b/lignumis/prototypes/content/updates.lua @@ -1,2 +1,3 @@ require("fuel-category-updates") -require("lignumis/planet-updates") \ No newline at end of file +require("lignumis/planet-updates") +require("technology-updates") \ No newline at end of file