forked from cacklingfiend/bzaluminum2
Fix K2 matter recipe generation and tech icon
This commit is contained in:
parent
90290e98cd
commit
3983ade96e
1 changed files with 10 additions and 9 deletions
|
|
@ -1,6 +1,6 @@
|
|||
-- Matter recipes for Krastorio2
|
||||
if mods["Krastorio2"] then
|
||||
local util = require("data-util");
|
||||
local util = require("data-util")
|
||||
local matter = require("__Krastorio2__/prototypes/libraries/matter")
|
||||
|
||||
data:extend(
|
||||
|
|
@ -11,15 +11,16 @@ data:extend(
|
|||
icons =
|
||||
{
|
||||
{
|
||||
icon = util.k2assets().."/technologies/matter-coal.png",
|
||||
icon = util.k2assets().."/technologies/backgrounds/matter.png",
|
||||
icon_size = 256,
|
||||
},
|
||||
{
|
||||
icon = "__bzaluminum2__/graphics/icons/aluminum-ore.png",
|
||||
icon_size = 64,
|
||||
scale = 1.4,
|
||||
scale = 1,
|
||||
}
|
||||
},
|
||||
effects = {},
|
||||
prerequisites = {"kr-matter-processing"},
|
||||
unit =
|
||||
{
|
||||
|
|
@ -40,8 +41,8 @@ local aluminum_ore_matter =
|
|||
material = { type = "item", name = "aluminum-ore", amount = 10 },
|
||||
matter_count = 5,
|
||||
energy_required = 1,
|
||||
need_stabilizer = false,
|
||||
unlocked_by_technology = "aluminum-matter-processing"
|
||||
needs_stabilizer = false,
|
||||
unlocked_by = "aluminum-matter-processing"
|
||||
}
|
||||
matter.make_recipes(aluminum_ore_matter)
|
||||
|
||||
|
|
@ -51,8 +52,8 @@ local alumina_matter =
|
|||
matter_count = 7.5,
|
||||
energy_required = 2,
|
||||
only_deconversion = true,
|
||||
need_stabilizer = true,
|
||||
unlocked_by_technology = "aluminum-matter-processing"
|
||||
needs_stabilizer = true,
|
||||
unlocked_by = "aluminum-matter-processing"
|
||||
}
|
||||
matter.make_recipes(alumina_matter)
|
||||
local aluminum_plate_matter =
|
||||
|
|
@ -61,8 +62,8 @@ local aluminum_plate_matter =
|
|||
matter_count = 10,
|
||||
energy_required = 3,
|
||||
only_deconversion = true,
|
||||
need_stabilizer = true,
|
||||
unlocked_by_technology = "aluminum-matter-processing"
|
||||
needs_stabilizer = true,
|
||||
unlocked_by = "aluminum-matter-processing"
|
||||
}
|
||||
matter.make_recipes(aluminum_plate_matter)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue