]> git.smokeofanarchy.ru Git - space-station-14.git/commit
make suicide actions require confirming (#24609)
authordeltanedas <39013340+deltanedas@users.noreply.github.com>
Fri, 1 Mar 2024 02:48:43 +0000 (02:48 +0000)
committerGitHub <noreply@github.com>
Fri, 1 Mar 2024 02:48:43 +0000 (13:48 +1100)
commitad3f3a5d360be6f7c8acb9c7753b45653a28cc0f
tree695b57b340c68ec388125e1ac8d31fb19463ab80
parentc83ad11be170f860a0fbd5dde257fd0537e89712
make suicide actions require confirming (#24609)

* add ActionAttemptEvent

* add ConfirmableAction compsys

* make suicide actions confirmable

* use new trolling techniques

* better query and dirty them

* death

---------

Co-authored-by: deltanedas <@deltanedas:kde.org>
Content.Shared/Actions/ConfirmableActionComponent.cs [new file with mode: 0644]
Content.Shared/Actions/ConfirmableActionSystem.cs [new file with mode: 0644]
Content.Shared/Actions/Events/ActionAttemptEvent.cs [new file with mode: 0644]
Content.Shared/Actions/SharedActionsSystem.cs
Resources/Locale/en-US/actions/actions/suicide.ftl [new file with mode: 0644]
Resources/Prototypes/Actions/types.yml