|
@@ -149,6 +149,12 @@ function Person.dead:enter()
|
|
|
sound:setPitch(.8 + love.math.random() * .4)
|
|
|
end)
|
|
|
self.screamed = true
|
|
|
+ elseif love.math.random() < .3 and self.gender == 'male' then
|
|
|
+ self.screamSound = ctx.sound:play('scream5', function(sound)
|
|
|
+ sound:setVolume(.75)
|
|
|
+ sound:setPitch(.9 + love.math.random() * .2)
|
|
|
+ end)
|
|
|
+ self.screamed = true
|
|
|
end
|
|
|
end
|
|
|
|