summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index 349b17f..8c7975f 100644
--- a/init.lua
+++ b/init.lua
@@ -307,6 +307,15 @@ doors:register_door("landrush:shared_door", {
tiles_top = {"shared_door_a.png", "door_blue.png"},
})
+minetest.register_craft({
+ output = 'landrush:shared_door',
+ recipe = {
+ {'default:steel_ingot','default:steel_ingot',''},
+ {'default:steel_ingot','landrush:landclaim',''},
+ {'default:steel_ingot','default:steel_ingot',''}
+ }
+})
+
function landrush.on_rightclick(pos, dir, check_name, replace, replace_dir, params)
pos.y = pos.y+dir
if not minetest.get_node(pos).name == check_name then