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 = { local fish = {
x = x, x = x,
y = y, 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 eattimer = 0 + math.random() * 2, -- starts out hungry, with a 2s delay
moneytimer = 10 + math.random() * 5, -- min 10s before it can make money moneytimer = 10 + math.random() * 5, -- min 10s before it can make money
dead = false, dead = false,

View file

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