summaryrefslogtreecommitdiff
path: root/game/screens.rpy
diff options
context:
space:
mode:
Diffstat (limited to 'game/screens.rpy')
-rw-r--r--game/screens.rpy14
1 files changed, 14 insertions, 0 deletions
diff --git a/game/screens.rpy b/game/screens.rpy
index 270c8bf..bd848ca 100644
--- a/game/screens.rpy
+++ b/game/screens.rpy
@@ -661,6 +661,20 @@ screen about():
text _("Made with {a=https://www.renpy.org/}Ren'Py{/a} [renpy.version_only].\n\n[renpy.license!t]")
+ ## TODO: Obfuscate (e.g. click here to show password)
+ if persistent.password:
+ null height 60
+ text "-------------------------------------"
+ label _("Recovery password")
+ null height 10
+ if len(persistent.password) == 16:
+ text "%s %s %s %s" % (persistent.password[0:4], persistent.password[4:8], persistent.password[8:12], persistent.password[12:16])
+ elif len(persistent.password) == 12:
+ text "%s %s %s" % (persistent.password[0:4], persistent.password[4:8], persistent.password[8:12])
+ else:
+ text "%s" % persistent.password
+ null height 30
+ text _("This password allows anyone to login as you.\nKeep it safe!")
## This is redefined in options.rpy to add text to the about screen.
define gui.about = ""