Wood liquefaction is available both for steam assembler and assembler mk2

This commit is contained in:
Simon Brodtmann 2025-02-16 00:51:20 +01:00
parent 9290d421db
commit c45aea1dfd

View file

@ -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")