summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeija <norrepli@gmail.com>2012-08-05 13:37:20 +0200
committerJeija <norrepli@gmail.com>2012-08-05 13:37:20 +0200
commitdf7edcb35c39df211582d1801a12af99e8532679 (patch)
tree33d2f256d37b2d94f54eda027922fc9cbde359b4
parent80b2da6c85a05ad23f5e3a07f1c664c6609a9ceb (diff)
downloadmesecons-df7edcb35c39df211582d1801a12af99e8532679.tar
mesecons-df7edcb35c39df211582d1801a12af99e8532679.tar.gz
mesecons-df7edcb35c39df211582d1801a12af99e8532679.tar.bz2
mesecons-df7edcb35c39df211582d1801a12af99e8532679.tar.xz
mesecons-df7edcb35c39df211582d1801a12af99e8532679.zip
Make lamps and pressure plates walkable
-rw-r--r--mesecons_lamp/init.lua6
-rw-r--r--mesecons_pressureplates/init.lua8
2 files changed, 7 insertions, 7 deletions
diff --git a/mesecons_lamp/init.lua b/mesecons_lamp/init.lua
index 1ece13a..cad6870 100644
--- a/mesecons_lamp/init.lua
+++ b/mesecons_lamp/init.lua
@@ -6,7 +6,7 @@ minetest.register_node("mesecons_lamp:lamp_on", {
paramtype2 = "wallmounted",
legacy_wallmounted = true,
sunlight_propagates = true,
- walkable = false,
+ walkable = true,
light_source = LIGHT_MAX,
node_box = {
type = "wallmounted",
@@ -32,7 +32,7 @@ minetest.register_node("mesecons_lamp:lamp_off", {
paramtype = "light",
paramtype2 = "wallmounted",
sunlight_propagates = true,
- walkable = false,
+ walkable = true,
node_box = {
type = "wallmounted",
wall_top = {-0.3125,0.375,-0.3125,0.3125,0.5,0.3125},
@@ -70,4 +70,4 @@ mesecon:register_on_signal_off(function(pos, node)
minetest.env:add_node(pos, {name="mesecons_lamp:lamp_off", param2 = node.param2})
nodeupdate(pos)
end
-end) \ No newline at end of file
+end)
diff --git a/mesecons_pressureplates/init.lua b/mesecons_pressureplates/init.lua
index ae213c6..8a47b22 100644
--- a/mesecons_pressureplates/init.lua
+++ b/mesecons_pressureplates/init.lua
@@ -7,7 +7,7 @@ minetest.register_node("mesecons_pressureplates:pressure_plate_wood_off", {
wield_image = "jeija_pressure_plate_wood_off.png",
paramtype = "light",
is_ground_content = true,
- walkable = false,
+ walkable = true,
selection_box = {
type = "fixed",
fixed = {-0.45, -0.5, -0.45, 0.45, -0.45, 0.45},
@@ -25,7 +25,7 @@ minetest.register_node("mesecons_pressureplates:pressure_plate_wood_on", {
tile_images = {"jeija_pressure_plate_wood_on.png"},
paramtype = "light",
is_ground_content = true,
- walkable = false,
+ walkable = true,
selection_box = {
type = "fixed",
fixed = {-0.45, -0.5, -0.45, 0.45, -0.48, 0.45},
@@ -89,7 +89,7 @@ minetest.register_node("mesecons_pressureplates:pressure_plate_stone_off", {
wield_image = "jeija_pressure_plate_stone_off.png",
paramtype = "light",
is_ground_content = true,
- walkable = false,
+ walkable = true,
selection_box = {
type = "fixed",
fixed = {-0.45, -0.5, -0.45, 0.45, -0.45, 0.45},
@@ -107,7 +107,7 @@ minetest.register_node("mesecons_pressureplates:pressure_plate_stone_on", {
tile_images = {"jeija_pressure_plate_stone_on.png"},
paramtype = "light",
is_ground_content = true,
- walkable = false,
+ walkable = true,
selection_box = {
type = "fixed",
fixed = {-0.45, -0.5, -0.45, 0.45, -0.48, 0.45},