Incorporate LoneWolf's model updates, sent via discord.

This commit is contained in:
Aaron Suen 2019-08-09 08:54:05 -04:00
parent 6ac8df26e6
commit f3115fce2b
4 changed files with 3 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 200 B

After

Width:  |  Height:  |  Size: 193 B

View File

@ -15,7 +15,8 @@ local anim = {
lay = {x = 58, y = 58}, lay = {x = 58, y = 58},
walk_mine = {x = 59, y = 103}, walk_mine = {x = 59, y = 103},
swim_up = {x = 105, y = 162, speed = 0.4}, swim_up = {x = 105, y = 162, speed = 0.4},
swim_down = {x = 163, y = 223, speed = 0.4} swim_down = {x = 163, y = 223, speed = 0.4},
swim_mine = {x = 224, y = 281, speed = 0.5}
} }
local function setcached(func) local function setcached(func)
@ -97,7 +98,7 @@ local function updatevisuals(player)
local v = player:get_player_velocity() local v = player:get_player_velocity()
if mine then if mine then
setanim(player, "walk_mine") setanim(player, "swim_mine")
elseif v and v.y >= -0.5 then elseif v and v.y >= -0.5 then
setanim(player, "swim_up") setanim(player, "swim_up")
else else

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB