feat: integrate Firebase for authentication and data management, add GameItem type, and enhance UI with tooltips

This commit is contained in:
2025-02-15 21:54:28 -03:00
parent 62634a426e
commit a12cfc5a2a
17 changed files with 1498 additions and 28 deletions

31
src/types/GameItem.ts Normal file
View File

@@ -0,0 +1,31 @@
export interface GameItem {
id: number;
name: string;
type: ItemType;
rarity: ItemRarity;
description: string;
price: number;
effect: string;
equipTarget: ItemEquipTarget;
}
export enum ItemType {
Material = 'Material',
Consumable = 'Consumable',
Equipment = 'Equipment'
}
export enum ItemRarity {
Common = 'Common', // White
Uncommon = 'Uncommon', // Green
Rare = 'Rare', // Blue
Legendary = 'Legendary' // Purple
}
export enum ItemEquipTarget {
None = 'None',
Head = 'Head',
Body = 'Body',
Legs = 'Legs',
Weapon = 'Weapon'
}