Compare commits

...

3 Commits
1.12 ... 1.12.1

Author SHA1 Message Date
4483f60cbc Fix icon not showing 2020-04-06 14:39:08 +02:00
79693f5c88 Update screenshot 2020-04-05 22:57:08 +02:00
b8c491a489 Remove useless textures 2020-04-05 22:53:27 +02:00
4 changed files with 4 additions and 3 deletions

View File

@ -19,4 +19,4 @@ For developers, `craftguide` also has a [modding API](https://github.com/minetes
Love this mod? Donations are appreciated: https://www.paypal.me/jpg84240
![Preview2](https://i.imgur.com/w7KMS9G.png)
![Preview2](https://content.minetest.net/uploads/wAGr5rE3fI.png)

View File

@ -741,6 +741,8 @@ local function get_output_fs(data, fs, L)
if sub(icon, 1, 18) == "craftguide_furnace" then
fs[#fs + 1] = fmt(FMT.animated_image,
pos_x, pos_y + L.spacing, 0.5, 0.5, PNG.furnace_anim, 8, 180)
else
fs[#fs + 1] = fmt(FMT.image, pos_x, pos_y + L.spacing, 0.5, 0.5, icon)
end
local tooltip = custom_recipe and custom_recipe.description or
@ -925,8 +927,7 @@ local function get_panels(data, fs)
if not sfinv_only then
panels.favs = {height = 2.19}
else
panels = data.show_usages and
{{dat = data.usages}} or {{dat = data.recipes}}
panels = data.show_usages and {{dat = data.usages}} or {{dat = data.recipes}}
end
for k, v in pairs(panels) do

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB