This commit is contained in:
jill 2021-01-25 21:45:06 +03:00
parent 057e9d3d41
commit 18d9d681b8
Signed by: oat
GPG key ID: DD83A9617A252385
2 changed files with 5 additions and 1 deletions

View file

@ -82,7 +82,7 @@ local headerbuttons = {
sprite = 'starpotion',
tooltip = 'buy star potion',
openanim = 1,
open = true,
open = false,
closed = false,
func = function()
starpotionequipped = true

View file

@ -212,6 +212,10 @@ return function(feesh, dt, food, headerbuttons, money)
headerbuttons[4].open = true
headerbuttons[4].openanim = 0
end
if not headerbuttons[5].open and not headerbuttons[5].closed then
headerbuttons[5].open = true
headerbuttons[5].openanim = 0
end
end
if n.lifetime > FISH_AGE_KING and n.size == 2 then
n.size = 3