summaryrefslogtreecommitdiff
path: root/game
diff options
context:
space:
mode:
Diffstat (limited to 'game')
-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