From 2a6892e4231ca77f191525683f8f7b321a900c2a Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Thu, 16 Jan 2025 23:33:59 +0100 Subject: [PATCH] Apply input to wood lab in final-fixes --- lignumis/prototypes/content/final.lua | 7 +++++++ lignumis/prototypes/content/wood-lab.lua | 1 + 2 files changed, 8 insertions(+) create mode 100644 lignumis/prototypes/content/final.lua diff --git a/lignumis/prototypes/content/final.lua b/lignumis/prototypes/content/final.lua new file mode 100644 index 0000000..99a684a --- /dev/null +++ b/lignumis/prototypes/content/final.lua @@ -0,0 +1,7 @@ +-- Override science packs in final fixes in the case other mods add their science packs to all labs in a generic way +data.raw.lab["wood-lab"].inputs = { + "wood-science-pack", + "steam-science-pack", + "automation-science-pack", + "logistic-science-pack" +} \ No newline at end of file diff --git a/lignumis/prototypes/content/wood-lab.lua b/lignumis/prototypes/content/wood-lab.lua index f410ec6..bc96eab 100644 --- a/lignumis/prototypes/content/wood-lab.lua +++ b/lignumis/prototypes/content/wood-lab.lua @@ -113,6 +113,7 @@ data:extend({ }, energy_usage = "150kW", researching_speed = 0.5, + -- Applied again in final-fixes inputs = { "wood-science-pack", "steam-science-pack",