matter
This commit is contained in:
parent
931a0afc7b
commit
d456184b93
1 changed files with 38 additions and 45 deletions
|
@ -1,10 +1,9 @@
|
|||
-- 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(
|
||||
{
|
||||
data:extend(
|
||||
{
|
||||
{
|
||||
type = "technology",
|
||||
name = "chromium-matter-processing",
|
||||
|
@ -20,41 +19,35 @@ data:extend(
|
|||
scale = 1.4,
|
||||
}
|
||||
},
|
||||
prerequisites = {"kr-matter-processing"},
|
||||
prerequisites = { "kr-matter-processing" },
|
||||
unit =
|
||||
{
|
||||
count = 350,
|
||||
ingredients =
|
||||
{
|
||||
{"production-science-pack", 1},
|
||||
{"utility-science-pack", 1},
|
||||
{"matter-tech-card", 1}
|
||||
{ "production-science-pack", 1 },
|
||||
{ "utility-science-pack", 1 },
|
||||
{ "matter-tech-card", 1 }
|
||||
},
|
||||
time = 45
|
||||
}
|
||||
},
|
||||
})
|
||||
})
|
||||
|
||||
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