Added dog bark.

master
NathanSalapat 2016-04-12 11:20:01 -05:00
parent 8271991621
commit bc029c0663
3 changed files with 7 additions and 3 deletions

View File

@ -4,6 +4,7 @@ mobs:register_mob("farm_mobs:dog", {
type = "animal", type = "animal",
passive = false, passive = false,
attack_type = "dogfight", attack_type = "dogfight",
group_attack = true,
reach = 2, reach = 2,
damage = 4, damage = 4,
hp_min = 5, hp_min = 5,
@ -18,9 +19,10 @@ mobs:register_mob("farm_mobs:dog", {
{"farm_mobs_dog1.png"}, {"farm_mobs_dog1.png"},
}, },
makes_footstep_sound = true, makes_footstep_sound = true,
-- sounds = { sounds = {
-- random = "mobs_cow", random = "farm_mobs_dog",
-- }, attack = 'farm_mobs_dog',
},
walk_velocity = 1, walk_velocity = 1,
run_velocity = 2, run_velocity = 2,
jump = true, jump = true,

View File

@ -0,0 +1,2 @@
Graphics and models by Nathan Salapat (NathanS21) CC by SA 4.0
dog bark by jorickhoofd CC by SA 3.0

BIN
sounds/farm_mobs_dog.ogg Normal file

Binary file not shown.