Adds footstep sound variety, makes diving and clown suits have unique footstep sounds!

https://puu.sh/yQ8fs/61e12f15c6.webm
TODO: Get rid of the "damagesoundtype" system and replace it with simple "tag" checking to allow customizability from content pack side
Fix damagemodifier sounds never being played (I've never once heard LimbArmor play on anything but mantis)
This commit is contained in:
Alex Noir
2017-12-29 17:41:18 +03:00
parent ed98a6bc0b
commit 2cb0ee73be
31 changed files with 118 additions and 34 deletions
@@ -49,11 +49,11 @@ namespace Barotrauma
switch (Operator)
{
case "==":
if (property.GetValue().Equals(floatValue == null ? floatValue : Value))
if (property.GetValue().Equals(floatValue == null ? Value : floatValue))
return true;
break;
case "!=":
if (property.GetValue().Equals(floatValue == null ? floatValue : Value))
if (property.GetValue().Equals(floatValue == null ? Value : floatValue))
return true;
break;
case ">":