diff options
author | DonBatman <don@serfdon.com> | 2015-11-16 20:32:01 -0800 |
---|---|---|
committer | DonBatman <don@serfdon.com> | 2015-11-16 20:32:01 -0800 |
commit | 9fbf8a87f4ff9f96215de41c08db1fc0634b252e (patch) | |
tree | 47b69a499fb1ed9165400e89228703110a249e6d /mario/blocks.lua | |
parent | ac479f81aa9440c9240e16501e5bfcb74a4ee271 (diff) |
made blocks not pointable
Diffstat (limited to 'mario/blocks.lua')
-rw-r--r-- | mario/blocks.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mario/blocks.lua b/mario/blocks.lua index 2dbb6c7..dda207e 100644 --- a/mario/blocks.lua +++ b/mario/blocks.lua @@ -5,6 +5,7 @@ minetest.register_node("mario:platform",{ }, drawtype = "normal", paramtype = "light", + pointable = false, groups = {cracky = 1,not_in_creative_inventory=1}, }) minetest.register_node("mario:grey",{ @@ -15,6 +16,7 @@ minetest.register_node("mario:grey",{ drawtype = "normal", paramtype = "light", light_source = 14, + pointable = false, groups = {cracky = 1,not_in_creative_inventory=1}, }) minetest.register_node("mario:border",{ @@ -24,6 +26,7 @@ minetest.register_node("mario:border",{ }, drawtype = "normal", paramtype = "light", + pointable = false, groups = {cracky = 1,not_in_creative_inventory=1}, }) minetest.register_node("mario:brick",{ @@ -33,6 +36,7 @@ minetest.register_node("mario:brick",{ }, drawtype = "normal", paramtype = "light", + pointable = false, groups = {cracky = 1,not_in_creative_inventory=1}, }) minetest.register_node("mario:glass", { @@ -40,6 +44,7 @@ minetest.register_node("mario:glass", { tiles = {"mario_grey.png","mario_glass.png"}, drawtype = "glasslike_framed", paramtype = "light", + pointable = false, groups = {cracky = 1,not_in_creative_inventory=1}, }) minetest.register_node("mario:coin", { @@ -48,6 +53,7 @@ minetest.register_node("mario:coin", { drawtype = "plantlike", paramtype = "light", walkable = false, + pointable = false, groups = {cracky = 1,not_in_creative_inventory=1}, on_destruct = function(pos) minetest.sound_play("mario-coin", {pos = pos,max_hear_distance = 40,gain = 10.0,}) @@ -85,6 +91,7 @@ minetest.register_node("mario:mushroom",{ drawtype = "nodebox", paramtype = "light", walkable = false, + pointable = false, groups = {cracky = 1,not_in_creative_inventory=1}, node_box = nbox, on_timer = function(pos, dtime) @@ -109,6 +116,7 @@ minetest.register_node("mario:mushroom_green",{ drawtype = "nodebox", paramtype = "light", walkable = false, + pointable = false, groups = {cracky = 1,not_in_creative_inventory=1}, node_box = nbox, on_timer = function(pos, dtime) |