Added Tailwind CSS and tw-animate-css imports to globals.css. Introduced a custom dark variant and an extensive @theme inline block with CSS variables for colors, radii, and animations. Included keyframes for shimmer-slide, spin-around, gradient, shine, and background-position-spin to enable consistent theming and dynamic UI effects across the application.
40 lines
742 B
TypeScript
40 lines
742 B
TypeScript
export type Currency = "gp" | "tc";
|
|
|
|
export interface Price {
|
|
value: number;
|
|
currency: Currency;
|
|
tcEquivalent?: number; // 1 TC ≈ 35.000 gp
|
|
}
|
|
|
|
export interface TibiaProtection {
|
|
fire?: number;
|
|
ice?: number;
|
|
energy?: number;
|
|
earth?: number;
|
|
death?: number;
|
|
holy?: number;
|
|
}
|
|
|
|
export interface TibiaStats {
|
|
attack?: number;
|
|
defense?: number;
|
|
armor?: number;
|
|
weight?: number;
|
|
speed?: number;
|
|
manaRegen?: number;
|
|
hpRegen?: number;
|
|
skillBoost?: {
|
|
sword?: number;
|
|
axe?: number;
|
|
club?: number;
|
|
distance?: number;
|
|
shielding?: number;
|
|
fishing?: number;
|
|
};
|
|
}
|
|
|
|
export interface TibiaRequirements {
|
|
level?: number;
|
|
vocation?: "Knight" | "Paladin" | "Sorcerer" | "Druid" | "No Vocation";
|
|
}
|