make fish not sink, die in air, still not mvp functional
This commit is contained in:
parent
895c47a965
commit
e460f1072c
@ -15,7 +15,12 @@ function fl_brains.fish_brain(self)
|
||||
end
|
||||
|
||||
if mobkit.timer(self,1) then
|
||||
mobkit.animate(self,"walk")
|
||||
mobkit.hq_aqua_roam(self,10,1)
|
||||
if not self.isinliquid then
|
||||
fl_wildlife.flash_color(self)
|
||||
mobkit.hurt(self,1)
|
||||
else
|
||||
mobkit.animate(self,"walk")
|
||||
mobkit.hq_aqua_roam(self,10,1)
|
||||
end
|
||||
end
|
||||
end
|
@ -19,7 +19,7 @@ minetest.register_entity("fl_wildlife:riverfish", {
|
||||
get_staticdata = mobkit.statfunc, --who knows, no documentation (probably save entity data)
|
||||
|
||||
--mobkit properties
|
||||
buoyancy = 1.0, --how it works in water
|
||||
buoyancy = 0.99, --how it works in water
|
||||
max_speed = 2, --how fast it can go
|
||||
jump_height = 1.1, --jumping height? not sure how this is different from mte stepheight
|
||||
view_range = 24, --how far it can see
|
||||
|
Loading…
x
Reference in New Issue
Block a user