Update to 2.0

This commit is contained in:
Natha 2025-07-22 15:56:16 +02:00 committed by Simon Brodtmann
parent b5beff4ea4
commit 038e666ae8
39 changed files with 208 additions and 530 deletions

View file

@ -1,27 +1,22 @@
-- Matter recipes for Krastorio2
if mods["Krastorio2"] then
local util = require("data-util");
local matter = require("__Krastorio2__/prototypes/libraries/matter")
util.k2matter({
k2matter = {
item_name = "tungsten-ore",
matter_value = 6,
matter.make_recipes({
material = { type = "item", name = "tungsten-ore", amount = 1 },
matter_count = 6,
energy_required = 1,
need_stabilizer = false,
unlocked_by_technology = "tungsten-matter-processing",
},
k2baseicon = "stone",
icon = {icon = "__bztungsten__/graphics/icons/tungsten-ore.png", icon_size = 64, scale = 1.25}
icon = {icon = "__bztungsten__/graphics/icons/tungsten-ore.png", icon_size = 64, scale = 1.25}
})
util.k2matter({
k2matter = {
item_name = "tungsten-plate",
matter_value = 10,
matter.make_recipes({
material = { type = "item", name = "tungsten-plate", amount = 1 },
matter_count = 10,
energy_required = 2,
only_deconversion = true,
need_stabilizer = true,
need_stabilizer = false,
unlocked_by_technology = "tungsten-matter-processing",
},
})
end