This commit is contained in:
jill 2021-01-25 21:06:32 +03:00
parent 0cf9e962b6
commit e764082a80
Signed by: oat
GPG Key ID: DD83A9617A252385
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ function self.fish(x, y, type)
local fish = {
x = x,
y = y,
size = 2, -- 0 for small, 1 for medium, 2 for big, 3 for king, 4 for carnivore
size = type, -- 0 for small, 1 for medium, 2 for big, 3 for king, 4 for carnivore
eattimer = 0 + math.random() * 2, -- starts out hungry, with a 2s delay
moneytimer = 10 + math.random() * 5, -- min 10s before it can make money
dead = false,

View File

@ -183,7 +183,7 @@ return function(feesh, dt, food, headerbuttons, money)
if n.size == 2 or n.size == 3 then
n.star = true
else
n.eattimer = -9e9
n.eattimer = FISH_FOOD_DEAD
playSound('explode')
end
else