Cleans up NPC and Human YAML and adds tags for Teleportable and FootstepSound (#3371)
* GlassBeaker and FirelockElectronics * Teleportable + Fixed parented Mobs * Moved the small tag stuff outta this PR, this is a MOB PR nowgit add . * FootstepSound * FootstepSound fixed * Teleportable * Added Tags
This commit is contained in:
@@ -6,6 +6,7 @@ using Content.Server.GameObjects.Components.Sound;
|
||||
using Content.Shared.Audio;
|
||||
using Content.Shared.GameObjects.Components.Inventory;
|
||||
using Content.Shared.GameObjects.Components.Movement;
|
||||
using Content.Shared.GameObjects.Components.Tag;
|
||||
using Content.Shared.GameObjects.EntitySystems;
|
||||
using Content.Shared.Maps;
|
||||
using Content.Shared.Physics;
|
||||
@@ -96,7 +97,7 @@ namespace Content.Server.GameObjects.EntitySystems
|
||||
{
|
||||
mover.StepSoundDistance = 0;
|
||||
|
||||
if (!mover.Owner.HasComponent<FootstepSoundComponent>())
|
||||
if (!mover.Owner.HasTag("FootstepSound"))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user