new formspec textures (thanks Sirrobzeroone)
This commit is contained in:
parent
adfcc53d3d
commit
93727d52eb
@ -29,6 +29,7 @@ re-arranged code, tweaked lucky blocks, updated translations
|
||||
- 1.8 - Added glass and bottles for Champagne, Brandy and Coffee Liquor (thanks Felfa)
|
||||
- 1.9 - Added wine:add_drink() function to create drink glasses and bottles
|
||||
- 1.95 - Tweaked code to accept 2 item recipes, fixed mineclone2 rum recipe and ui recipes
|
||||
- 1.98 - New formspec textures by Sirrobzeroone
|
||||
|
||||
Lucky Blocks: 18
|
||||
|
||||
|
11
init.lua
11
init.lua
@ -402,16 +402,17 @@ end
|
||||
local function winebarrel_formspec(item_percent, brewing)
|
||||
|
||||
return "size[8,9]"
|
||||
.. "list[current_name;src;1,1;2,1;]"
|
||||
.. "list[current_name;dst;5,1;1,1;]"
|
||||
.. "image[0.25,0.5;5.5,4.25;wine_barrel_fs_bg.png]"
|
||||
.. "list[current_name;src;1.55,1.8;2,1;]"
|
||||
.. "list[current_name;dst;6.5,1.8;1,1;]"
|
||||
.. "list[current_player;main;0,5;8,4;]"
|
||||
.. "listring[current_name;dst]"
|
||||
.. "listring[current_player;main]"
|
||||
.. "listring[current_name;src]"
|
||||
.. "listring[current_player;main]"
|
||||
.. "image[3.5,1;1,1;gui_furnace_arrow_bg.png^[lowpart:"
|
||||
.. (item_percent) .. ":gui_furnace_arrow_fg.png^[transformR270]"
|
||||
.. "tooltip[3.5,1;1,1;" .. brewing .. "]"
|
||||
.. "image[5.2,1.8;1,1;wine_barrel_icon_bg.png^[lowpart:"
|
||||
.. item_percent .. ":wine_barrel_icon.png]"
|
||||
.. "tooltip[5,1.8;1,1;" .. brewing .. "]"
|
||||
end
|
||||
|
||||
|
||||
|
@ -44,3 +44,8 @@ Textures by Felfa (CC0)
|
||||
wine_coffee*.png
|
||||
wine_brandy*.png
|
||||
wine_sake_bottle.png
|
||||
|
||||
Textures by Sirrobzeroone (CC-by-3.0)
|
||||
wine_barrel_fs_bg.png
|
||||
wine_barrel_icon.png
|
||||
wine_barrel_icon_bg.png
|
||||
|
BIN
textures/wine_barrel_fs_bg.png
Normal file
BIN
textures/wine_barrel_fs_bg.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.6 KiB |
BIN
textures/wine_barrel_icon.png
Normal file
BIN
textures/wine_barrel_icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 173 B |
BIN
textures/wine_barrel_icon_bg.png
Normal file
BIN
textures/wine_barrel_icon_bg.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 114 B |
Loading…
x
Reference in New Issue
Block a user