]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Added a ConfirmableAction component to ActionRevertPolymorph (#38570)
authorrumaks <me@rumaks.xyz>
Wed, 25 Jun 2025 17:52:32 +0000 (17:52 +0000)
committerGitHub <noreply@github.com>
Wed, 25 Jun 2025 17:52:32 +0000 (20:52 +0300)
* Added a ConfirmableAction component to ActionRevertPolymorph

* Update Resources/Locale/en-US/actions/actions/polymorph.ftl

---------

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
Resources/Locale/en-US/actions/actions/polymorph.ftl
Resources/Prototypes/Actions/polymorph.yml

index 4a65a60ecf09106d9b758df37447bf7db64960db..129d8995b5eb1dd670813425e0316c497b350db7 100644 (file)
@@ -1 +1 @@
-gera-transformation-popup = This action will transform you. Use it again to confirm.
+revert-polymorph-action-popup = This action is irreversible. Use it again to confirm.
index 2f931e29e2b192f5c86a773eb30ae494f89a39b5..343f6bdcf452af2fb58c4be800ffc88ea9bfec2e 100644 (file)
@@ -4,6 +4,8 @@
   name: Revert
   description: Revert back into your original form.
   components:
+  - type: ConfirmableAction
+    popup: revert-polymorph-action-popup
   - type: InstantAction
     event: !type:RevertPolymorphActionEvent