summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon <brandon@bremaweb.com>2013-08-15 22:22:36 -0500
committerBrandon <brandon@bremaweb.com>2013-08-15 22:22:36 -0500
commitbfa20bbe7eaffb0721251b2d9a3e0415835580e5 (patch)
tree7746496647b99d8d46eff4577f1bd6d3c3fc8eb4
parent2d16da1e885b7fb497efb212bafccd4fceb6004b (diff)
shared door recipe and textures
-rw-r--r--depends.txt2
-rw-r--r--init.lua9
-rw-r--r--textures/shared_door_a.pngbin0 -> 304 bytes
-rw-r--r--textures/shared_door_b.pngbin0 -> 281 bytes
-rw-r--r--textures/shared_door_inv.pngbin0 -> 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
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
--- /dev/null
+++ b/textures/shared_door_a.png
Binary files differ
diff --git a/textures/shared_door_b.png b/textures/shared_door_b.png
new file mode 100644
index 0000000..84f7aeb
--- /dev/null
+++ b/textures/shared_door_b.png
Binary files differ
diff --git a/textures/shared_door_inv.png b/textures/shared_door_inv.png
new file mode 100644
index 0000000..ae4e412
--- /dev/null
+++ b/textures/shared_door_inv.png
Binary files differ