matter update

This commit is contained in:
Brevven 2023-04-10 00:23:43 -07:00
parent 2634a1d601
commit e05932ec04
2 changed files with 22 additions and 56 deletions

View file

@ -5,6 +5,7 @@ Date: 2023-04-10
- Double furnace: fixed to work with double furnace again (broken in 7.10)
Changes:
- Trees will spawn less often on resources.
- SE+K2: Matter deconversion requires stabilizer now
---------------------------------------------------------------------------------------------------
Version: 0.7.10
Date: 2023-03-25

View file

@ -1,62 +1,27 @@
-- Matter recipes for Krastorio2
if mods["Krastorio2"] then
local util = require("__bztungsten__.data-util");
local matter = require("__Krastorio2__/lib/public/data-stages/matter-util")
local util = require("data-util");
data:extend(
{
{
type = "technology",
name = "tungsten-matter-processing",
icons =
{
{
icon = util.k2assets().."/technologies/matter-stone.png",
icon_size = 256,
},
{
icon = "__bztungsten__/graphics/icons/tungsten-ore.png",
icon_size = 64, icon_mipmaps = 3,
scale = 1.25,
}
util.k2matter({
k2matter = {
item_name = "tungsten-ore",
matter_value = 6,
energy_required = 1,
need_stabilizer = false,
unlocked_by_technology = "tungsten-matter-processing",
},
prerequisites = {"kr-matter-processing"},
unit =
{
count = 350,
ingredients =
{
{"production-science-pack", 1},
{"utility-science-pack", 1},
{"matter-tech-card", 1}
},
time = 45
}
},
})
local tungsten_ore_matter =
{
item_name = "tungsten-ore",
minimum_conversion_quantity = 10,
matter_value = 6,
energy_required = 1,
need_stabilizer = false,
unlocked_by_technology = "tungsten-matter-processing"
}
matter.createMatterRecipe(tungsten_ore_matter)
local tungsten_plate_matter =
{
item_name = "tungsten-plate",
minimum_conversion_quantity = 10,
matter_value = 10,
energy_required = 2,
only_deconversion = true,
need_stabilizer = true,
unlocked_by_technology = "tungsten-matter-processing"
}
matter.createMatterRecipe(tungsten_plate_matter)
k2baseicon = "stone",
icon = {icon = "__bztungsten__/graphics/icons/tungsten-ore.png", icon_size = 64, scale = 1.25}
})
util.k2matter({
k2matter = {
item_name = "tungsten-plate",
matter_value = 10,
energy_required = 2,
only_deconversion = true,
need_stabilizer = true,
unlocked_by_technology = "tungsten-matter-processing",
},
})
end