diff options
Diffstat (limited to 'dreambuilder_mp_extras')
-rw-r--r-- | dreambuilder_mp_extras/depends.txt | 2 | ||||
-rw-r--r-- | dreambuilder_mp_extras/init.lua | 53 |
2 files changed, 55 insertions, 0 deletions
diff --git a/dreambuilder_mp_extras/depends.txt b/dreambuilder_mp_extras/depends.txt index 4ad96d5..635f0ae 100644 --- a/dreambuilder_mp_extras/depends.txt +++ b/dreambuilder_mp_extras/depends.txt @@ -1 +1,3 @@ default +technic +basic_materials diff --git a/dreambuilder_mp_extras/init.lua b/dreambuilder_mp_extras/init.lua index e2ee62f..46ae07c 100644 --- a/dreambuilder_mp_extras/init.lua +++ b/dreambuilder_mp_extras/init.lua @@ -36,3 +36,56 @@ minetest.override_item("default:apple", { mesh = "default_apple.obj", tiles = {"default_apple_3d.png"} }) + +minetest.clear_craft({ + type = "shapeless", + recipe = { + "default:chest", + "default:steel_ingot", + } +}) + +minetest.clear_craft({ + type = "shapeless", + recipe = { + "default:chest", + "default:gold_ingot", + } +}) + +minetest.clear_craft({ + type = "shapeless", + recipe = { + "default:chest", + "default:bronze_ingot", + } +}) + +minetest.clear_craft({ + type = "shapeless", + recipe = { + "default:chest", + "default:copper_ingot", + } +}) + +minetest.clear_craft({output = "default:chest_locked"}) + +minetest.register_craft({ + output = "default:chest_locked", + recipe = { + { "group:wood", "group:wood", "group:wood" }, + { "group:wood", "basic_materials:padlock", "group:wood" }, + { "group:wood", "group:wood", "group:wood" } + } +}) + +minetest.register_craft({ + output = "default:chest_locked", + type = "shapeless", + recipe = { + "default:chest", + "basic_materials:padlock" + } +}) + |