Update dogs
This commit is contained in:
parent
98f525b30f
commit
e439875efd
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
After Width: | Height: | Size: 52 KiB |
|
@ -48,12 +48,11 @@ local wolf = {
|
||||||
--end head code
|
--end head code
|
||||||
|
|
||||||
collisionbox = {-0.3, -0.00, -0.3, 0.3, 0.85, 0.3},
|
collisionbox = {-0.3, -0.00, -0.3, 0.3, 0.85, 0.3},
|
||||||
visual = "mesh",
|
visual = "sprite",
|
||||||
mesh = "mobs_mc_wolf.b3d",
|
|
||||||
textures = {
|
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,
|
makes_footstep_sound = true,
|
||||||
sounds = {
|
sounds = {
|
||||||
attack = "mobs_mc_wolf_bark",
|
attack = "mobs_mc_wolf_bark",
|
||||||
|
@ -139,11 +138,7 @@ local colors = {
|
||||||
}
|
}
|
||||||
|
|
||||||
local get_dog_textures = function(color)
|
local get_dog_textures = function(color)
|
||||||
if colors[color] then
|
return {"mobs_mc_wolf_sprite.png"}
|
||||||
return {"mobs_mc_wolf_tame.png^(mobs_mc_wolf_collar.png^[colorize:"..colors[color]..":192)"}
|
|
||||||
else
|
|
||||||
return nil
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Tamed wolf (aka “dog”)
|
-- Tamed wolf (aka “dog”)
|
||||||
|
|
Loading…
Reference in New Issue