summaryrefslogtreecommitdiff
path: root/game/quest.rpy
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-12-26 15:51:03 -0300
committerJesusaves <cpntb1@ymail.com>2020-12-26 15:51:03 -0300
commitc4c487b780cf718b39dc710aed427ec1e99bd74d (patch)
treea3f2483b86bd95fd63f1431ee9fc2d86fbb4a65d /game/quest.rpy
parentaf49463d61ecaf314170fab707a5206ff902425d (diff)
downloadclient-c4c487b780cf718b39dc710aed427ec1e99bd74d.tar.gz
client-c4c487b780cf718b39dc710aed427ec1e99bd74d.tar.bz2
client-c4c487b780cf718b39dc710aed427ec1e99bd74d.tar.xz
client-c4c487b780cf718b39dc710aed427ec1e99bd74d.zip
Some optimizations to be more Python3 compliant (for when Renpy 8 comes out)
Also, fix an edge scenario crash at tavern and a missed logging at battle story log
Diffstat (limited to 'game/quest.rpy')
-rw-r--r--game/quest.rpy4
1 files changed, 2 insertions, 2 deletions
diff --git a/game/quest.rpy b/game/quest.rpy
index 9a52c2a..c1d6759 100644
--- a/game/quest.rpy
+++ b/game/quest.rpy
@@ -133,7 +133,7 @@ label quest_selected:
if (story != ERR_INVALID):
hud_story()
- print ".:: Story logs (%d) ::." % qid
+ print(".:: Story logs (%d) ::." % qid)
if isinstance(story["pre_dialog"], str) or isinstance(story["pre_dialog"], unicode):
print("Calling in new context: %s" % (story["pre_dialog"]))
@@ -164,7 +164,7 @@ label quest_selected:
# Okay, story-telling time is over: To arms!
#
$ TMP_MUSIC=get_sfx(quest["music"])
- #$ print "Stage music: "+str(TMP_MUSIC)
+ #$ print("Stage music: "+str(TMP_MUSIC))
play music TMP_MUSIC fadein 0.5
#play music MUSIC_BATTLE.id() fadein 0.5
$ renpy.free_memory()