|
| 1 | +export enum ActivityTiers { |
| 2 | + INACTIVE = 'Inactive', |
| 3 | + AFK_GAMER = 'AFK Gamer', |
| 4 | + CASUAL_CHAMPION = 'Casual Champion', |
| 5 | + TRYHARD = 'Tryhard', |
| 6 | + HARDCORE_GAMER = 'Hardcore Gamer', |
| 7 | + GIGACHAD_GAMER = 'GigaChad Gamer' |
| 8 | +} |
| 9 | + |
| 10 | +export const ACTIVITY_TIERS_ORDERED = [ |
| 11 | + ActivityTiers.GIGACHAD_GAMER, |
| 12 | + ActivityTiers.HARDCORE_GAMER, |
| 13 | + ActivityTiers.TRYHARD, |
| 14 | + ActivityTiers.CASUAL_CHAMPION, |
| 15 | + ActivityTiers.AFK_GAMER, |
| 16 | + ActivityTiers.INACTIVE |
| 17 | +] as const; |
| 18 | + |
| 19 | +export interface ActivityTierData { |
| 20 | + name: ActivityTiers; |
| 21 | + xp_needed: number; |
| 22 | + color: string; |
| 23 | + benefits: string[]; |
| 24 | +} |
| 25 | + |
| 26 | +export const ACTIVITY_TIERS_DATA: Record<ActivityTiers, ActivityTierData> = { |
| 27 | + [ActivityTiers.GIGACHAD_GAMER]: { |
| 28 | + name: ActivityTiers.GIGACHAD_GAMER, |
| 29 | + xp_needed: 2000, |
| 30 | + color: '#6B3074', |
| 31 | + benefits: ['Special item', 'Special color'] |
| 32 | + }, |
| 33 | + [ActivityTiers.HARDCORE_GAMER]: { |
| 34 | + name: ActivityTiers.HARDCORE_GAMER, |
| 35 | + xp_needed: 1000, |
| 36 | + color: '#7268A6', |
| 37 | + benefits: ['Special item', 'Special color'] |
| 38 | + }, |
| 39 | + [ActivityTiers.TRYHARD]: { |
| 40 | + name: ActivityTiers.TRYHARD, |
| 41 | + xp_needed: 250, |
| 42 | + color: '#86A3C3', |
| 43 | + benefits: ['L4+ positions', 'Voice channel commands (without BP)'] |
| 44 | + }, |
| 45 | + [ActivityTiers.CASUAL_CHAMPION]: { |
| 46 | + name: ActivityTiers.CASUAL_CHAMPION, |
| 47 | + xp_needed: 100, |
| 48 | + color: '#19B8A6', |
| 49 | + benefits: ['EHL eligibility'] |
| 50 | + }, |
| 51 | + [ActivityTiers.AFK_GAMER]: { |
| 52 | + name: ActivityTiers.AFK_GAMER, |
| 53 | + xp_needed: 1, |
| 54 | + color: '#D8E0BB', |
| 55 | + benefits: [ |
| 56 | + 'Attending events', |
| 57 | + 'Access to channels', |
| 58 | + 'Item system' |
| 59 | + ] |
| 60 | + }, |
| 61 | + [ActivityTiers.INACTIVE]: { |
| 62 | + name: ActivityTiers.INACTIVE, |
| 63 | + xp_needed: 0, |
| 64 | + color: '#B7B7B7', |
| 65 | + benefits: [] |
| 66 | + } |
| 67 | +}; |
0 commit comments