summaryrefslogtreecommitdiff
path: root/00_init.rpy
diff options
context:
space:
mode:
Diffstat (limited to '00_init.rpy')
-rw-r--r--00_init.rpy11
1 files changed, 9 insertions, 2 deletions
diff --git a/00_init.rpy b/00_init.rpy
index c43e4fc..64549e8 100644
--- a/00_init.rpy
+++ b/00_init.rpy
@@ -27,6 +27,13 @@ init -3 python:
persistent.allfiles=[]
allfiles=[]
+ # Elements
+ Ele_Fire =1
+ Ele_Water =2
+ Ele_Nature =3
+ Ele_Light =4
+ Ele_Shadow =5
+
def ParseEle(ele):
if ele == 0:
return "Neutral"
@@ -124,11 +131,11 @@ init -3 python:
#page.close()
return surf
- except Exception, e:
+ except Exception:
if renpy.config.missing_image_callback:
im = renpy.config.missing_image_callback(self.loc)
if im is None:
- raise e
+ raise
return im.load()
raise