From 6bbea157196786727763f7220ce082d4d89fb0dc Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 26 Dec 2020 15:53:35 -0300 Subject: Just wanted to remember that there is NO WAY to know if this will run in Py3 --- game/04_init.rpy | 2 +- game/battle.rpy | 2 +- game/inventory.rpy | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/game/04_init.rpy b/game/04_init.rpy index a8e7545..1b96c0d 100644 --- a/game/04_init.rpy +++ b/game/04_init.rpy @@ -109,7 +109,7 @@ init python: # FIXME This is also onerror def closed(self, code, reason=None): - print "Closed down", code, reason + print("Closed down", code, reason) if reason is None: reason="Connection died" if reason != "Quit": diff --git a/game/battle.rpy b/game/battle.rpy index accb755..105266a 100644 --- a/game/battle.rpy +++ b/game/battle.rpy @@ -267,7 +267,7 @@ label results: renpy.hide("l") renpy.hide("c") renpy.hide("r") - print "%s: %s" % (dial["name"], dial["message"]) + print("%s: %s" % (dial["name"], dial["message"])) # Background Clean up if bg_is_showing: renpy.hide("sbg") diff --git a/game/inventory.rpy b/game/inventory.rpy index 73a3db1..ef6f08a 100644 --- a/game/inventory.rpy +++ b/game/inventory.rpy @@ -72,7 +72,7 @@ screen inventory(blank=False, filters="True"): #$ print(str(locals())) python: evl=False - #print "---- repr" + #print("---- repr") try: alu=allunits[item["unit_id"]] except: -- cgit v1.2.3-70-g09d2