From 6e2957f38755e824a310fcc1c21a836532098425 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 23 Dec 2020 22:45:35 -0300 Subject: Add support for special summoning event taverns --- game/ATTRIBUTION | 4 ++-- game/recruit.rpy | 5 +++-- game/script.rpy | 1 + 3 files changed, 6 insertions(+), 4 deletions(-) (limited to 'game') diff --git a/game/ATTRIBUTION b/game/ATTRIBUTION index dd2bb61..3b92b00 100644 --- a/game/ATTRIBUTION +++ b/game/ATTRIBUTION @@ -111,9 +111,9 @@ Where relevant, you must also include a link to https://tmw2.org in your credit. gfx/square/back_hover.png gfx/square/back_idle.png gfx/square/bg.png - gfx/square/mask.png + gfx/square/mask.png (-) (-) (-) ### UNITS - ***Cleanup required - Please refer to the unit card with modifications*** + ***Please refer to the unit card, has modifications*** ## SUMMONS gfx/summons/1.webp gfx/summons/2.webp diff --git a/game/recruit.rpy b/game/recruit.rpy index c45f231..726d332 100644 --- a/game/recruit.rpy +++ b/game/recruit.rpy @@ -103,7 +103,8 @@ screen tavern(): yoffset 50 if alltaverns[tavern]["banner"] != "": - label _(".:: ERROR - Banner ::.") + label _(".:: Special Summon ::.") + add "banner_%s" % alltaverns[tavern]["banner"] else: pass @@ -214,7 +215,7 @@ label tv_loop: for tv in alltaverns: renpy.pause(0.001, hard=True) if tv["banner"] != "": - show_img("banner "+tv["banner"], False) + show_img("banner_"+tv["banner"], False) tr_loading = False call screen tavern diff --git a/game/script.rpy b/game/script.rpy index ab430ce..97fa919 100644 --- a/game/script.rpy +++ b/game/script.rpy @@ -2,6 +2,7 @@ # Declare images #image bg room = Frame("gfx/bg/port.png", 0, 0) image dialog rebel = "gfx/dialog/rebel.png" +image banner_ = "gfx/actionarea.png" # Declare characters used by this game. The color argument colorizes the # name of the character. -- cgit v1.2.3-70-g09d2