Files
tbd-station-14/Content.Shared/Stunnable/KnockdownStatusEffectComponent.cs
Princess Cheeseballs 55335cce0f Crawling Fixes 1: Dragons and Borgs can't do the worm. (#39084)
* Init Commit

* Remove unused code, fix stun visuals bug

* Update Content.Shared/Stunnable/SharedStunSystem.cs

* Some initial changes

* first batch of changes

* Commit

* One line cleanup

* KnockdownStatusEffect ain't worth it.

* Fix 2 bugs

* Fixes

* Remove that actually,

* Commit

* Better solution

* Alright final commit I think

* Add better remarks

* How the fuck did this not get pushed???

* Wait no why was my ryder trying to push that??? I didn't make that change! DON'T DO THAT!!!

* Review

* Don't log that

---------

Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
Co-authored-by: ScarKy0 <106310278+ScarKy0@users.noreply.github.com>
2025-08-10 10:49:29 -07:00

28 lines
825 B
C#

using Robust.Shared.GameStates;
namespace Content.Shared.Stunnable;
/// <summary>
/// Knockdown as a status effect.
/// </summary>
[RegisterComponent, NetworkedComponent, Access(typeof(SharedStunSystem))]
public sealed partial class KnockdownStatusEffectComponent : Component
{
/// <summary>
/// Should this knockdown only affect crawlers?
/// </summary>
/// <remarks>
/// If your status effect doesn't come paired with <see cref="StunnedStatusEffectComponent"/>
/// Or if your status effect doesn't whitelist itself to only those with <see cref="CrawlerComponent"/>
/// Then you need to set this to true.
/// </remarks>
[DataField]
public bool Crawl;
/// <summary>
/// Should we drop items when we fall?
/// </summary>
[DataField]
public bool Drop = true;
}