Skip to content

Commit 39ad547

Browse files
authored
support for unlockable flags (#3479)
## Description: Add support for purchasable/gated flags. * Create a new "Store" modal that renders both skins & flags * move all store related logic out of TerritoryPatternsModal * use nation:code for existing nation flags & flag:key for gated flags * check if user has the appropriate flags before purchasing ## Please complete the following: - [x] I have added screenshots for all UI updates - [x] I process any text displayed to the user through translateText() and I've added it to the en.json file - [x] I have added relevant tests to the test directory - [x] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced ## Please put your Discord username so you can be contacted if a bug or regression is found: evan
1 parent 4268062 commit 39ad547

30 files changed

Lines changed: 1140 additions & 1151 deletions

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,11 +204,11 @@
204204
inline
205205
class="hidden w-full h-full page-content relative z-50"
206206
></join-lobby-modal>
207-
<territory-patterns-modal
207+
<store-modal
208208
id="page-item-store"
209209
inline
210210
class="hidden w-full h-full page-content relative z-50"
211-
></territory-patterns-modal>
211+
></store-modal>
212212
<user-setting
213213
id="page-settings"
214214
inline

0 commit comments

Comments
 (0)