From: rumaks Date: Wed, 25 Jun 2025 17:52:32 +0000 (+0000) Subject: Added a ConfirmableAction component to ActionRevertPolymorph (#38570) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=e3580f076aff71515cd5f4d774f0a933e469416d;p=space-station-14.git Added a ConfirmableAction component to ActionRevertPolymorph (#38570) * 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> --- diff --git a/Resources/Locale/en-US/actions/actions/polymorph.ftl b/Resources/Locale/en-US/actions/actions/polymorph.ftl index 4a65a60ecf..129d8995b5 100644 --- a/Resources/Locale/en-US/actions/actions/polymorph.ftl +++ b/Resources/Locale/en-US/actions/actions/polymorph.ftl @@ -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. diff --git a/Resources/Prototypes/Actions/polymorph.yml b/Resources/Prototypes/Actions/polymorph.yml index 2f931e29e2..343f6bdcf4 100644 --- a/Resources/Prototypes/Actions/polymorph.yml +++ b/Resources/Prototypes/Actions/polymorph.yml @@ -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