This commit is contained in:
Simon Brodtmann 2025-12-12 18:25:57 +01:00
parent 48f8d8bcb4
commit 6a4f669f59

View file

@ -1,6 +1,8 @@
local item_sounds = require("__base__.prototypes.item_sounds") local item_sounds = require("__base__.prototypes.item_sounds")
local Recipe = require("__cf-lib__/data/Recipe")
data:extend({ if not mods["wood-logistics"] then
data:extend({
{ {
type = "item", type = "item",
name = "lumber", name = "lumber",
@ -31,4 +33,7 @@ data:extend({
results = { { type = "item", name = "lumber", amount = 1 } }, results = { { type = "item", name = "lumber", amount = 1 } },
energy_required = 1 energy_required = 1
} }
}) })
else
Recipe:new("lumber"):addCategory("wood-processing")
end