summaryrefslogtreecommitdiff
path: root/pacmine/blocks.lua
diff options
context:
space:
mode:
authorDonBatman <don@serfdon.com>2015-11-16 20:32:01 -0800
committerDonBatman <don@serfdon.com>2015-11-16 20:32:01 -0800
commit9fbf8a87f4ff9f96215de41c08db1fc0634b252e (patch)
tree47b69a499fb1ed9165400e89228703110a249e6d /pacmine/blocks.lua
parentac479f81aa9440c9240e16501e5bfcb74a4ee271 (diff)
made blocks not pointable
Diffstat (limited to 'pacmine/blocks.lua')
-rw-r--r--pacmine/blocks.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/pacmine/blocks.lua b/pacmine/blocks.lua
index 2773142..262901b 100644
--- a/pacmine/blocks.lua
+++ b/pacmine/blocks.lua
@@ -39,6 +39,7 @@ minetest.register_node("pacmine:"..itm, {
paramtype = "light",
paramtype2 = "facedir",
light_source = lit,
+ pointable = false,
walkable = tf,
groups = {disable_jump = 1, immortal=1, not_in_creative_inventory = 1},
selection_box = sbox,
@@ -53,6 +54,7 @@ minetest.register_node("pacmine:glass", {
drawtype = "glasslike",
paramtype = "light",
paramtype2 = "facedir",
+ pointable = false,
groups = {immortal=1,not_in_creative_inventory = 1},
selection_box = cbox,
collision_box = cbox,
@@ -65,6 +67,7 @@ minetest.register_node("pacmine:glassw", {
paramtype = "light",
paramtype2 = "facedir",
walkable = false,
+ pointable = false,
groups = {immortal=1,not_in_creative_inventory = 1},
selection_box = cbox,
colision_box = cbox,