diff --git a/lignumis/prototypes/content/wood-liquefaction.lua b/lignumis/prototypes/content/wood-liquefaction.lua index a1753af..3562a51 100644 --- a/lignumis/prototypes/content/wood-liquefaction.lua +++ b/lignumis/prototypes/content/wood-liquefaction.lua @@ -1,3 +1,5 @@ +local Technology = require("__cf-lib__/data/Technology") + data:extend({ { type = "fluid", @@ -14,8 +16,37 @@ data:extend({ }, { type = "recipe", - category = "crafting-with-fluid", name = "wood-liquefaction", + category = "crafting-with-steam", + icon_size = 64, + icon_mipmaps = 4, + icons = { + { icon = "__lignumis__/graphics/icons/wood-pulp.png" }, + { icon = "__base__/graphics/icons/wood.png", scale = 0.25, shift = { 8, 8 } }, + }, + subgroup = "fluid-recipes", + order = "a[oil-processing]-d[wood-liquefaction]", + enabled = false, + energy_required = 3, + crafting_machine_tint = { + primary = { r = 0.57, g = 0.392, b = 0.114, a = 1.000 }, + secondary = { r = 0.57, g = 0.392, b = 0.114, a = 1.000 }, + tertiary = { r = 0.57, g = 0.392, b = 0.114, a = 1.000 }, + quaternary = { r = 0.57, g = 0.392, b = 0.114, a = 1.000 } + }, + ingredients = { + { type = "item", name = "wood", amount = 1 } + }, + results = { + { type = "fluid", name = "wood-pulp", amount = 10 } + }, + allow_productivity = true + }, + { + type = "recipe", + name = "wood-liquefaction-steam", + localised_name = { "recipe-name.wood-liquefaction" }, + category = "crafting-with-fluid", icon_size = 64, icon_mipmaps = 4, icons = { @@ -68,3 +99,5 @@ data:extend({ order = "w" } }) + +Technology:new("automation-2"):addRecipe("wood-liquefaction-steam") \ No newline at end of file