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>
This commit is contained in:
deltanedas
2024-03-01 02:48:43 +00:00
committed by GitHub
parent c83ad11be1
commit ad3f3a5d36
6 changed files with 157 additions and 0 deletions

View File

@@ -1,3 +1,14 @@
# base actions
- type: entity
id: BaseSuicideAction
abstract: true
components:
- type: ConfirmableAction
popup: suicide-action-popup
# actions
- type: entity
id: ActionScream
name: Scream
@@ -47,6 +58,7 @@
event: !type:OpenStorageImplantEvent
- type: entity
parent: BaseSuicideAction
id: ActionActivateMicroBomb
name: Activate Microbomb
description: Activates your internal microbomb, completely destroying you and your equipment
@@ -62,6 +74,7 @@
event: !type:ActivateImplantEvent
- type: entity
parent: BaseSuicideAction
id: ActionActivateDeathAcidifier
name: Activate Death-Acidifier
description: Activates your death-acidifier, completely melting you and your equipment