Add collectible fish quality tiers
This commit is contained in:
parent
7661b057bc
commit
35d00e8035
30 changed files with 834 additions and 73 deletions
|
|
@ -18,6 +18,12 @@ const RARITY_RARE := Color("5596f6")
|
|||
const RARITY_EPIC := Color("b176e8")
|
||||
const RARITY_LEGENDARY := Color("f276b3")
|
||||
|
||||
const QUALITY_BORING := Color("e8eef0")
|
||||
const QUALITY_AVERAGE := Color("64c87c")
|
||||
const QUALITY_IMPRESSIVE := Color("6098dd")
|
||||
const QUALITY_EXCEPTIONAL := Color("a979cf")
|
||||
const QUALITY_SHINY := Color("db78a7")
|
||||
|
||||
|
||||
static func get_rarity_color(rarity: int) -> Color:
|
||||
match rarity:
|
||||
|
|
@ -31,3 +37,17 @@ static func get_rarity_color(rarity: int) -> Color:
|
|||
return RARITY_LEGENDARY
|
||||
_:
|
||||
return RARITY_COMMON
|
||||
|
||||
|
||||
static func get_quality_color(quality: int) -> Color:
|
||||
match quality:
|
||||
1:
|
||||
return QUALITY_AVERAGE
|
||||
2:
|
||||
return QUALITY_IMPRESSIVE
|
||||
3:
|
||||
return QUALITY_EXCEPTIONAL
|
||||
4:
|
||||
return QUALITY_SHINY
|
||||
_:
|
||||
return QUALITY_BORING
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue