From bfa20bbe7eaffb0721251b2d9a3e0415835580e5 Mon Sep 17 00:00:00 2001 From: Brandon Date: Thu, 15 Aug 2013 22:22:36 -0500 Subject: shared door recipe and textures --- depends.txt | 2 ++ init.lua | 9 +++++++++ textures/shared_door_a.png | Bin 0 -> 304 bytes textures/shared_door_b.png | Bin 0 -> 281 bytes textures/shared_door_inv.png | Bin 0 -> 291 bytes 5 files changed, 11 insertions(+) create mode 100644 depends.txt create mode 100644 textures/shared_door_a.png create mode 100644 textures/shared_door_b.png create mode 100644 textures/shared_door_inv.png 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 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 diff --git a/textures/shared_door_a.png b/textures/shared_door_a.png new file mode 100644 index 0000000..da25676 Binary files /dev/null and b/textures/shared_door_a.png differ diff --git a/textures/shared_door_b.png b/textures/shared_door_b.png new file mode 100644 index 0000000..84f7aeb Binary files /dev/null and b/textures/shared_door_b.png differ diff --git a/textures/shared_door_inv.png b/textures/shared_door_inv.png new file mode 100644 index 0000000..ae4e412 Binary files /dev/null and b/textures/shared_door_inv.png differ -- cgit v1.2.3