Browse Source

mesechest: add crafts

new-wireless
upsilon 3 years ago
parent
commit
4c81b43032
No known key found for this signature in database GPG Key ID: A80DAE1F266E1C3C
2 changed files with 11 additions and 0 deletions
  1. +1
    -0
      moremesecons_mesechest/depends.txt
  2. +10
    -0
      moremesecons_mesechest/init.lua

+ 1
- 0
moremesecons_mesechest/depends.txt View File

@@ -1 +1,2 @@
default
mesecons

+ 10
- 0
moremesecons_mesechest/init.lua View File

@@ -106,3 +106,13 @@ default.register_chest("mesechest_locked", {

minetest.register_node = old_minetest_register_node
minetest.register_lbm = old_minetest_register_lbm

minetest.register_craft({
output = "default:mesechest",
recipe = {{"group:mesecon_conductor_craftable", "default:chest", "group:mesecon_conductor_craftable"}}
})

minetest.register_craft({
output = "default:mesechest_locked",
recipe = {{"group:mesecon_conductor_craftable", "default:chest_locked", "group:mesecon_conductor_craftable"}}
})

Loading…
Cancel
Save