Compare commits
1 commit
dfe04514fa
...
fb0feead7b
Author | SHA1 | Date | |
---|---|---|---|
![]() |
fb0feead7b |
2 changed files with 5 additions and 5 deletions
|
@ -42,7 +42,7 @@ local function robot_recipe(color, ingredients)
|
||||||
name = "basic-construction-robot-" .. color,
|
name = "basic-construction-robot-" .. color,
|
||||||
enabled = false,
|
enabled = false,
|
||||||
energy_required = 10,
|
energy_required = 10,
|
||||||
ingredients = ingredients,
|
ingredients = table.trim(ingredients),
|
||||||
results = { { type = "item", name = "basic-construction-robot-" .. color, amount = 1 } }
|
results = { { type = "item", name = "basic-construction-robot-" .. color, amount = 1 } }
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
@ -111,7 +111,7 @@ local function generator_recipe(color, ingredients)
|
||||||
name = "basic-portable-generator-equipment-" .. color,
|
name = "basic-portable-generator-equipment-" .. color,
|
||||||
enabled = false,
|
enabled = false,
|
||||||
energy_required = 10,
|
energy_required = 10,
|
||||||
ingredients = ingredients,
|
ingredients = table.trim(ingredients),
|
||||||
results = { { type = "item", name = "basic-portable-generator-equipment-" .. color, amount = 1 } }
|
results = { { type = "item", name = "basic-portable-generator-equipment-" .. color, amount = 1 } }
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
@ -149,7 +149,7 @@ local function roboport_recipe(color, ingredients)
|
||||||
name = "basic-personal-roboport-equipment-" .. color,
|
name = "basic-personal-roboport-equipment-" .. color,
|
||||||
enabled = false,
|
enabled = false,
|
||||||
energy_required = 10,
|
energy_required = 10,
|
||||||
ingredients = ingredients,
|
ingredients = table.trim(ingredients),
|
||||||
results = { { type = "item", name = "basic-personal-roboport-equipment-" .. color, amount = 1 } }
|
results = { { type = "item", name = "basic-personal-roboport-equipment-" .. color, amount = 1 } }
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
|
@ -28,14 +28,14 @@ local lumber_mill_item = LumberMill.ItemBuilder:new()
|
||||||
})
|
})
|
||||||
|
|
||||||
LumberMill.RecipeBuilder:new()
|
LumberMill.RecipeBuilder:new()
|
||||||
:ingredients({
|
:ingredients(table.trim({
|
||||||
{ type = "item", name = "stone-brick", amount = 40 },
|
{ type = "item", name = "stone-brick", amount = 40 },
|
||||||
{ type = "item", name = "lumber", amount = 100 },
|
{ type = "item", name = "lumber", amount = 100 },
|
||||||
{ type = "item", name = "wooden-gear-wheel", amount = 100 },
|
{ type = "item", name = "wooden-gear-wheel", amount = 100 },
|
||||||
{ type = "item", name = "gold-plate", amount = basic_circuit_board and 30 or 60 },
|
{ type = "item", name = "gold-plate", amount = basic_circuit_board and 30 or 60 },
|
||||||
basic_circuit_board and { type = "item", name = "basic-circuit-board", amount = 30 } or nil,
|
basic_circuit_board and { type = "item", name = "basic-circuit-board", amount = 30 } or nil,
|
||||||
{ type = "item", name = "burner-assembling-machine", amount = 5 }
|
{ type = "item", name = "burner-assembling-machine", amount = 5 }
|
||||||
})
|
}))
|
||||||
:apply({
|
:apply({
|
||||||
category = "wood-processing-or-assembling"
|
category = "wood-processing-or-assembling"
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Reference in a new issue