]> git.smokeofanarchy.ru Git - space-station-14.git/commit
fire extinguisher using item toggle (#29906)
authordeltanedas <39013340+deltanedas@users.noreply.github.com>
Sat, 13 Jul 2024 04:17:10 +0000 (04:17 +0000)
committerGitHub <noreply@github.com>
Sat, 13 Jul 2024 04:17:10 +0000 (14:17 +1000)
commit7b590122b652096528ec69921924b3db22b27f6a
treef7734a6903ac92d295e5639ef7a1fc8b9b4a39ee
parent87fa6075b64ba097d99cbb04421a0f7dfb2662b2
fire extinguisher using item toggle (#29906)

* move SprayAttemptEvent to shared

* add SolutionTransferredEvent

* replace FireExtinguisher with SpraySafety

* update fire extinguisher yml

* invert visuals

* always handle event in solution transfer, it makes popups

* instantly fill it

* untroll

---------

Co-authored-by: deltanedas <@deltanedas:kde.org>
Content.Client/Extinguisher/FireExtinguisherComponent.cs [deleted file]
Content.Server/Extinguisher/FireExtinguisherComponent.cs [deleted file]
Content.Server/Extinguisher/FireExtinguisherSystem.cs [deleted file]
Content.Server/Fluids/EntitySystems/SpraySystem.cs
Content.Shared/Chemistry/EntitySystems/SolutionTransferSystem.cs
Content.Shared/Extinguisher/SharedFireExtinguisherComponent.cs [deleted file]
Content.Shared/Fluids/Components/SpraySafetyComponent.cs [new file with mode: 0644]
Content.Shared/Fluids/Events.cs
Content.Shared/Fluids/SpraySafetySystem.cs [new file with mode: 0644]
Resources/Prototypes/Entities/Objects/Misc/fire_extinguisher.yml