]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
tweak(geras): Add a confirmation popup for gera transformation (#29215)
authorBrandon Hu <103440971+Brandon-Huu@users.noreply.github.com>
Sun, 28 Jul 2024 04:13:15 +0000 (04:13 +0000)
committerGitHub <noreply@github.com>
Sun, 28 Jul 2024 04:13:15 +0000 (14:13 +1000)
* tweak(geras): Add a confirmation popup for gera transformation

* remove abstract parent

Resources/Locale/en-US/actions/actions/polymorph.ftl [new file with mode: 0644]
Resources/Prototypes/Actions/types.yml

diff --git a/Resources/Locale/en-US/actions/actions/polymorph.ftl b/Resources/Locale/en-US/actions/actions/polymorph.ftl
new file mode 100644 (file)
index 0000000..4a65a60
--- /dev/null
@@ -0,0 +1 @@
+gera-transformation-popup = This action will transform you. Use it again to confirm.
index 07d1a622adaf9183334d5cd31b1e6361aaaacb3a..af1333e14c5be58460d8e497b56bede90bb93a36 100644 (file)
   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