diff options
author | Jeija <norrepli@gmail.com> | 2012-06-21 20:33:01 +0200 |
---|---|---|
committer | Jeija <norrepli@gmail.com> | 2012-06-21 20:33:01 +0200 |
commit | 87442f0c31dd4d4ae0d31ff9415f29502d5c1975 (patch) | |
tree | c3cc89dda52c55a215f7cec57cd458d5dc0d0d27 | |
parent | bfc594a8d06d7279165f5ddac36bcec8b1eb3896 (diff) | |
download | mesecons-87442f0c31dd4d4ae0d31ff9415f29502d5c1975.tar mesecons-87442f0c31dd4d4ae0d31ff9415f29502d5c1975.tar.gz mesecons-87442f0c31dd4d4ae0d31ff9415f29502d5c1975.tar.bz2 mesecons-87442f0c31dd4d4ae0d31ff9415f29502d5c1975.tar.xz mesecons-87442f0c31dd4d4ae0d31ff9415f29502d5c1975.zip |
Experimental 3D Delayer
-rw-r--r-- | mesecons_delayer/init.lua | 112 | ||||
-rw-r--r-- | mesecons_delayer/textures/mesecons_delayer_off_1.png | bin | 600 -> 244 bytes | |||
-rw-r--r-- | mesecons_delayer/textures/mesecons_delayer_off_2.png | bin | 593 -> 249 bytes | |||
-rw-r--r-- | mesecons_delayer/textures/mesecons_delayer_off_3.png | bin | 594 -> 245 bytes | |||
-rw-r--r-- | mesecons_delayer/textures/mesecons_delayer_off_4.png | bin | 589 -> 243 bytes | |||
-rw-r--r-- | mesecons_delayer/textures/mesecons_delayer_on_1.png | bin | 603 -> 243 bytes | |||
-rw-r--r-- | mesecons_delayer/textures/mesecons_delayer_on_2.png | bin | 596 -> 245 bytes | |||
-rw-r--r-- | mesecons_delayer/textures/mesecons_delayer_on_3.png | bin | 598 -> 244 bytes | |||
-rw-r--r-- | mesecons_delayer/textures/mesecons_delayer_on_4.png | bin | 594 -> 242 bytes |
9 files changed, 96 insertions, 16 deletions
diff --git a/mesecons_delayer/init.lua b/mesecons_delayer/init.lua index 6eb9d7b..1a0da70 100644 --- a/mesecons_delayer/init.lua +++ b/mesecons_delayer/init.lua @@ -1,49 +1,89 @@ minetest.register_node("mesecons_delayer:delayer_off_1", { description = "Delayer", - drawtype = "raillike", + drawtype = "nodebox", tile_images = {"mesecons_delayer_off_1.png"}, inventory_image = "mesecons_delayer_off_1.png", wield_image = "mesecons_delayer_off_1.png", walkable = false, - selection_box = {type = "fixed",}, + selection_box = { + type = "fixed", + fixed = {-0.5, -0.5, -0.5, 0.5, -0.35, 0.5}, + }, + node_box = { + type = "fixed", + fixed = {-0.5, -0.5, -0.5, 0.5, -0.35, 0.5}, + }, groups = {bendy=2,snappy=1,dig_immediate=2}, paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + is_ground_content = true, drop = 'mesecons_delayer:delayer_off_1', }) minetest.register_node("mesecons_delayer:delayer_off_2", { description = "Delayer", - drawtype = "raillike", + drawtype = "nodebox", tile_images = {"mesecons_delayer_off_2.png"}, inventory_image = "mesecons_delayer_off_2.png", walkable = false, - selection_box = {type = "fixed",}, + selection_box = { + type = "fixed", + fixed = {-0.5, -0.5, -0.5, 0.5, -0.35, 0.5}, + }, + node_box = { + type = "fixed", + fixed = {-0.5, -0.5, -0.5, 0.5, -0.35, 0.5}, + }, groups = {bendy=2,snappy=1,dig_immediate=2}, paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + is_ground_content = true, drop = 'mesecons_delayer:delayer_off_1', }) minetest.register_node("mesecons_delayer:delayer_off_3", { description = "Delayer", - drawtype = "raillike", + drawtype = "nodebox", tile_images = {"mesecons_delayer_off_3.png"}, inventory_image = "mesecons_delayer_off_3.png", walkable = false, - selection_box = {type = "fixed",}, + selection_box = { + type = "fixed", + fixed = {-0.5, -0.5, -0.5, 0.5, -0.35, 0.5}, + }, + node_box = { + type = "fixed", + fixed = {-0.5, -0.5, -0.5, 0.5, -0.35, 0.5}, + }, groups = {bendy=2,snappy=1,dig_immediate=2}, paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + is_ground_content = true, drop = 'mesecons_delayer:delayer_off_1', }) minetest.register_node("mesecons_delayer:delayer_off_4", { description = "Delayer", - drawtype = "raillike", + drawtype = "nodebox", tile_images = {"mesecons_delayer_off_4.png"}, inventory_image = "mesecons_delayer_off_4.png", walkable = false, - selection_box = {type = "fixed",}, + selection_box = { + type = "fixed", + fixed = {-0.5, -0.5, -0.5, 0.5, -0.35, 0.5}, + }, + node_box = { + type = "fixed", + fixed = {-0.5, -0.5, -0.5, 0.5, -0.35, 0.5}, + }, groups = {bendy=2,snappy=1,dig_immediate=2}, paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + is_ground_content = true, drop = 'mesecons_delayer:delayer_off_1', }) @@ -53,49 +93,89 @@ minetest.register_node("mesecons_delayer:delayer_off_4", { minetest.register_node("mesecons_delayer:delayer_on_1", { description = "Delayer", - drawtype = "raillike", + drawtype = "nodebox", tile_images = {"mesecons_delayer_on_1.png"}, inventory_image = "mesecons_delayer_on_1.png", walkable = false, - selection_box = {type = "fixed",}, + selection_box = { + type = "fixed", + fixed = {-0.5, -0.5, -0.5, 0.5, -0.35, 0.5}, + }, + node_box = { + type = "fixed", + fixed = {-0.5, -0.5, -0.5, 0.5, -0.35, 0.5}, + }, groups = {bendy=2,snappy=1,dig_immediate=2}, paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + is_ground_content = true, drop = 'mesecons_delayer:delayer_off_1', }) minetest.register_node("mesecons_delayer:delayer_on_2", { description = "Delayer", - drawtype = "raillike", + drawtype = "nodebox", tile_images = {"mesecons_delayer_on_2.png"}, inventory_image = "mesecons_delayer_on_2.png", walkable = false, - selection_box = {type = "fixed",}, + selection_box = { + type = "fixed", + fixed = {-0.5, -0.5, -0.5, 0.5, -0.35, 0.5}, + }, + node_box = { + type = "fixed", + fixed = {-0.5, -0.5, -0.5, 0.5, -0.35, 0.5}, + }, groups = {bendy=2,snappy=1,dig_immediate=2}, paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + is_ground_content = true, drop = 'mesecons_delayer:delayer_off_1', }) minetest.register_node("mesecons_delayer:delayer_on_3", { description = "Delayer", - drawtype = "raillike", + drawtype = "nodebox", tile_images = {"mesecons_delayer_on_3.png"}, inventory_image = "mesecons_delayer_on_3.png", walkable = false, - selection_box = {type = "fixed",}, + selection_box = { + type = "fixed", + fixed = {-0.5, -0.5, -0.5, 0.5, -0.35, 0.5}, + }, + node_box = { + type = "fixed", + fixed = {-0.5, -0.5, -0.5, 0.5, -0.35, 0.5}, + }, groups = {bendy=2,snappy=1,dig_immediate=2}, paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + is_ground_content = true, drop = 'mesecons_delayer:delayer_off_1', }) minetest.register_node("mesecons_delayer:delayer_on_4", { description = "Delayer", - drawtype = "raillike", + drawtype = "nodebox", tile_images = {"mesecons_delayer_on_4.png"}, inventory_image = "mesecons_delayer_on_4.png", walkable = false, - selection_box = {type = "fixed",}, + selection_box = { + type = "fixed", + fixed = {-0.5, -0.5, -0.5, 0.5, -0.35, 0.5}, + }, + node_box = { + type = "fixed", + fixed = {-0.5, -0.5, -0.5, 0.5, -0.35, 0.5}, + }, groups = {bendy=2,snappy=1,dig_immediate=2}, paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + is_ground_content = true, drop = 'mesecons_delayer:delayer_off_1', }) diff --git a/mesecons_delayer/textures/mesecons_delayer_off_1.png b/mesecons_delayer/textures/mesecons_delayer_off_1.png Binary files differindex e93db1e..7c58076 100644 --- a/mesecons_delayer/textures/mesecons_delayer_off_1.png +++ b/mesecons_delayer/textures/mesecons_delayer_off_1.png diff --git a/mesecons_delayer/textures/mesecons_delayer_off_2.png b/mesecons_delayer/textures/mesecons_delayer_off_2.png Binary files differindex dae0f40..91f2b6b 100644 --- a/mesecons_delayer/textures/mesecons_delayer_off_2.png +++ b/mesecons_delayer/textures/mesecons_delayer_off_2.png diff --git a/mesecons_delayer/textures/mesecons_delayer_off_3.png b/mesecons_delayer/textures/mesecons_delayer_off_3.png Binary files differindex 3704a60..6564bcf 100644 --- a/mesecons_delayer/textures/mesecons_delayer_off_3.png +++ b/mesecons_delayer/textures/mesecons_delayer_off_3.png diff --git a/mesecons_delayer/textures/mesecons_delayer_off_4.png b/mesecons_delayer/textures/mesecons_delayer_off_4.png Binary files differindex 96248b5..ef05d3c 100644 --- a/mesecons_delayer/textures/mesecons_delayer_off_4.png +++ b/mesecons_delayer/textures/mesecons_delayer_off_4.png diff --git a/mesecons_delayer/textures/mesecons_delayer_on_1.png b/mesecons_delayer/textures/mesecons_delayer_on_1.png Binary files differindex 0a4b466..5804969 100644 --- a/mesecons_delayer/textures/mesecons_delayer_on_1.png +++ b/mesecons_delayer/textures/mesecons_delayer_on_1.png diff --git a/mesecons_delayer/textures/mesecons_delayer_on_2.png b/mesecons_delayer/textures/mesecons_delayer_on_2.png Binary files differindex b85f7a0..02eb698 100644 --- a/mesecons_delayer/textures/mesecons_delayer_on_2.png +++ b/mesecons_delayer/textures/mesecons_delayer_on_2.png diff --git a/mesecons_delayer/textures/mesecons_delayer_on_3.png b/mesecons_delayer/textures/mesecons_delayer_on_3.png Binary files differindex 0d6f805..c0e8376 100644 --- a/mesecons_delayer/textures/mesecons_delayer_on_3.png +++ b/mesecons_delayer/textures/mesecons_delayer_on_3.png diff --git a/mesecons_delayer/textures/mesecons_delayer_on_4.png b/mesecons_delayer/textures/mesecons_delayer_on_4.png Binary files differindex 86847be..1e1273e 100644 --- a/mesecons_delayer/textures/mesecons_delayer_on_4.png +++ b/mesecons_delayer/textures/mesecons_delayer_on_4.png |