diff --git a/lignumis/prototypes/content/basic-radar.lua b/lignumis/prototypes/content/basic-radar.lua index 469bc8b..9e8be05 100644 --- a/lignumis/prototypes/content/basic-radar.lua +++ b/lignumis/prototypes/content/basic-radar.lua @@ -74,14 +74,13 @@ data:extend({ { type = "recipe", name = "basic-radar", - category = "crafting-with-fluid", + category = "crafting-with-steam", energy_required = 10, ingredients = { { type = "item", name = "stone-brick", amount = 4 }, { type = "item", name = "wooden-gear-wheel", amount = 4 }, { type = "item", name = "gold-plate", amount = 4 }, - { type = "item", name = "gold-cable", amount = 4 }, - { type = "fluid", name = "steam", amount = 20 } + { type = "item", name = "gold-cable", amount = 4 } }, results = { { type = "item", name = "basic-radar", amount = 1 } }, enabled = false 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