matter
This commit is contained in:
parent
931a0afc7b
commit
d456184b93
1 changed files with 38 additions and 45 deletions
|
@ -1,7 +1,6 @@
|
|||
-- Matter recipes for Krastorio2
|
||||
if mods["Krastorio2"] then
|
||||
local util = require("data-util")
|
||||
local matter = require("__Krastorio2__/lib/public/data-stages/matter-util")
|
||||
local matter = require("__Krastorio2__/prototypes/libraries/matter")
|
||||
|
||||
data:extend(
|
||||
{
|
||||
|
@ -35,26 +34,20 @@ data:extend(
|
|||
},
|
||||
})
|
||||
|
||||
local chromium_ore_matter =
|
||||
{
|
||||
item_name = "chromite-ore",
|
||||
minimum_conversion_quantity = 10,
|
||||
matter_value = 5,
|
||||
matter.createMatterRecipe({
|
||||
material = { type = "item", name = "chromite-ore", amount = 10 },
|
||||
matter_count = 5,
|
||||
energy_required = 1,
|
||||
need_stabilizer = false,
|
||||
unlocked_by_technology = "chromium-matter-processing"
|
||||
}
|
||||
matter.createMatterRecipe(chromium_ore_matter)
|
||||
})
|
||||
|
||||
local chromium_plate_matter =
|
||||
{
|
||||
item_name = "chromium-plate",
|
||||
minimum_conversion_quantity = 10,
|
||||
matter_value = 10,
|
||||
matter.createMatterRecipe({
|
||||
material = { type = "item", name = "chromium-plate", amount = 10 },
|
||||
matter_count = 10,
|
||||
energy_required = 3,
|
||||
only_deconversion = true,
|
||||
need_stabilizer = true,
|
||||
unlocked_by_technology = "chromium-matter-processing"
|
||||
}
|
||||
matter.createMatterRecipe(chromium_plate_matter)
|
||||
})
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue