auouymous
2020-09-11 03bb4dab469ddc9e37f7412fa979a0829cb3c953
technic_chests/mithril_chest.lua
@@ -1,26 +1,29 @@
minetest.register_craft({
   output = 'technic:mithril_chest 1',
   recipe = {
      {'moreores:mithril_ingot','moreores:mithril_ingot','moreores:mithril_ingot'},
      {'moreores:mithril_ingot','technic:gold_chest','moreores:mithril_ingot'},
      {'moreores:mithril_ingot','moreores:mithril_ingot','moreores:mithril_ingot'},
   }
})
if minetest.get_modpath("moreores") then
   minetest.register_craft({
      output = 'technic:mithril_chest 1',
      recipe = {
         {'moreores:mithril_ingot','moreores:mithril_ingot','moreores:mithril_ingot'},
         {'moreores:mithril_ingot','technic:gold_chest','moreores:mithril_ingot'},
         {'moreores:mithril_ingot','moreores:mithril_ingot','moreores:mithril_ingot'},
      }
   })
   minetest.register_craft({
      output = 'technic:mithril_locked_chest 1',
      recipe = {
         {'moreores:mithril_ingot','moreores:mithril_ingot','moreores:mithril_ingot'},
         {'moreores:mithril_ingot','technic:gold_locked_chest','moreores:mithril_ingot'},
         {'moreores:mithril_ingot','moreores:mithril_ingot','moreores:mithril_ingot'},
      }
   })
end
minetest.register_craft({
   output = 'technic:mithril_locked_chest 1',
   type = "shapeless",
   recipe = {
      {'moreores:mithril_ingot','moreores:mithril_ingot','moreores:mithril_ingot'},
      {'moreores:mithril_ingot','technic:gold_locked_chest','moreores:mithril_ingot'},
      {'moreores:mithril_ingot','moreores:mithril_ingot','moreores:mithril_ingot'},
   }
})
minetest.register_craft({
   output = 'technic:mithril_locked_chest 1',
   recipe = {
      {'technic:wrought_iron_ingot'},
      {'technic:mithril_chest'},
      'basic_materials:padlock',
      'technic:mithril_chest',
   }
})