diff options
author | Jeija <norrepli@googlemail.com> | 2012-08-01 07:45:07 -0700 |
---|---|---|
committer | Jeija <norrepli@googlemail.com> | 2012-08-01 07:45:07 -0700 |
commit | 150da24db6947306ae09340bb80249f922a84af8 (patch) | |
tree | d673343390b9ce57f333104df69081e343314c5d /mesecons_delayer | |
parent | 7568182f4ae2a3cb4ede1c1f81fd26ae9252b841 (diff) | |
parent | 20d1b9dd524931204e8a69eefaf60a534247acf9 (diff) | |
download | mesecons-150da24db6947306ae09340bb80249f922a84af8.tar mesecons-150da24db6947306ae09340bb80249f922a84af8.tar.gz mesecons-150da24db6947306ae09340bb80249f922a84af8.tar.bz2 mesecons-150da24db6947306ae09340bb80249f922a84af8.tar.xz mesecons-150da24db6947306ae09340bb80249f922a84af8.zip |
Merge pull request #6 from Kotolegokot/master
Some modifications and fixed.
Diffstat (limited to 'mesecons_delayer')
-rw-r--r-- | mesecons_delayer/init.lua | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/mesecons_delayer/init.lua b/mesecons_delayer/init.lua index 1a0da70..03d73c2 100644 --- a/mesecons_delayer/init.lua +++ b/mesecons_delayer/init.lua @@ -35,7 +35,7 @@ minetest.register_node("mesecons_delayer:delayer_off_2", { type = "fixed", fixed = {-0.5, -0.5, -0.5, 0.5, -0.35, 0.5}, }, - groups = {bendy=2,snappy=1,dig_immediate=2}, + groups = {bendy=2,snappy=1,dig_immediate=2,not_in_creative_inventory=1}, paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, @@ -57,7 +57,7 @@ minetest.register_node("mesecons_delayer:delayer_off_3", { type = "fixed", fixed = {-0.5, -0.5, -0.5, 0.5, -0.35, 0.5}, }, - groups = {bendy=2,snappy=1,dig_immediate=2}, + groups = {bendy=2,snappy=1,dig_immediate=2,not_in_creative_inventory=1}, paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, @@ -79,7 +79,7 @@ minetest.register_node("mesecons_delayer:delayer_off_4", { type = "fixed", fixed = {-0.5, -0.5, -0.5, 0.5, -0.35, 0.5}, }, - groups = {bendy=2,snappy=1,dig_immediate=2}, + groups = {bendy=2,snappy=1,dig_immediate=2,not_in_creative_inventory=1}, paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, @@ -87,10 +87,6 @@ minetest.register_node("mesecons_delayer:delayer_off_4", { drop = 'mesecons_delayer:delayer_off_1', }) - - - - minetest.register_node("mesecons_delayer:delayer_on_1", { description = "Delayer", drawtype = "nodebox", @@ -105,7 +101,7 @@ minetest.register_node("mesecons_delayer:delayer_on_1", { type = "fixed", fixed = {-0.5, -0.5, -0.5, 0.5, -0.35, 0.5}, }, - groups = {bendy=2,snappy=1,dig_immediate=2}, + groups = {bendy=2,snappy=1,dig_immediate=2,not_in_creative_inventory=1}, paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, @@ -127,7 +123,7 @@ minetest.register_node("mesecons_delayer:delayer_on_2", { type = "fixed", fixed = {-0.5, -0.5, -0.5, 0.5, -0.35, 0.5}, }, - groups = {bendy=2,snappy=1,dig_immediate=2}, + groups = {bendy=2,snappy=1,dig_immediate=2,not_in_creative_inventory=1}, paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, @@ -149,7 +145,7 @@ minetest.register_node("mesecons_delayer:delayer_on_3", { type = "fixed", fixed = {-0.5, -0.5, -0.5, 0.5, -0.35, 0.5}, }, - groups = {bendy=2,snappy=1,dig_immediate=2}, + groups = {bendy=2,snappy=1,dig_immediate=2,not_in_creative_inventory=1}, paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, @@ -171,7 +167,7 @@ minetest.register_node("mesecons_delayer:delayer_on_4", { type = "fixed", fixed = {-0.5, -0.5, -0.5, 0.5, -0.35, 0.5}, }, - groups = {bendy=2,snappy=1,dig_immediate=2}, + groups = {bendy=2,snappy=1,dig_immediate=2,not_in_creative_inventory=1}, paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, |