diff options
-rw-r--r-- | depends.txt | 2 | ||||
-rw-r--r-- | init.lua | 9 | ||||
-rw-r--r-- | textures/shared_door_a.png | bin | 0 -> 304 bytes | |||
-rw-r--r-- | textures/shared_door_b.png | bin | 0 -> 281 bytes | |||
-rw-r--r-- | textures/shared_door_inv.png | bin | 0 -> 291 bytes |
5 files changed, 11 insertions, 0 deletions
diff --git a/depends.txt b/depends.txt new file mode 100644 index 0000000..4cfb8a9 --- /dev/null +++ b/depends.txt @@ -0,0 +1,2 @@ +default +doors
\ No newline at end of file @@ -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 diff --git a/textures/shared_door_a.png b/textures/shared_door_a.png Binary files differnew file mode 100644 index 0000000..da25676 --- /dev/null +++ b/textures/shared_door_a.png diff --git a/textures/shared_door_b.png b/textures/shared_door_b.png Binary files differnew file mode 100644 index 0000000..84f7aeb --- /dev/null +++ b/textures/shared_door_b.png diff --git a/textures/shared_door_inv.png b/textures/shared_door_inv.png Binary files differnew file mode 100644 index 0000000..ae4e412 --- /dev/null +++ b/textures/shared_door_inv.png |