From 4cf1a42dfce4c2edeb5fcf80e0759a5e01c25430 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 19 Dec 2021 03:02:29 -0300 Subject: A clever hack, but right now, you cannot advance to chapter 2. Hmm. --- game/core.rpy | 1 + game/mirrorlake.rpy | 2 +- game/renpy.rpy | 8 +++++--- game/soul.rpy | 1 + 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/game/core.rpy b/game/core.rpy index 10718c1..6c655f4 100644 --- a/game/core.rpy +++ b/game/core.rpy @@ -241,6 +241,7 @@ default SCR_PROMPT = None default SCR_RESULT = None default MLP_DEST = None default running = False +default mySoul = None ## Command Line Interface init -4 python: diff --git a/game/mirrorlake.rpy b/game/mirrorlake.rpy index b5662b9..fc65759 100644 --- a/game/mirrorlake.rpy +++ b/game/mirrorlake.rpy @@ -90,7 +90,7 @@ screen mirrorlake(): size 23 color "#FFF" null height 40 - # TODO: Handle Online List + # Handle Online List text _("Online: %s players" % (onl_cnt(persistent.serverlist[server]))): size 18 color "#F77" diff --git a/game/renpy.rpy b/game/renpy.rpy index f7eeb86..d90aa48 100644 --- a/game/renpy.rpy +++ b/game/renpy.rpy @@ -196,9 +196,11 @@ label load_world: if not persistent.firstlake: call ch1lake $ persistent.firstlake = True - elif False and not persistent.secondlake: - call ch2lake - $ persistent.secondlake = True + elif mySoul is not None: + ## Level-based cutscenes, visit the Void first to see (missable) + if mySoul["level"] >= 1 and not persistent.secondlake: + call ch2lake + $ persistent.secondlake = True ## Internal Sanitization $ stdout("WID Target: %d" % (_return)) diff --git a/game/soul.rpy b/game/soul.rpy index 6d8f48d..9767218 100644 --- a/game/soul.rpy +++ b/game/soul.rpy @@ -35,6 +35,7 @@ screen souldata(): null height 30 hbox: label "{color=#FFF}%s %d{/color}" % (_("Level"), mySoul["level"]) + # TODO: #button Level up null height 30 ## TODO: Other stuff -- cgit v1.2.3-70-g09d2