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>
This commit is contained in:
committed by
GitHub
parent
4e29107c89
commit
55335cce0f
@@ -6,4 +6,22 @@ namespace Content.Shared.Stunnable;
|
||||
/// Knockdown as a status effect.
|
||||
/// </summary>
|
||||
[RegisterComponent, NetworkedComponent, Access(typeof(SharedStunSystem))]
|
||||
public sealed partial class KnockdownStatusEffectComponent : Component;
|
||||
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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user