]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Alerts for breathing plasma/tritium (#24484)
authorErrant <35878406+Errant-4@users.noreply.github.com>
Sat, 2 Mar 2024 14:07:05 +0000 (15:07 +0100)
committerGitHub <noreply@github.com>
Sat, 2 Mar 2024 14:07:05 +0000 (01:07 +1100)
commitecd2d5a644540c6ad28903ee4fb2af87876e3030
tree5b296a60b2632fd5e89662cc2952b605def17efe
parente7a806a443923fc6d44f14d5bfaf3a05d58ad2bc
Alerts for breathing plasma/tritium (#24484)

* Alert autoremove v0

* Code cleanup and timing

* comment

* Tritium, code compression

* not resolving manually

* reduced lookups, new comp

* fix-fix yes

* use RemCompDeferred, handle OnUnpaused

* missed a todo

* entitysystem resolve

* remove unnecessary component updates

* remove AlertState from comp, move EntityUnpausedEvent actions to AlertStateComponent's Timespan

* Code cleanup

* comments

* combines AutoRemove input into Clear

* minor logic adjustment that does not really change anything but is less ambiguous
Content.Client/UserInterface/Systems/Alerts/Widgets/AlertsUI.xaml.cs
Content.Server/Chemistry/ReagentEffects/AdjustAlert.cs
Content.Shared/Alert/AlertAutoRemoveComponent.cs [new file with mode: 0644]
Content.Shared/Alert/AlertState.cs
Content.Shared/Alert/AlertsSystem.cs
Resources/Prototypes/Reagents/gases.yml