From ad41028b4d0612d602b681387e6afe246afe59da Mon Sep 17 00:00:00 2001 From: Jean-Patrick Guerrero Date: Sun, 28 Feb 2016 16:32:12 +0100 Subject: [PATCH] Fix mispelling : Leaver -> Lever --- mechanisms.lua | 12 ++++++------ recipes.lua | 2 +- .../{xdecor_leaver_off.png => xdecor_lever_off.png} | Bin .../{xdecor_leaver_on.png => xdecor_lever_on.png} | Bin 4 files changed, 7 insertions(+), 7 deletions(-) rename textures/{xdecor_leaver_off.png => xdecor_lever_off.png} (100%) rename textures/{xdecor_leaver_on.png => xdecor_lever_on.png} (100%) diff --git a/mechanisms.lua b/mechanisms.lua index 596f808..33d90e2 100644 --- a/mechanisms.lua +++ b/mechanisms.lua @@ -63,9 +63,9 @@ for _, m in pairs({"wooden", "stone"}) do }) end -xdecor.register("leaver_off", { - description = "Leaver", - tiles = {"xdecor_leaver_off.png"}, +xdecor.register("lever_off", { + description = "Lever", + tiles = {"xdecor_lever_off.png"}, drawtype = "nodebox", node_box = xdecor.pixelbox(16, {{2, 1, 15, 12, 14, 1}}), groups = {cracky=3, oddly_breakable_by_hand=2}, @@ -84,14 +84,14 @@ xdecor.register("leaver_off", { end }) -xdecor.register("leaver_on", { - tiles = {"xdecor_leaver_on.png"}, +xdecor.register("lever_on", { + tiles = {"xdecor_lever_on.png"}, drawtype = "nodebox", node_box = xdecor.pixelbox(16, {{2, 1, 15, 12, 14, 1}}), groups = {cracky=3, oddly_breakable_by_hand=2, not_in_creative_inventory=1}, sounds = default.node_sound_stone_defaults(), sunlight_propagates = true, on_rotate = screwdriver.rotate_simple, - drop = "xdecor:leaver_off" + drop = "xdecor:lever_off" }) diff --git a/recipes.lua b/recipes.lua index 93e8168..bdc22e3 100644 --- a/recipes.lua +++ b/recipes.lua @@ -222,7 +222,7 @@ minetest.register_craft({ }) minetest.register_craft({ - output = "xdecor:leaver_off", + output = "xdecor:lever_off", recipe = { {"group:stick"}, {"group:stone"} diff --git a/textures/xdecor_leaver_off.png b/textures/xdecor_lever_off.png similarity index 100% rename from textures/xdecor_leaver_off.png rename to textures/xdecor_lever_off.png diff --git a/textures/xdecor_leaver_on.png b/textures/xdecor_lever_on.png similarity index 100% rename from textures/xdecor_leaver_on.png rename to textures/xdecor_lever_on.png