summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-08-06 20:01:15 -0300
committerJesusaves <cpntb1@ymail.com>2022-08-06 20:01:15 -0300
commitd02b97da9895681e38e99d12cc7af0046dec725b (patch)
treea4e5d07758ebf31903eaab40b180a034cb4f1830
parentc45d57e85acaeb33ab216cf695a92ef8bae8d880 (diff)
downloadclient-d02b97da9895681e38e99d12cc7af0046dec725b.tar.gz
client-d02b97da9895681e38e99d12cc7af0046dec725b.tar.bz2
client-d02b97da9895681e38e99d12cc7af0046dec725b.tar.xz
client-d02b97da9895681e38e99d12cc7af0046dec725b.zip
Highlight broken rarity so it is easier to spot (Game only supports rarity up to 7)
-rw-r--r--game/03_init.rpy6
-rw-r--r--game/gfx/cards/8.pngbin0 -> 136545 bytes
-rw-r--r--game/gfx/square/8.pngbin0 -> 55254 bytes
3 files changed, 4 insertions, 2 deletions
diff --git a/game/03_init.rpy b/game/03_init.rpy
index 8b31059..352878b 100644
--- a/game/03_init.rpy
+++ b/game/03_init.rpy
@@ -54,11 +54,12 @@ init python:
}""" % (json.dumps(u), json.dumps(s), json.dumps(a), now())
def square_composite(cid, path, ei=False):
+ global allunits
# We need to try to get rarity
try:
r=allunits[int(cid)]["rare"]
except:
- r=4 # FIXME
+ r=8 # FIXME: Also, is allunits already initialized?
# We need to try to get the element
try:
@@ -82,11 +83,12 @@ init python:
(0, 0), "gfx/square/ele_%d.png" % e)
def card_composite(cid, path, ei=False):
+ global allunits
# We need to try to get rarity
try:
r=allunits[int(cid)]["rare"]
except:
- r=4 # FIXME
+ r=8 # FIXME: Also, is allunits already initialized?
# We need to try to get the element
try:
diff --git a/game/gfx/cards/8.png b/game/gfx/cards/8.png
new file mode 100644
index 0000000..d54f743
--- /dev/null
+++ b/game/gfx/cards/8.png
Binary files differ
diff --git a/game/gfx/square/8.png b/game/gfx/square/8.png
new file mode 100644
index 0000000..2ad3ce5
--- /dev/null
+++ b/game/gfx/square/8.png
Binary files differ