Remove reduntant empty bottle images
This commit is contained in:
parent
d131cbadef
commit
860317168b
Binary file not shown.
Before Width: | Height: | Size: 240 B After Width: | Height: | Size: 243 B |
|
@ -42,8 +42,8 @@ minetest.register_craftitem("mcl_potions:glass_bottle", {
|
||||||
_tt_help = S("Liquid container"),
|
_tt_help = S("Liquid container"),
|
||||||
_doc_items_longdesc = S("A glass bottle is used as a container for liquids and can be used to collect water directly."),
|
_doc_items_longdesc = S("A glass bottle is used as a container for liquids and can be used to collect water directly."),
|
||||||
_doc_items_usagehelp = S("To collect water, it on a cauldron with water (which removes a level of water) or any water source (which removes no water)."),
|
_doc_items_usagehelp = S("To collect water, it on a cauldron with water (which removes a level of water) or any water source (which removes no water)."),
|
||||||
inventory_image = "mcl_potions_potion_bottle_empty.png",
|
inventory_image = "mcl_potions_potion_bottle.png",
|
||||||
wield_image = "mcl_potions_potion_bottle_empty.png",
|
wield_image = "mcl_potions_potion_bottle.png",
|
||||||
groups = {brewitem=1},
|
groups = {brewitem=1},
|
||||||
liquids_pointable = true,
|
liquids_pointable = true,
|
||||||
on_place = function(itemstack, placer, pointed_thing)
|
on_place = function(itemstack, placer, pointed_thing)
|
||||||
|
@ -149,7 +149,7 @@ local potion_image = function(colorstring, opacity)
|
||||||
if not opacity then
|
if not opacity then
|
||||||
opacity = 127
|
opacity = 127
|
||||||
end
|
end
|
||||||
return "mcl_potions_potion_overlay.png^[colorize:"..colorstring..":"..tostring(opacity).."^mcl_potions_potion_bottle_drinkable.png"
|
return "mcl_potions_potion_overlay.png^[colorize:"..colorstring..":"..tostring(opacity).."^mcl_potions_potion_bottle.png"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ local potion_image = function(colorstring, opacity)
|
||||||
if not opacity then
|
if not opacity then
|
||||||
opacity = 127
|
opacity = 127
|
||||||
end
|
end
|
||||||
return "mcl_potions_potion_overlay.png^[colorize:"..colorstring..":"..tostring(opacity).."^mcl_potions_potion_bottle_drinkable.png"
|
return "mcl_potions_potion_overlay.png^[colorize:"..colorstring..":"..tostring(opacity).."^mcl_potions_potion_bottle.png"
|
||||||
end
|
end
|
||||||
|
|
||||||
local how_to_drink = S("Use the “Place” key to drink it.")
|
local how_to_drink = S("Use the “Place” key to drink it.")
|
||||||
|
|
Before Width: | Height: | Size: 214 B After Width: | Height: | Size: 214 B |
Binary file not shown.
Before Width: | Height: | Size: 214 B |
Loading…
Reference in New Issue
Block a user