* Stun animation * Commit 2 * Almost working commit * Best commit * Minor cleanup and value adjustments * Fix animation data getting wasted and cleaned up some stuff * Don't animate if dead * AppearanceSystem is for chumps * Cleanup * More cleanup * More cleanup * Half working commit * Documentation * Works * ComponentHandleState my beloved * AppearanceComp compatibility * Address review * Borgar * AND NOW THE END IS NEAR * AppearanceSystem compliance (Real) * Don't need to log missing there * I actually hate mob prototypes so much you don't even know --------- Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
17 lines
391 B
C#
17 lines
391 B
C#
using Robust.Shared.Utility;
|
|
|
|
namespace Content.Shared.Stunnable;
|
|
|
|
/// <summary>
|
|
/// This is used to listen to incoming events from the AppearanceSystem
|
|
/// </summary>
|
|
[RegisterComponent]
|
|
public sealed partial class StunVisualsComponent : Component
|
|
{
|
|
[DataField]
|
|
public ResPath StarsPath = new ("Mobs/Effects/stunned.rsi");
|
|
|
|
[DataField]
|
|
public string State = "stunned";
|
|
}
|