summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--jeija/button.lua6
-rw-r--r--jeija/movestone.lua6
-rw-r--r--jeija/torches.lua6
3 files changed, 12 insertions, 6 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",
diff --git a/jeija/movestone.lua b/jeija/movestone.lua
index 8644620..85fdb38 100644
--- a/jeija/movestone.lua
+++ b/jeija/movestone.lua
@@ -60,7 +60,8 @@ end
minetest.register_node("jeija:movestone", {
tile_images = {"jeija_movestone_side.png", "jeija_movestone_side.png", "jeija_movestone_side.png", "jeija_movestone_side.png", "jeija_movestone_arrows.png", "jeija_movestone_arrows.png"},
- paramtype = "facedir_simple",
+ paramtype2 = "facedir",
+ legacy_facedir = true,
material = minetest.digprop_stonelike(0.8),
})
@@ -167,7 +168,8 @@ end)
minetest.register_node("jeija:sticky_movestone", {
tile_images = {"jeija_movestone_side.png", "jeija_movestone_side.png", "jeija_movestone_side.png", "jeija_movestone_side.png", "jeija_sticky_movestone.png", "jeija_sticky_movestone.png"},
inventory_image = minetest.inventorycube("jeija_sticky_movestone.png", "jeija_movestone_side.png", "jeija_movestone_side.png"),
- paramtype = "facedir_simple",
+ paramtype2 = "facedir",
+ legacy_facedir = true,
material = minetest.digprop_stonelike(0.8),
})
diff --git a/jeija/torches.lua b/jeija/torches.lua
index b5c650d..32c0cf2 100644
--- a/jeija/torches.lua
+++ b/jeija/torches.lua
@@ -14,7 +14,8 @@ minetest.register_node("jeija:mesecon_torch_off", {
inventory_image = "jeija_torches_off.png",
sunlight_propagates = true,
walkable = false,
- wall_mounted = true,
+ paramtype2 = "wallmounted",
+ legacy_wallmounted = true,
material = minetest.digprop_constanttime(0.5),
drop = '"jeija:mesecon_torch_on" 1',
})
@@ -26,7 +27,8 @@ minetest.register_node("jeija:mesecon_torch_on", {
paramtype = "light",
sunlight_propagates = true,
walkable = false,
- wall_mounted = true,
+ paramtype2 = "wallmounted",
+ legacy_wallmounted = true,
material = minetest.digprop_constanttime(0.5),
light_source = LIGHT_MAX-5,
})