mirror of
https://github.com/minetest-mods/craftguide.git
synced 2024-11-22 19:03:43 +01:00
Replace fuels output icon by fire
This commit is contained in:
parent
69c6a3c739
commit
0da36aad98
4
init.lua
4
init.lua
@ -95,7 +95,7 @@ function craftguide:get_recipe(player_name, tooltipl, item, recipe_num, recipes)
|
||||
if recipe_type == "cooking" then
|
||||
formspec = formspec..
|
||||
"image["..(xoffset-0.8)..","..(iY+1)..
|
||||
".5;0.5,0.5;default_furnace_front.png]"
|
||||
".5;0.5,0.5;craftguide_furnace.png]"
|
||||
end
|
||||
|
||||
local items = recipes[recipe_num].items
|
||||
@ -189,7 +189,7 @@ function craftguide:get_formspec(player_name, is_fuel)
|
||||
"item_image_button["..xoffset..","..(iY+2)..
|
||||
";1,1;"..data.item..";"..data.item..";]"..
|
||||
tooltip.."image["..(xoffset-2)..","..
|
||||
(iY+2)..";1,1;craftguide_none.png]"
|
||||
(iY+2)..";1,1;craftguide_fire.png]"
|
||||
else
|
||||
formspec = formspec..
|
||||
self:get_recipe(player_name, tooltip, data.item,
|
||||
|
BIN
textures/craftguide_fire.png
Normal file
BIN
textures/craftguide_fire.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.1 KiB |
BIN
textures/craftguide_furnace.png
Normal file
BIN
textures/craftguide_furnace.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.3 KiB |
Binary file not shown.
Before Width: | Height: | Size: 287 B |
Loading…
Reference in New Issue
Block a user