diff options
Diffstat (limited to 'mesecons_movestones/init.lua')
-rw-r--r-- | mesecons_movestones/init.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mesecons_movestones/init.lua b/mesecons_movestones/init.lua index 9e40be1..6441e61 100644 --- a/mesecons_movestones/init.lua +++ b/mesecons_movestones/init.lua @@ -39,9 +39,10 @@ minetest.register_node("mesecons_movestones: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"}, paramtype2 = "facedir", legacy_facedir_simple = true, - groups = {cracky=3, mesecon_effector_on = 1, mesecon_effector_off = 1}, + groups = {cracky=3}, description="Movestone", }) +mesecon:register_effector("mesecons_movestones:movestone", "mesecons_movestones:movestone") minetest.register_entity("mesecons_movestones:movestone_entity", { physical = false, @@ -116,9 +117,10 @@ minetest.register_node("mesecons_movestones:sticky_movestone", { inventory_image = minetest.inventorycube("jeija_sticky_movestone.png", "jeija_movestone_side.png", "jeija_movestone_side.png"), paramtype2 = "facedir", legacy_facedir_simple = true, - groups = {cracky=3, mesecon_effector_on = 1, mesecon_effector_off = 1}, + groups = {cracky=3}, description="Sticky Movestone", }) +mesecon:register_effector("mesecons_movestones:sticky_movestone", "mesecons_movestones:sticky_movestone") minetest.register_craft({ output = '"mesecons_movestones:sticky_movestone" 2', |