diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-05-09 20:17:41 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-05-09 20:17:41 -0300 |
commit | c19a83ca9c6d4b42b9ca1d725b34ac4721213c3d (patch) | |
tree | 43a1016ee2cdfc63fac53eb811815d81784c69d3 /game | |
parent | 8711ed3c129e22f583608329528f9972db799b74 (diff) | |
download | renpy-c19a83ca9c6d4b42b9ca1d725b34ac4721213c3d.tar.gz renpy-c19a83ca9c6d4b42b9ca1d725b34ac4721213c3d.tar.bz2 renpy-c19a83ca9c6d4b42b9ca1d725b34ac4721213c3d.tar.xz renpy-c19a83ca9c6d4b42b9ca1d725b34ac4721213c3d.zip |
Prepare Vault-Based AUTH
Diffstat (limited to 'game')
-rw-r--r-- | game/renpy.rpy | 8 | ||||
-rw-r--r-- | game/screens.rpy | 2 | ||||
-rw-r--r-- | game/update.rpy | 16 |
3 files changed, 22 insertions, 4 deletions
diff --git a/game/renpy.rpy b/game/renpy.rpy index b6e5b86..0c7347b 100644 --- a/game/renpy.rpy +++ b/game/renpy.rpy @@ -59,6 +59,14 @@ label start: if not responsive: jump die + # Do we have a Vault ID? + if not vaultId: + call register + + # If we still don't have a Vault ID - something went wrong D: + if not vaultId: + jump die + $ stdout("Connection established!") # Open game diff --git a/game/screens.rpy b/game/screens.rpy index 386ef92..f5fe9da 100644 --- a/game/screens.rpy +++ b/game/screens.rpy @@ -755,7 +755,7 @@ screen preferences(): button: action Return() add Frame("gui/button/choice_hover_background.png", 0, 0) - text _("Start!"): + text _("All Set!"): color "#FFF" xalign 0.5 yalign 0.5 diff --git a/game/update.rpy b/game/update.rpy index 8074d04..97cabba 100644 --- a/game/update.rpy +++ b/game/update.rpy @@ -233,9 +233,9 @@ init python: # Must return and let a prompt for username & password # (Or Email, in the case of the modern Vault) # If vaultId is zero - status_update("{color=#F00}VaultError: Not yet implemented{/color}") - responsive = False - return + #status_update("{color=#F00}VaultError: Not yet implemented{/color}") + #responsive = False + #return ####### TODO FIXME ######################################### @@ -243,3 +243,13 @@ init python: status_update("Complete!", 100) return + +label register: + menu: + "Select desired authetication method" + "E-mail Auth": + pass + "2FA Authentication": + pass + return + |