technic/technic_chests/copper_chest.lua
2023-12-27 16:11:05 +00:00

48 lines
999 B
Lua

minetest.register_craft({
output = 'technic:copper_chest 1',
recipe = {
{copper_ingredient,copper_ingredient,copper_ingredient},
{copper_ingredient,'technic:iron_chest',copper_ingredient},
{copper_ingredient,copper_ingredient,copper_ingredient},
}
})
minetest.register_craft({
output = 'technic:copper_locked_chest 1',
recipe = {
{copper_ingredient,copper_ingredient,copper_ingredient},
{copper_ingredient,'technic:iron_locked_chest',copper_ingredient},
{copper_ingredient,copper_ingredient,copper_ingredient},
}
})
minetest.register_craft({
output = 'technic:copper_locked_chest 1',
type = "shapeless",
recipe = {
'basic_materials:padlock',
'technic:copper_chest',
}
})
technic.chests:register("Copper", {
width = 12,
height = 5,
sort = true,
autosort = true,
infotext = false,
color = false,
locked = false,
})
technic.chests:register("Copper", {
width = 12,
height = 5,
sort = true,
autosort = true,
infotext = false,
color = false,
locked = true,
})