From d02b97da9895681e38e99d12cc7af0046dec725b Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 6 Aug 2022 20:01:15 -0300 Subject: Highlight broken rarity so it is easier to spot (Game only supports rarity up to 7) --- game/03_init.rpy | 6 ++++-- game/gfx/cards/8.png | Bin 0 -> 136545 bytes game/gfx/square/8.png | Bin 0 -> 55254 bytes 3 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 game/gfx/cards/8.png create mode 100644 game/gfx/square/8.png 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 Binary files /dev/null and b/game/gfx/cards/8.png differ diff --git a/game/gfx/square/8.png b/game/gfx/square/8.png new file mode 100644 index 0000000..2ad3ce5 Binary files /dev/null and b/game/gfx/square/8.png differ -- cgit v1.2.3-60-g2f50