diff --git a/mods/ITEMS/REDSTONE/mesecons_delayer/init.lua b/mods/ITEMS/REDSTONE/mesecons_delayer/init.lua index 481c60f1c6..884ff8ad73 100644 --- a/mods/ITEMS/REDSTONE/mesecons_delayer/init.lua +++ b/mods/ITEMS/REDSTONE/mesecons_delayer/init.lua @@ -1,6 +1,6 @@ -- Function that get the input/output rules of the delayer local delayer_get_output_rules = function(node) - local rules = {{x = 0, y = 0, z = 1}} + local rules = {{x = -1, y = 0, z = 0}} for i = 0, node.param2 do rules = mesecon:rotate_rules_left(rules) end @@ -8,7 +8,7 @@ local delayer_get_output_rules = function(node) end local delayer_get_input_rules = function(node) - local rules = {{x = 0, y = 0, z = -1}} + local rules = {{x = 1, y = 0, z = 0}} for i = 0, node.param2 do rules = mesecon:rotate_rules_left(rules) end @@ -62,26 +62,26 @@ local boxes if i == 1 then boxes = { { -8/16, -8/16, -8/16, 8/16, -6/16, 8/16 }, -- the main slab - { 6/16, -6/16, -1/16, 4/16, -1/16, 1/16}, -- still torch - { 0/16, -6/16, -1/16, 2/16, -1/16, 1/16}, -- moved torch + { -1/16, -6/16, 6/16, 1/16, -1/16, 4/16}, -- still torch + { -1/16, -6/16, 0/16, 1/16, -1/16, 2/16}, -- moved torch } elseif i == 2 then boxes = { { -8/16, -8/16, -8/16, 8/16, -6/16, 8/16 }, -- the main slab - { 6/16, -6/16, -1/16, 4/16, -1/16, 1/16}, -- still torch - { -2/16, -6/16, -1/16, 0/16, -1/16, 1/16}, -- moved torch + { -1/16, -6/16, 6/16, 1/16, -1/16, 4/16}, -- still torch + { -1/16, -6/16, -2/16, 1/16, -1/16, 0/16}, -- moved torch } elseif i == 3 then boxes = { { -8/16, -8/16, -8/16, 8/16, -6/16, 8/16 }, -- the main slab - { 6/16, -6/16, -1/16, 4/16, -1/16, 1/16}, -- still torch - { -4/16, -6/16, -1/16, -2/16, -1/16, 1/16}, -- moved torch + { -1/16, -6/16, 6/16, 1/16, -1/16, 4/16}, -- still torch + { -1/16, -6/16, -4/16, 1/16, -1/16, -2/16}, -- moved torch } elseif i == 4 then boxes = { { -8/16, -8/16, -8/16, 8/16, -6/16, 8/16 }, -- the main slab - { 6/16, -6/16, -1/16, 4/16, -1/16, 1/16}, -- still torch - { -6/16, -6/16, -1/16, -4/16, -1/16, 1/16}, -- moved torch + { -1/16, -6/16, 6/16, 1/16, -1/16, 4/16}, -- still torch + { -1/16, -6/16, -6/16, 1/16, -1/16, -4/16}, -- moved torch } end @@ -100,11 +100,11 @@ minetest.register_node("mesecons_delayer:delayer_off_"..tostring(i), { drawtype = "nodebox", tiles = { "mesecons_delayer_off.png", - "mesecons_delayer_bottom.png", - "mesecons_delayer_ends_off.png", - "mesecons_delayer_ends_off.png", + "stairs_stone_slab_top.png", "mesecons_delayer_sides_off.png", - "mesecons_delayer_sides_off.png" + "mesecons_delayer_sides_off.png", + "mesecons_delayer_ends_off.png", + "mesecons_delayer_ends_off.png", }, wield_image = "mesecons_delayer_off.png", walkable = true, @@ -156,16 +156,16 @@ minetest.register_node("mesecons_delayer:delayer_off_"..tostring(i), { minetest.register_node("mesecons_delayer:delayer_on_"..tostring(i), { - description = "You hacker you", + description = "Redstone Repeater (Powered)", _doc_items_create_entry = false, drawtype = "nodebox", tiles = { "mesecons_delayer_on.png", - "mesecons_delayer_bottom.png", - "mesecons_delayer_ends_on.png", - "mesecons_delayer_ends_on.png", + "stairs_stone_slab_top.png", "mesecons_delayer_sides_on.png", - "mesecons_delayer_sides_on.png" + "mesecons_delayer_sides_on.png", + "mesecons_delayer_ends_on.png", + "mesecons_delayer_ends_on.png", }, walkable = true, selection_box = { diff --git a/mods/ITEMS/REDSTONE/mesecons_delayer/textures/mesecons_delayer_bottom.png b/mods/ITEMS/REDSTONE/mesecons_delayer/textures/mesecons_delayer_bottom.png deleted file mode 100644 index fe188df194..0000000000 Binary files a/mods/ITEMS/REDSTONE/mesecons_delayer/textures/mesecons_delayer_bottom.png and /dev/null differ diff --git a/mods/ITEMS/REDSTONE/mesecons_delayer/textures/mesecons_delayer_ends_off.png b/mods/ITEMS/REDSTONE/mesecons_delayer/textures/mesecons_delayer_ends_off.png index 13bc7938ad..0e2a6e32c2 100644 Binary files a/mods/ITEMS/REDSTONE/mesecons_delayer/textures/mesecons_delayer_ends_off.png and b/mods/ITEMS/REDSTONE/mesecons_delayer/textures/mesecons_delayer_ends_off.png differ diff --git a/mods/ITEMS/REDSTONE/mesecons_delayer/textures/mesecons_delayer_ends_on.png b/mods/ITEMS/REDSTONE/mesecons_delayer/textures/mesecons_delayer_ends_on.png index ebebb10cc8..fba9f21a71 100644 Binary files a/mods/ITEMS/REDSTONE/mesecons_delayer/textures/mesecons_delayer_ends_on.png and b/mods/ITEMS/REDSTONE/mesecons_delayer/textures/mesecons_delayer_ends_on.png differ diff --git a/mods/ITEMS/REDSTONE/mesecons_delayer/textures/mesecons_delayer_off.png b/mods/ITEMS/REDSTONE/mesecons_delayer/textures/mesecons_delayer_off.png index 4d2a26da76..b9d96bc5de 100644 Binary files a/mods/ITEMS/REDSTONE/mesecons_delayer/textures/mesecons_delayer_off.png and b/mods/ITEMS/REDSTONE/mesecons_delayer/textures/mesecons_delayer_off.png differ diff --git a/mods/ITEMS/REDSTONE/mesecons_delayer/textures/mesecons_delayer_on.png b/mods/ITEMS/REDSTONE/mesecons_delayer/textures/mesecons_delayer_on.png index 80f66d8d07..30092283e8 100644 Binary files a/mods/ITEMS/REDSTONE/mesecons_delayer/textures/mesecons_delayer_on.png and b/mods/ITEMS/REDSTONE/mesecons_delayer/textures/mesecons_delayer_on.png differ diff --git a/mods/ITEMS/REDSTONE/mesecons_delayer/textures/mesecons_delayer_sides_off.png b/mods/ITEMS/REDSTONE/mesecons_delayer/textures/mesecons_delayer_sides_off.png index 20d5e34ce5..c86463f45d 100644 Binary files a/mods/ITEMS/REDSTONE/mesecons_delayer/textures/mesecons_delayer_sides_off.png and b/mods/ITEMS/REDSTONE/mesecons_delayer/textures/mesecons_delayer_sides_off.png differ diff --git a/mods/ITEMS/REDSTONE/mesecons_delayer/textures/mesecons_delayer_sides_on.png b/mods/ITEMS/REDSTONE/mesecons_delayer/textures/mesecons_delayer_sides_on.png index e4c5b011c4..29a5981fe7 100644 Binary files a/mods/ITEMS/REDSTONE/mesecons_delayer/textures/mesecons_delayer_sides_on.png and b/mods/ITEMS/REDSTONE/mesecons_delayer/textures/mesecons_delayer_sides_on.png differ