Add a colour override for embed colours
All checks were successful
Test / build (push) Successful in 9s

- Using a new optional  value in the JSON, if set overrides the default one set by the rarity
- Added a failsafe if the override colour is invalid to default and log a warning

#349
This commit is contained in:
Ethan Lane 2024-08-29 19:21:53 +01:00
parent a10eaf7d75
commit 5deb6fcc14
3 changed files with 30 additions and 1 deletions

View file

@ -12,6 +12,7 @@ export interface CardMetadata {
type: CardRarity,
path: string,
subseries?: string,
colour?: string,
}
export interface DropResult {