summaryrefslogtreecommitdiff
path: root/game/03_init.rpy
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-12-26 15:17:48 -0300
committerJesusaves <cpntb1@ymail.com>2020-12-26 15:17:48 -0300
commit061ac16210375fa68419bfa40da68655fb207c9f (patch)
tree25ace9de01d9f8afb0812cc3124f63f5741ec535 /game/03_init.rpy
parent4c1654364b140f0de6a8482b41945a3cfa877df0 (diff)
downloadclient-061ac16210375fa68419bfa40da68655fb207c9f.tar.gz
client-061ac16210375fa68419bfa40da68655fb207c9f.tar.bz2
client-061ac16210375fa68419bfa40da68655fb207c9f.tar.xz
client-061ac16210375fa68419bfa40da68655fb207c9f.zip
Add elemental information to the unit squares.
Diffstat (limited to 'game/03_init.rpy')
-rw-r--r--game/03_init.rpy6
1 files changed, 4 insertions, 2 deletions
diff --git a/game/03_init.rpy b/game/03_init.rpy
index 222738a..5fa1d76 100644
--- a/game/03_init.rpy
+++ b/game/03_init.rpy
@@ -67,13 +67,15 @@ init python:
(340, 340),
(0, 0), "gfx/square/bg.png",
(0, 0), path,
- (0, 0), "gfx/square/%d.png" % r)
+ (0, 0), "gfx/square/%d.png" % r,
+ (0, 0), "gfx/square/ele_%d.png" % e)
else:
return Composite(
(340, 340),
(0, 0), "gfx/square/bg.png",
(0, 0), ExtraImage(path),
- (0, 0), "gfx/square/%d.png" % r)
+ (0, 0), "gfx/square/%d.png" % r,
+ (0, 0), "gfx/square/ele_%d.png" % e)
def card_composite(cid, path, ei=False):
# We need to try to get rarity