krastorio2 2.0 compatibility

This commit is contained in:
Matt Grogan 2025-05-01 12:29:39 -04:00 committed by brevven
parent a15f4fe5b6
commit c0d9c352e8
7 changed files with 34 additions and 22 deletions

View file

@ -2,13 +2,16 @@ if mods["Krastorio2"] then
local util = require("data-util");
util.k2matter({
k2matter = {
item_name = "silica",
minimum_conversion_quantity = 20,
matter_value = .65,
material = {
name = "silica",
type = "item",
amount = 20
},
matter_count = .65,
energy_required = 2,
only_deconversion = false,
need_stabilizer = false,
unlocked_by_technology = "kr-matter-stone-processing"
needs_stabilizer = false,
allow_productivity = true,
unlocked_by = "kr-matter-stone-processing"
},
})
}, false)
end