From fc9ad963d7fdef159d10b4adce1bfa2583168fb7 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sun, 8 Aug 2021 15:15:54 +0200 Subject: [PATCH] Fix compass confusing West and East --- mods/nav/compass.lua | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/mods/nav/compass.lua b/mods/nav/compass.lua index 32c9dc7..9b3a4ed 100644 --- a/mods/nav/compass.lua +++ b/mods/nav/compass.lua @@ -61,8 +61,8 @@ minetest.register_craftitem( description = d, _tt_help = t, - inventory_image = "nav_compass_inventory_1.png", - wield_image = wield_image_1, + inventory_image = "nav_compass_inventory_1.png^[transformR90", + wield_image = wield_image_1 .. "^[transformR90", groups = {nav_compass = 1, not_in_creative_inventory = 1}, stack_max = 1, @@ -74,8 +74,8 @@ minetest.register_craftitem( description = d, _tt_help = t, - inventory_image = "nav_compass_inventory_0.png^[transformR270", - wield_image = wield_image_0 .. "^[transformR270", + inventory_image = "nav_compass_inventory_0.png^[transformR90", + wield_image = wield_image_0 .. "^[transformR90", groups = {nav_compass = 1, not_in_creative_inventory = 1}, stack_max = 1, @@ -87,8 +87,8 @@ minetest.register_craftitem( description = d, _tt_help = t, - inventory_image = "nav_compass_inventory_1.png^[transformR270", - wield_image = wield_image_1 .. "^[transformR270", + inventory_image = "nav_compass_inventory_1.png^[transformR180", + wield_image = wield_image_1 .. "^[transformR180", groups = {nav_compass = 1, not_in_creative_inventory = 1}, stack_max = 1, @@ -114,8 +114,8 @@ minetest.register_craftitem( description = d, _tt_help = t, - inventory_image = "nav_compass_inventory_1.png^[transformR180", - wield_image = wield_image_1 .. "^[transformR180", + inventory_image = "nav_compass_inventory_1.png^[transformR270", + wield_image = wield_image_1 .. "^[transformR270", groups = {nav_compass = 1, not_in_creative_inventory = 1}, stack_max = 1, @@ -127,8 +127,8 @@ minetest.register_craftitem( description = d, _tt_help = t, - inventory_image = "nav_compass_inventory_0.png^[transformR90", - wield_image = wield_image_0 .. "^[transformR90", + inventory_image = "nav_compass_inventory_0.png^[transformR270", + wield_image = wield_image_0 .. "^[transformR270", groups = {nav_compass = 1, not_in_creative_inventory = 1}, stack_max = 1, @@ -140,8 +140,8 @@ minetest.register_craftitem( description = d, _tt_help = t, - inventory_image = "nav_compass_inventory_1.png^[transformR90", - wield_image = wield_image_1 .. "^[transformR90", + inventory_image = "nav_compass_inventory_1.png", + wield_image = wield_image_1, groups = {nav_compass = 1, not_in_creative_inventory = 1}, stack_max = 1,