]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Stun and Stamina Visuals (#37196)
authorPrincess Cheeseballs <66055347+Princess-Cheeseballs@users.noreply.github.com>
Fri, 11 Jul 2025 12:13:11 +0000 (05:13 -0700)
committerGitHub <noreply@github.com>
Fri, 11 Jul 2025 12:13:11 +0000 (14:13 +0200)
commitac895a0db4f9478999940353f5359b976fc3e3f8
tree3b9ee5c1b626419480aa05809e1c90b5106bdaa9
parenta268a4aaccc702a4e068d13a31f06eddaaa87741
Stun and Stamina Visuals (#37196)

* 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>
12 files changed:
Content.Client/Damage/Systems/StaminaSystem.cs
Content.Client/Stunnable/StunSystem.cs
Content.Shared/Damage/Components/StaminaComponent.cs
Content.Shared/Damage/Systems/SharedStaminaSystem.cs
Content.Shared/Stunnable/SharedStunSystem.Visualizer.cs [new file with mode: 0644]
Content.Shared/Stunnable/SharedStunSystem.cs
Content.Shared/Stunnable/StunVisualsComponent.cs [new file with mode: 0644]
Content.Shared/Stunnable/StunnedComponent.cs
Resources/Prototypes/Entities/Mobs/Species/base.yml
Resources/Prototypes/Entities/Mobs/base.yml
Resources/Textures/Mobs/Effects/stunned.rsi/meta.json [new file with mode: 0644]
Resources/Textures/Mobs/Effects/stunned.rsi/stunned.png [new file with mode: 0644]