Compare commits
2 commits
c45aea1dfd
...
36b436daf2
Author | SHA1 | Date | |
---|---|---|---|
![]() |
36b436daf2 | ||
![]() |
9d8d3d7503 |
2 changed files with 36 additions and 4 deletions
|
@ -74,14 +74,13 @@ data:extend({
|
||||||
{
|
{
|
||||||
type = "recipe",
|
type = "recipe",
|
||||||
name = "basic-radar",
|
name = "basic-radar",
|
||||||
category = "crafting-with-fluid",
|
category = "crafting-with-steam",
|
||||||
energy_required = 10,
|
energy_required = 10,
|
||||||
ingredients = {
|
ingredients = {
|
||||||
{ type = "item", name = "stone-brick", amount = 4 },
|
{ type = "item", name = "stone-brick", amount = 4 },
|
||||||
{ type = "item", name = "wooden-gear-wheel", amount = 4 },
|
{ type = "item", name = "wooden-gear-wheel", amount = 4 },
|
||||||
{ type = "item", name = "gold-plate", amount = 4 },
|
{ type = "item", name = "gold-plate", amount = 4 },
|
||||||
{ type = "item", name = "gold-cable", amount = 4 },
|
{ type = "item", name = "gold-cable", amount = 4 }
|
||||||
{ type = "fluid", name = "steam", amount = 20 }
|
|
||||||
},
|
},
|
||||||
results = { { type = "item", name = "basic-radar", amount = 1 } },
|
results = { { type = "item", name = "basic-radar", amount = 1 } },
|
||||||
enabled = false
|
enabled = false
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
local Technology = require("__cf-lib__/data/Technology")
|
||||||
|
|
||||||
data:extend({
|
data:extend({
|
||||||
{
|
{
|
||||||
type = "fluid",
|
type = "fluid",
|
||||||
|
@ -14,8 +16,37 @@ data:extend({
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type = "recipe",
|
type = "recipe",
|
||||||
category = "crafting-with-fluid",
|
|
||||||
name = "wood-liquefaction",
|
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_size = 64,
|
||||||
icon_mipmaps = 4,
|
icon_mipmaps = 4,
|
||||||
icons = {
|
icons = {
|
||||||
|
@ -68,3 +99,5 @@ data:extend({
|
||||||
order = "w"
|
order = "w"
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Technology:new("automation-2"):addRecipe("wood-liquefaction-steam")
|
Loading…
Add table
Reference in a new issue