1
0
Fork 0

Remove frustration mob sound

This commit is contained in:
Wuzzy 2019-01-31 07:45:42 +01:00
parent 139b1000ff
commit 27823dbbb3
2 changed files with 0 additions and 4 deletions

View File

@ -1298,9 +1298,6 @@ local smart_mobs = function(self, s, p, dist, dtime)
-- will try again in 2 second -- will try again in 2 second
self.path.stuck_timer = stuck_timeout - 2 self.path.stuck_timer = stuck_timeout - 2
-- frustration! cant find the damn path :(
mob_sound(self, self.sounds.random, true)
else else
-- yay i found path -- yay i found path
mob_sound(self, self.sounds.war_cry, true) mob_sound(self, self.sounds.war_cry, true)

View File

@ -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 'sounds' this is a table with sounds of the mob
'distance' maximum distance sounds can be heard, default is 10. 'distance' maximum distance sounds can be heard, default is 10.
'random' played randomly from time to time. 'random' played randomly from time to time.
also played when mob is frustrated for not finding the path.
also played for overfeeding animal. 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.
'attack' what you hear when being attacked. 'attack' what you hear when being attacked.