technic_chests/iron_chest.lua

42 lines
781 B
Lua

local cast_iron_ingot
minetest.get_modpath('mobs_monster')
minetest.register_craft({
output = 'technic:iron_chest 1',
recipe = {
{'default:steel_ingot','default:steel_ingot','default:steel_ingot'},
{'default:steel_ingot','mobs:lava_orb','default:steel_ingot'},
{'default:steel_ingot','default:steel_ingot','default:steel_ingot'},
}
})
minetest.register_craft({
output = 'technic:iron_locked_chest 1',
recipe = {
{'default:steel_ingot'},
{'technic:iron_chest'},
}
})
technic.chests:register("Iron", {
width = 9,
height = 5,
sort = true,
autosort = false,
infotext = false,
color = false,
locked = false,
})
technic.chests:register("Iron", {
width = 9,
height = 5,
sort = true,
autosort = false,
infotext = false,
color = false,
locked = true,
})