summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-05-18 01:38:56 -0300
committerJesusaves <cpntb1@ymail.com>2021-05-18 01:38:56 -0300
commit2f0ff13b48429c3f1ec28cb12cff1b75ca8e59cb (patch)
tree94dfe0eeb52aba72c61f9571f28e0336e8b407bb
parent8a4e94baf981d7371612321edd404c299ea781fa (diff)
downloadrenpy-2f0ff13b48429c3f1ec28cb12cff1b75ca8e59cb.tar.gz
renpy-2f0ff13b48429c3f1ec28cb12cff1b75ca8e59cb.tar.bz2
renpy-2f0ff13b48429c3f1ec28cb12cff1b75ca8e59cb.tar.xz
renpy-2f0ff13b48429c3f1ec28cb12cff1b75ca8e59cb.zip
Scene Recollection at The Void
-rw-r--r--game/renpy.rpy31
1 files changed, 28 insertions, 3 deletions
diff --git a/game/renpy.rpy b/game/renpy.rpy
index 06548b9..85f556c 100644
--- a/game/renpy.rpy
+++ b/game/renpy.rpy
@@ -88,6 +88,23 @@ screen souldata():
hbox:
label "{color=#FFF}%s %d{/color}" % (_("Level"), mySoul["level"])
#button Level up
+ null height 30
+ ## TODO: Other stuff
+ null height 30
+ label "{color=#FFF}%s{/color}" % _("Scene Recollection")
+ vpgrid:
+ cols 2
+ spacing 5
+ draggable True
+ mousewheel True
+ scrollbars "vertical"
+ side_xalign 0.5
+ if mySoul["level"] >= 0:
+ textbutton _("Prologue"):
+ background Frame("gui/frame.png", 0, 0)
+ xysize (200, 40)
+ action Return("intro")
+ tooltip _("Replay the prologue.")
frame:
yalign 0.9
xalign 0.9
@@ -95,7 +112,7 @@ screen souldata():
button:
xmaximum 240
ymaximum 40
- action Return()
+ action Return(None)
fixed:
#add Frame("gui/button/choice_hover_background.png", 0, 0)
text _("Return ยป"):
@@ -324,13 +341,21 @@ label thevoid:
break
hide loader with None
if mySoul is not None:
+ ## Setup
python:
if persistent.steam and steam.initialized:
mySoul["name"] = steam.get_persona_name()
else:
mySoul["name"] = _("Wanderer")
- $ stdout("Level %d EXP %d" % (mySoul["level"], mySoul["exp"]))
- call screen souldata()
+ ## Loop
+ $ loop = True
+ while loop:
+ call screen souldata()
+ if isinstance(_return, str):
+ $ renpy.call_in_new_context(_return)
+ else:
+ $ loop = False
+ $ del loop
scene black with Dissolve(1.5)
pause 0.15
return