summaryrefslogtreecommitdiff
path: root/game/03_init.rpy
diff options
context:
space:
mode:
Diffstat (limited to 'game/03_init.rpy')
-rw-r--r--game/03_init.rpy10
1 files changed, 8 insertions, 2 deletions
diff --git a/game/03_init.rpy b/game/03_init.rpy
index 352878b..33ab838 100644
--- a/game/03_init.rpy
+++ b/game/03_init.rpy
@@ -87,8 +87,14 @@ init python:
# We need to try to get rarity
try:
r=allunits[int(cid)]["rare"]
+ except NameError: # allunits is not yet defined
+ r=8
+ print("WARNING: %s %s %d without allunits" % (str(cid), path, ei))
except:
r=8 # FIXME: Also, is allunits already initialized?
+ print("CC %s %s %d" % (str(cid), path, ei))
+ #traceback.print_stack()
+ #traceback.print_exc()
# We need to try to get the element
try:
@@ -174,7 +180,7 @@ init python:
continue
- # Load sprite images: "unit"
+ # Load sprite images: "unit" (FIXME: Unitialized)
for file in renpy.list_files():
fn=file.replace('gfx/units/','').replace('/', ' ').replace('.png','').replace('.webp','')
if file.startswith('gfx/units/'):
@@ -249,7 +255,7 @@ init python:
continue
- # Load summon images: "square"
+ # Load summon images: "square" (FIXME unitialized)
for file in renpy.list_files():
fn=file.replace('gfx/square/','').replace('/', ' ').replace('.png','').replace('.webp','')
if file.startswith('gfx/square/'):