forked from MineClone5/MineClone5
Flip shapeless icon in craftguide
This commit is contained in:
parent
4c1caed41b
commit
1084be72dc
|
@ -120,9 +120,11 @@ function craftguide:get_recipe(iY, xoffset, tooltip, item, recipe_num, recipes)
|
||||||
elseif is_shapeless then
|
elseif is_shapeless then
|
||||||
formspec = formspec..
|
formspec = formspec..
|
||||||
"image["..(xoffset-0.8)..","..(iY+1)..
|
"image["..(xoffset-0.8)..","..(iY+1)..
|
||||||
".5;0.5,0.5;craftguide_shapeless.png]"
|
".5;0.5,0.5;craftguide_shapeless.png^[transformFX]"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- TODO: Make “crafting arrow” point to the right, not to the left
|
||||||
|
|
||||||
local rows = ceil(maxn(items) / width)
|
local rows = ceil(maxn(items) / width)
|
||||||
local btn_size, craftgrid_limit = 1, 5
|
local btn_size, craftgrid_limit = 1, 5
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue