summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chest.lua23
-rw-r--r--landsale.lua6
2 files changed, 23 insertions, 6 deletions
diff --git a/chest.lua b/chest.lua
index 8746355..93373d3 100644
--- a/chest.lua
+++ b/chest.lua
@@ -4,6 +4,7 @@ minetest.register_node("landrush:shared_chest", {
description = "Land Rush Shared Chest",
tiles = {"landrush_shared_chest_top.png", "landrush_shared_chest_top.png", "landrush_shared_chest_side.png", "landrush_shared_chest_side.png", "landrush_shared_chest_side.png", "landrush_shared_chest_front.png"},
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2,tubedevice=1,tubedevice_receiver=1},
+ paramtype2 = "facedir",
legacy_facedir_simple = true,
sounds = default.node_sound_wood_defaults(),
@@ -85,8 +86,24 @@ minetest.register_node("landrush:shared_chest", {
minetest.register_craft({
output = 'landrush:shared_chest',
recipe = {
- {'default:wood','default:wood','default:wood'},
- {'default:wood','landrush:landclaim','default:wood'},
- {'default:wood','default:wood','default:wood'}
+ {'group:wood','group:wood','group:wood'},
+ {'group:wood','landrush:landclaim','group:wood'},
+ {'group:wood','group:wood','group:wood'}
+ }
+})
+
+minetest.register_craft({
+ output = 'landrush:shared_chest',
+ recipe = {
+ {'landrush:landclaim'},
+ {'default:chest'}
+ }
+})
+
+minetest.register_craft({
+ output = 'landrush:shared_chest',
+ recipe = {
+ {'landrush:landclaim'},
+ {'default:chest_locked'}
}
}) \ No newline at end of file
diff --git a/landsale.lua b/landsale.lua
index 1867b98..f77f65d 100644
--- a/landsale.lua
+++ b/landsale.lua
@@ -83,9 +83,9 @@ minetest.register_node("landrush:sale_block",{
minetest.register_craft({
output = "landrush:sale_block",
recipe = {
- {"","default:wood","default:wood"},
- {"","default:wood",""},
- {"default:wood","default:wood",""}
+ {"","group:wood","group:wood"},
+ {"","group:wood",""},
+ {"group:wood","group:wood",""}
}
})