BobFred7
2020-05-13 df7f2e464afa034fa5667f0ba7c0e391a8e793fe
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 = {
      {'default:steel_ingot'},
      {'technic:mithril_chest'},
      'basic_materials:padlock',
      'technic:mithril_chest',
   }
})