From 4a9bd17a86be792955e88847d8c6e589e00a469b Mon Sep 17 00:00:00 2001 From: Brandon Hu <103440971+Brandon-Huu@users.noreply.github.com> Date: Sun, 28 Jul 2024 04:13:15 +0000 Subject: [PATCH] tweak(geras): Add a confirmation popup for gera transformation (#29215) * tweak(geras): Add a confirmation popup for gera transformation * remove abstract parent --- Resources/Locale/en-US/actions/actions/polymorph.ftl | 1 + Resources/Prototypes/Actions/types.yml | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 Resources/Locale/en-US/actions/actions/polymorph.ftl diff --git a/Resources/Locale/en-US/actions/actions/polymorph.ftl b/Resources/Locale/en-US/actions/actions/polymorph.ftl new file mode 100644 index 0000000000..4a65a60ecf --- /dev/null +++ b/Resources/Locale/en-US/actions/actions/polymorph.ftl @@ -0,0 +1 @@ +gera-transformation-popup = This action will transform you. Use it again to confirm. diff --git a/Resources/Prototypes/Actions/types.yml b/Resources/Prototypes/Actions/types.yml index 07d1a622ad..af1333e14c 100644 --- a/Resources/Prototypes/Actions/types.yml +++ b/Resources/Prototypes/Actions/types.yml @@ -166,6 +166,8 @@ name: Morph into Geras description: Morphs you into a Geras - a miniature version of you which allows you to move fast, at the cost of your inventory. components: + - type: ConfirmableAction + popup: gera-transformation-popup - type: InstantAction itemIconStyle: BigAction useDelay: 10 # prevent spam -- 2.52.0