Disable footstep sounds for ghosts (#343)

* Disable footstep sounds for ghosts

Adds a check before playing footstep sounds to check if the mover is a ghost. Doesn't play footstep sounds if they are a ghost.

* Add FootstepSoundComponent

Adds FootstepSoundComponent. If a mob has this component, it will make footstep sounds. Otherwise they will not. As of this commit humans have this component and ghosts do not.
This commit is contained in:
moneyl
2019-09-20 13:42:45 -04:00
committed by Pieter-Jan Briers
parent de141c49c5
commit 0090af6b3b
3 changed files with 29 additions and 0 deletions

View File

@@ -67,4 +67,5 @@
- type: Teleportable
- type: Examiner
- type: CharacterInfo
- type: FootstepSound