rename textures to avoid name collisions

This commit is contained in:
whosit 2021-05-27 16:32:51 +03:00
parent 040c325087
commit 8fb45f1e94
12 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ local TARGET_ABOVE = false -- place waypoint inside the block or above it
local POINT_TO_OBJECTS = false -- unimplemented
local POINT_TO_LIQUIDS = true
local COMPASS_RANGE = 180
local WAYPOINT_ICON = "waypoint.png"
local WAYPOINT_ICON = "waypoint_compass_waypoint.png"
local WAYPOINT_SCALE = {x=-1/16*9,y=-1}
local waypoint_lib = dofile(minetest.get_modpath("waypoint_compass") .. "/waypoint_lib.lua")
@ -110,7 +110,7 @@ local function show_hud_waypoint(player, compass_item_meta)
local waypoint = waypoint_lib.WaypointHUD:new(player, waypoint_pos,
waypoint_name, waypoint_color,
WAYPOINT_ICON, WAYPOINT_SCALE, hexcolor,
size, alignment, "arrow_%03d.png", hexcolor, 9,
size, alignment, "waypoint_compass_arrow_%03d.png", hexcolor, 9,
true)
waypoint:show(player)
@ -340,7 +340,7 @@ minetest.register_tool(
"waypoint_compass:compass", {
description = "Waypoint compass\n(sneak+place to set point)",
--short_description = "Waypoint compass",
inventory_image = "Waypoint_compass_inventory_image.png",
inventory_image = "waypoint_compass_inventory_image.png",
wield_scale = {x = 0.5, y = 0.5, z = 0.5},
range = 2.0, -- TODO what's the good range?
on_place = function(itemstack, placer, pointed_thing)

View File

Before

Width:  |  Height:  |  Size: 801 B

After

Width:  |  Height:  |  Size: 801 B

View File

Before

Width:  |  Height:  |  Size: 932 B

After

Width:  |  Height:  |  Size: 932 B

View File

Before

Width:  |  Height:  |  Size: 933 B

After

Width:  |  Height:  |  Size: 933 B

View File

Before

Width:  |  Height:  |  Size: 900 B

After

Width:  |  Height:  |  Size: 900 B

View File

Before

Width:  |  Height:  |  Size: 939 B

After

Width:  |  Height:  |  Size: 939 B

View File

Before

Width:  |  Height:  |  Size: 925 B

After

Width:  |  Height:  |  Size: 925 B

View File

Before

Width:  |  Height:  |  Size: 935 B

After

Width:  |  Height:  |  Size: 935 B

View File

Before

Width:  |  Height:  |  Size: 887 B

After

Width:  |  Height:  |  Size: 887 B

View File

Before

Width:  |  Height:  |  Size: 898 B

After

Width:  |  Height:  |  Size: 898 B

View File

Before

Width:  |  Height:  |  Size: 5.9 KiB

After

Width:  |  Height:  |  Size: 5.9 KiB

View File

Before

Width:  |  Height:  |  Size: 501 B

After

Width:  |  Height:  |  Size: 501 B