diff --git a/mods/ENTITIES/mcl_mobs/api.lua b/mods/ENTITIES/mcl_mobs/api.lua index bd3d1984b..2ec6657fd 100644 --- a/mods/ENTITIES/mcl_mobs/api.lua +++ b/mods/ENTITIES/mcl_mobs/api.lua @@ -124,9 +124,10 @@ local do_attack = function(self, player) self.attack = player self.state = "attack" - if random(0, 100) < 90 then - mob_sound(self, self.sounds.war_cry, true) - end + -- TODO: Implement war_cry sound without being annoying + --if random(0, 100) < 90 then + --mob_sound(self, self.sounds.war_cry, true) + --end end @@ -1300,7 +1301,8 @@ local smart_mobs = function(self, s, p, dist, dtime) self.path.stuck_timer = stuck_timeout - 2 else -- yay i found path - mob_sound(self, self.sounds.war_cry, true) + -- TODO: Implement war_cry sound without being annoying + --mob_sound(self, self.sounds.war_cry, true) set_velocity(self, self.walk_velocity) -- follow path now that it has it diff --git a/mods/ENTITIES/mcl_mobs/api.txt b/mods/ENTITIES/mcl_mobs/api.txt index b00d1a717..2c0db0ef2 100644 --- a/mods/ENTITIES/mcl_mobs/api.txt +++ b/mods/ENTITIES/mcl_mobs/api.txt @@ -133,7 +133,7 @@ functions needed for the mob to work properly which contains the following: 'distance' maximum distance sounds can be heard, default is 10. 'random' played randomly from time to time. also played for overfeeding animal. - 'war_cry' what you hear when mob starts to attack player. + 'war_cry' what you hear when mob starts to attack player. (currently disabled) 'attack' what you hear when being attacked. 'shoot_attack' sound played when mob shoots. 'damage' sound heard when mob is hurt.