summaryrefslogtreecommitdiff
path: root/jeija/button.lua
diff options
context:
space:
mode:
authorAnthony Zhang <azhang9@gmail.com>2012-01-26 16:39:03 -0500
committerAnthony Zhang <azhang9@gmail.com>2012-01-26 16:39:03 -0500
commitcf37e5e4396a4e5d5aab2a469ec922dc08754100 (patch)
tree8f06ef06110e7fb286d556fce711c8eaa882b9c4 /jeija/button.lua
parentcbe6b4f7bef4ae930afafe3f8cc667a256b3c2e6 (diff)
downloadmesecons-cf37e5e4396a4e5d5aab2a469ec922dc08754100.tar
mesecons-cf37e5e4396a4e5d5aab2a469ec922dc08754100.tar.gz
mesecons-cf37e5e4396a4e5d5aab2a469ec922dc08754100.tar.bz2
mesecons-cf37e5e4396a4e5d5aab2a469ec922dc08754100.tar.xz
mesecons-cf37e5e4396a4e5d5aab2a469ec922dc08754100.zip
Implement the other suggestions.
Diffstat (limited to 'jeija/button.lua')
-rw-r--r--jeija/button.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/jeija/button.lua b/jeija/button.lua
index 1d210f9..0b1232c 100644
--- a/jeija/button.lua
+++ b/jeija/button.lua
@@ -4,7 +4,8 @@ minetest.register_node("jeija:wall_button_off", {
tile_images = {"jeija_wall_button_off.png"},
inventory_image = "jeija_wall_button_off.png",
paramtype = "light",
- wall_mounted = true,
+ paramtype2 = "wallmounted",
+ legacy_wallmounted = true,
walkable = false,
selection_box = {
type = "wallmounted",
@@ -16,7 +17,8 @@ minetest.register_node("jeija:wall_button_on", {
tile_images = {"jeija_wall_button_on.png"},
inventory_image = "jeija_wall_button_on.png",
paramtype = "light",
- wall_mounted = true,
+ paramtype2 = "wallmounted",
+ legacy_wallmounted = true,
walkable = false,
selection_box = {
type = "wallmounted",