Update dogs

This commit is contained in:
Lizzy Fleckenstein 2022-01-27 17:01:26 +01:00
parent 98f525b30f
commit e439875efd
Signed by untrusted user: LizzyFleckenstein03
GPG Key ID: 06927A5199D6C9B2
11 changed files with 4 additions and 9 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

View File

@ -48,12 +48,11 @@ local wolf = {
--end head code
collisionbox = {-0.3, -0.00, -0.3, 0.3, 0.85, 0.3},
visual = "mesh",
mesh = "mobs_mc_wolf.b3d",
visual = "sprite",
textures = {
{"mobs_mc_wolf.png"},
{"mobs_mc_wolf_sprite.png"},
},
visual_size = {x=3, y=3},
visual_size = {x=1.5, y=3},
makes_footstep_sound = true,
sounds = {
attack = "mobs_mc_wolf_bark",
@ -139,11 +138,7 @@ local colors = {
}
local get_dog_textures = function(color)
if colors[color] then
return {"mobs_mc_wolf_tame.png^(mobs_mc_wolf_collar.png^[colorize:"..colors[color]..":192)"}
else
return nil
end
return {"mobs_mc_wolf_sprite.png"}
end
-- Tamed wolf (aka “dog”)