forked from MineClone5/MineClone5
Remove frustration mob sound
This commit is contained in:
parent
139b1000ff
commit
27823dbbb3
|
@ -1298,9 +1298,6 @@ local smart_mobs = function(self, s, p, dist, dtime)
|
|||
|
||||
-- will try again in 2 second
|
||||
self.path.stuck_timer = stuck_timeout - 2
|
||||
|
||||
-- frustration! cant find the damn path :(
|
||||
mob_sound(self, self.sounds.random, true)
|
||||
else
|
||||
-- yay i found path
|
||||
mob_sound(self, self.sounds.war_cry, true)
|
||||
|
|
|
@ -132,7 +132,6 @@ functions needed for the mob to work properly which contains the following:
|
|||
'sounds' this is a table with sounds of the mob
|
||||
'distance' maximum distance sounds can be heard, default is 10.
|
||||
'random' played randomly from time to time.
|
||||
also played when mob is frustrated for not finding the path.
|
||||
also played for overfeeding animal.
|
||||
'war_cry' what you hear when mob starts to attack player.
|
||||
'attack' what you hear when being attacked.
|
||||
|
|
Loading…
Reference in New Issue