BobFred7
2020-05-13 df7f2e464afa034fa5667f0ba7c0e391a8e793fe
commit | author | age
ae7f49 1 if minetest.get_modpath("moreores") then
R 2     minetest.register_craft({
3         output = 'technic:mithril_chest 1',
4         recipe = {
5             {'moreores:mithril_ingot','moreores:mithril_ingot','moreores:mithril_ingot'},
6             {'moreores:mithril_ingot','technic:gold_chest','moreores:mithril_ingot'},
7             {'moreores:mithril_ingot','moreores:mithril_ingot','moreores:mithril_ingot'},
8         }
9     })
82cba9 10
ae7f49 11     minetest.register_craft({
R 12         output = 'technic:mithril_locked_chest 1',
13         recipe = {
14             {'moreores:mithril_ingot','moreores:mithril_ingot','moreores:mithril_ingot'},
15             {'moreores:mithril_ingot','technic:gold_locked_chest','moreores:mithril_ingot'},
16             {'moreores:mithril_ingot','moreores:mithril_ingot','moreores:mithril_ingot'},
17         }
18     })
19 end
82cba9 20
R 21 minetest.register_craft({
22     output = 'technic:mithril_locked_chest 1',
fb4fef 23     type = "shapeless",
82cba9 24     recipe = {
88f425 25         'basic_materials:padlock',
D 26         'technic:mithril_chest',
82cba9 27     }
R 28 })
29
78cacd 30 technic.chests:register("Mithril", {
96ad67 31     width = 15,
4ea213 32     height = 6,
5c689a 33     sort = true,
R 34     autosort = true,
78cacd 35     infotext = false,
S 36     color = false,
37     locked = false,
82cba9 38 })
R 39
78cacd 40 technic.chests:register("Mithril", {
96ad67 41     width = 15,
4ea213 42     height = 6,
5c689a 43     sort = true,
R 44     autosort = true,
78cacd 45     infotext = false,
S 46     color = false,
47     locked = true,
82cba9 48 })
78cacd 49