[Sponsor] M4ury fluff (#460)

This commit is contained in:
HitPanda
2023-10-01 21:55:21 +03:00
committed by Aviu00
parent 98984b895a
commit 4d4e2ef319
19 changed files with 150 additions and 8 deletions

View File

@@ -451,6 +451,15 @@ namespace Content.Shared.Movement.Systems
return true;
}
//WD start
if (_inventory.TryGetSlotEntity(uid, "neck", out var neck)
&& TryComp<FootstepModifierComponent>(neck, out var modifierComponent))
{
sound = modifierComponent.FootstepSoundCollection;
return true;
}
//WD end
return TryGetFootstepSound(uid, xform, shoes != null, out sound, tileDef: tileDef);
}