summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Patrick Guerrero <jeanpatrick.guerrero@gmail.com>2018-11-18 18:40:58 +0100
committerJean-Patrick Guerrero <jeanpatrick.guerrero@gmail.com>2018-11-18 18:40:58 +0100
commit4d4e8f7d501f792f6c7b20850ff0e2a0012d2980 (patch)
tree99a6846911ff33559a7c1a3f32b610b9882470f2
parent6d3f8ce32abc6412343386af020ef2347468d44f (diff)
Rotate arrow images
-rw-r--r--init.lua9
-rw-r--r--textures/craftguide_arrow.pngbin242 -> 230 bytes
-rw-r--r--textures/craftguide_shapeless.pngbin227 -> 305 bytes
3 files changed, 4 insertions, 5 deletions
diff --git a/init.lua b/init.lua
index d3bda44..e448783 100644
--- a/init.lua
+++ b/init.lua
@@ -127,8 +127,7 @@ function craftguide:get_recipe(iX, iY, xoffset, recipe_num, recipes, show_usage)
formspec = formspec ..
"image[" .. (xoffset + 0.2) .. "," ..
(iY + (sfinv_only and 2.2 or 1.7)) ..
- ";0.5,0.5;craftguide_" .. icon .. ".png" ..
- (icon == "shapeless" and "^[transformFX" or "") .. "]"
+ ";0.5,0.5;craftguide_" .. icon .. ".png]"
end
local cooktime = width
@@ -176,7 +175,7 @@ function craftguide:get_recipe(iX, iY, xoffset, recipe_num, recipes, show_usage)
formspec = formspec ..
"image[" .. (xoffset + 0.08) .. "," ..
(iY + (sfinv_only and 2.85 or 2.35)) ..
- ";0.9,0.7;craftguide_arrow.png^[transformFX]" ..
+ ";0.9,0.7;craftguide_arrow.png]" ..
"item_image_button[" .. (xoffset + 1) .. "," ..
(iY + (sfinv_only and 2.7 or 2.2)) .. ";" ..
@@ -189,7 +188,7 @@ function craftguide:get_recipe(iX, iY, xoffset, recipe_num, recipes, show_usage)
formspec = formspec ..
"image[" .. (xoffset + 2) .. "," ..
(iY + (sfinv_only and 2.83 or 2.33)) ..
- ";0.6,0.4;craftguide_arrow.png^[transformFX]" ..
+ ";0.6,0.4;craftguide_arrow.png]" ..
"image[" .. (xoffset + 2.6) .. "," ..
(iY + (sfinv_only and 2.68 or 2.18)) ..
@@ -264,7 +263,7 @@ function craftguide:get_formspec(player_name, is_fuel)
formspec = formspec ..
"image[" .. (xoffset + 0.08) .. "," ..
(iY + (sfinv_only and 2.85 or 2.35)) ..
- ";0.9,0.7;craftguide_arrow.png^[transformFX]" ..
+ ";0.9,0.7;craftguide_arrow.png]" ..
"item_image_button[" .. (xoffset - 1) .. "," ..
(iY + (sfinv_only and 2.7 or 2.2)) ..
diff --git a/textures/craftguide_arrow.png b/textures/craftguide_arrow.png
index e8d3598..7171e82 100644
--- a/textures/craftguide_arrow.png
+++ b/textures/craftguide_arrow.png
Binary files differ
diff --git a/textures/craftguide_shapeless.png b/textures/craftguide_shapeless.png
index 179d317..8d68863 100644
--- a/textures/craftguide_shapeless.png
+++ b/textures/craftguide_shapeless.png
Binary files differ