diff --git a/configure_tool.lua b/configure_tool.lua index 463d863..1b22453 100644 --- a/configure_tool.lua +++ b/configure_tool.lua @@ -4,7 +4,7 @@ local pos1 = {} minetest.register_tool("pick_and_place:configure", { description = "Placement configuration tool", - inventory_image = "pick_and_place_plus.png^[colorize:#ffffff", + inventory_image = "pick_and_place.png^[colorize:#ffffff", stack_max = 1, range = 0, on_use = function(_, player) @@ -31,10 +31,10 @@ minetest.register_tool("pick_and_place:configure", { if pos1[playername] then -- first position already selected - pick_and_place.show_preview(playername, "pick_and_place_plus.png", "#ffffff", pointed_pos, pos1[playername]) + pick_and_place.show_preview(playername, "pick_and_place.png", "#ffffff", pointed_pos, pos1[playername]) else -- nothing selected yet - pick_and_place.show_preview(playername, "pick_and_place_plus.png", "#ffffff", pointed_pos) + pick_and_place.show_preview(playername, "pick_and_place.png", "#ffffff", pointed_pos) end end, on_deselect = function(_, player) diff --git a/handle_node.lua b/handle_node.lua index 7bfe48b..1560bad 100644 --- a/handle_node.lua +++ b/handle_node.lua @@ -20,7 +20,7 @@ end minetest.register_node("pick_and_place:handle", { description = "Pick and place handle", - tiles = {"pick_and_place_plus.png"}, + tiles = {"pick_and_place.png"}, drawtype = "allfaces", use_texture_alpha = "blend", paramtype = "light", diff --git a/pick_tool.lua b/pick_tool.lua index f82fda1..3d9e5b7 100644 --- a/pick_tool.lua +++ b/pick_tool.lua @@ -4,7 +4,7 @@ local pos1 = {} minetest.register_tool("pick_and_place:pick", { description = "Pick tool", - inventory_image = "pick_and_place_plus.png^[colorize:#00ff00", + inventory_image = "pick_and_place.png^[colorize:#00ff00", stack_max = 1, range = 0, on_use = function(_, player) @@ -35,10 +35,10 @@ minetest.register_tool("pick_and_place:pick", { if pos1[playername] then -- first position already selected - pick_and_place.show_preview(playername, "pick_and_place_plus.png", "#00ff00", pointed_pos, pos1[playername]) + pick_and_place.show_preview(playername, "pick_and_place.png", "#00ff00", pointed_pos, pos1[playername]) else -- nothing selected yet - pick_and_place.show_preview(playername, "pick_and_place_plus.png", "#00ff00", pointed_pos) + pick_and_place.show_preview(playername, "pick_and_place.png", "#00ff00", pointed_pos) end end, on_deselect = function(_, player) diff --git a/textures/pick_and_place.png b/textures/pick_and_place.png new file mode 100644 index 0000000..7beae93 Binary files /dev/null and b/textures/pick_and_place.png differ