diff options
author | webdesigner97 <Christian_D_97@gmx.de> | 2013-10-19 14:49:06 +0200 |
---|---|---|
committer | webdesigner97 <Christian_D_97@gmx.de> | 2013-10-19 14:49:06 +0200 |
commit | 114d1b173cd318e1a80d276b67b8d70362547a1b (patch) | |
tree | 158969d16bf33958b84f7dfd8ba12dc869a85497 | |
parent | f4a043769c508777ea38192d12ad37ab8cb92c20 (diff) | |
download | roads-114d1b173cd318e1a80d276b67b8d70362547a1b.tar roads-114d1b173cd318e1a80d276b67b8d70362547a1b.tar.gz roads-114d1b173cd318e1a80d276b67b8d70362547a1b.tar.bz2 roads-114d1b173cd318e1a80d276b67b8d70362547a1b.tar.xz roads-114d1b173cd318e1a80d276b67b8d70362547a1b.zip |
Added drop = '' to some nodes
-rw-r--r-- | roadsigns/pole.lua | 3 | ||||
-rw-r--r-- | streetlamps/init.lua | 4 | ||||
-rw-r--r-- | trafficlight/init.lua | 8 |
3 files changed, 14 insertions, 1 deletions
diff --git a/roadsigns/pole.lua b/roadsigns/pole.lua index 8f2f7ba..478afb9 100644 --- a/roadsigns/pole.lua +++ b/roadsigns/pole.lua @@ -48,7 +48,8 @@ minetest.register_node(":streets:pole_top",{ paramtype = "light", paramtype2 = "facedir", drawtype = "nodebox", - can_dig = function(pos,player) + drop = "", + can_dig = function() return false end, node_box = { diff --git a/streetlamps/init.lua b/streetlamps/init.lua index d813de9..ac08cde 100644 --- a/streetlamps/init.lua +++ b/streetlamps/init.lua @@ -39,6 +39,7 @@ minetest.register_node(":streets:streetlamp_basic_controller",{ end }) minetest.register_node(":streets:streetlamp_basic_bottom",{ + drop = "", description = "Street lamp", tiles = {"streets_lamps_basic_bottom.png"}, groups = {cracky = 1}, @@ -59,6 +60,7 @@ minetest.register_node(":streets:streetlamp_basic_bottom",{ end }) minetest.register_node(":streets:streetlamp_basic_middle",{ + drop = "", description = "U cheater U", groups = {cracky = 1, not_in_creative_inventory = 1}, tiles = {"streets_lamps_basic_middle.png"}, @@ -73,6 +75,7 @@ minetest.register_node(":streets:streetlamp_basic_middle",{ } }) minetest.register_node(":streets:streetlamp_basic_top_off",{ + drop = "", description = "U cheater U", groups = {cracky = 1, not_in_creative_inventory = 1}, paramtype = "light", @@ -87,6 +90,7 @@ minetest.register_node(":streets:streetlamp_basic_top_off",{ } }) minetest.register_node(":streets:streetlamp_basic_top_on",{ + drop = "", description = "U cheater U", groups = {cracky = 1, not_in_creative_inventory = 1}, tiles = {"streets_lamps_basic_top_top.png","streets_lamps_basic_top_top.png","streets_lamps_basic_top.png","streets_lamps_basic_top.png","streets_lamps_basic_top.png","streets_lamps_basic_top.png"}, diff --git a/trafficlight/init.lua b/trafficlight/init.lua index 44e463a..48d7a62 100644 --- a/trafficlight/init.lua +++ b/trafficlight/init.lua @@ -3,6 +3,7 @@ ]] minetest.register_node(":streets:trafficlight_bottom",{ description = "Cheater", + drop = "", groups = {not_in_creative_inventory = 1}, paramtype = "light", paramtype2 = "facedir", @@ -20,6 +21,7 @@ minetest.register_node(":streets:trafficlight_bottom",{ minetest.register_node(":streets:trafficlight_middle",{ description = "Cheater!", + drop = "", groups = {cracky = 1, not_in_creative_inventory = 1}, paramtype = "light", drawtype = "nodebox", @@ -117,6 +119,7 @@ minetest.register_node(":streets:trafficlight_controller",{ minetest.register_node(":streets:trafficlight_top_off",{ description = "U cheater U", + drop = "", groups = {cracky = 1, not_in_creative_inventory = 1}, paramtype = "light", paramtype2 = "facedir", @@ -134,6 +137,7 @@ minetest.register_node(":streets:trafficlight_top_off",{ minetest.register_node(":streets:trafficlight_top_red",{ description = "U cheater U", + drop = "", groups = {cracky = 1, not_in_creative_inventory = 1}, paramtype = "light", paramtype2 = "facedir", @@ -152,6 +156,7 @@ minetest.register_node(":streets:trafficlight_top_red",{ minetest.register_node(":streets:trafficlight_top_yellow",{ description = "U cheater U", + drop = "", groups = {cracky = 1, not_in_creative_inventory = 1}, paramtype = "light", paramtype2 = "facedir", @@ -170,6 +175,7 @@ minetest.register_node(":streets:trafficlight_top_yellow",{ minetest.register_node(":streets:trafficlight_top_redyellow",{ description = "U cheater U", + drop = "", groups = {cracky = 1, not_in_creative_inventory = 1}, paramtype = "light", paramtype2 = "facedir", @@ -188,6 +194,7 @@ minetest.register_node(":streets:trafficlight_top_redyellow",{ minetest.register_node(":streets:trafficlight_top_green",{ description = "U cheater U", + drop = "", groups = {cracky = 1, not_in_creative_inventory = 1}, paramtype = "light", paramtype2 = "facedir", @@ -206,6 +213,7 @@ minetest.register_node(":streets:trafficlight_top_green",{ minetest.register_node(":streets:trafficlight_top_warn",{ description = "U cheater U", + drop = "", groups = {cracky = 1, not_in_creative_inventory = 1}, paramtype = "light", paramtype2 = "facedir", |