]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Electrified grille sparks effect (#15178)
authorSlava0135 <40753025+Slava0135@users.noreply.github.com>
Sat, 29 Apr 2023 20:05:10 +0000 (23:05 +0300)
committerGitHub <noreply@github.com>
Sat, 29 Apr 2023 20:05:10 +0000 (16:05 -0400)
commit4ade6f60ff2f5ced7053a9ef8ec57015f365fd96
treeb6bae272a57f1c391daa0a0c6ae6dd68c20dfd0a
parent174b28e62c10b342594478e0ff5f93398ac42bba
Electrified grille sparks effect (#15178)

* use file namespace

* shorter systems name

* replace SoundSystem with AudioSystem

* refactor update function

* refactor

* refactor 2

* remove setters

* uh oh

* remove getters

* active checks

* refactor 3

* better way

* update state

* have to remove this for now

* move electrified component to shared

* forgot this

* fix airlocks

* add effect

* Revert "move electrified component to shared"

This reverts commit 6457e8fc9c3b674a705a61034831ce6f084e2b01.

* Revert "forgot this"

This reverts commit ed361cee2d5b8b958830ba0af07fcc2627eb7845.

* functioning effects

* use animation by Aleksh

* make effect part of grille

* optimisation?

* remove timing

* file name

* only activate when touched

* refactor electrocution comp too

* make it 1 sec

* formatting

* replace all entity query with enumerator

* queue del
Content.Server/Electrocution/Components/ActivatedElectrifiedComponent.cs [new file with mode: 0644]
Content.Server/Electrocution/Components/ElectrifiedComponent.cs
Content.Server/Electrocution/Components/ElectrocutionComponent.cs
Content.Server/Electrocution/ElectrocutionSystem.cs
Content.Shared/Electrocution/SharedElectrocution.cs [new file with mode: 0644]
Resources/Prototypes/Entities/Structures/Walls/grille.yml
Resources/Textures/Effects/electricity.rsi/electrified.png [new file with mode: 0644]
Resources/Textures/Effects/electricity.rsi/meta.json [new file with mode: 0644]