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.
199 lines
5.4 KiB
TypeScript
199 lines
5.4 KiB
TypeScript
import { TibiaItem, MarketOffer } from "@/types/item";
|
|
|
|
export const featuredItems: TibiaItem[] = [
|
|
{
|
|
id: "1",
|
|
name: "Armor of Fire",
|
|
image: "/items/armor-of-fire.png",
|
|
category: "armor",
|
|
rarity: "legendary",
|
|
stats: { armor: 16, weight: 120 },
|
|
requirements: { level: 200, vocation: "Knight" },
|
|
protections: { fire: 10 },
|
|
price: { buy: 2500000, sell: 2200000, bid: 2350000 },
|
|
priceHistory: { highest: 2800000, lowest: 2000000, average: 2350000 },
|
|
dropLocation: "Fire Dragon Lair",
|
|
},
|
|
{
|
|
id: "2",
|
|
name: "Demon Helmet",
|
|
image: "/items/demon-helmet.png",
|
|
category: "helmet",
|
|
rarity: "epic",
|
|
stats: { armor: 10, weight: 29 },
|
|
requirements: { level: 100, vocation: "Knight" },
|
|
price: { buy: 50000, sell: 45000, bid: 47500 },
|
|
priceHistory: { highest: 55000, lowest: 42000, average: 48500 },
|
|
dropLocation: "Demon Hell",
|
|
},
|
|
{
|
|
id: "3",
|
|
name: "Vampire Shield",
|
|
image: "/items/vampire-shield.png",
|
|
category: "shield",
|
|
rarity: "epic",
|
|
stats: { defense: 38, weight: 48 },
|
|
requirements: { level: 150, vocation: "Knight" },
|
|
price: { buy: 450000, sell: 420000, bid: 435000 },
|
|
priceHistory: { highest: 480000, lowest: 400000, average: 435000 },
|
|
dropLocation: "Vampire Crypt",
|
|
},
|
|
{
|
|
id: "4",
|
|
name: "Zaoan Helmet",
|
|
image: "/items/zaoan-helmet.png",
|
|
category: "helmet",
|
|
rarity: "rare",
|
|
stats: { armor: 9, weight: 43 },
|
|
requirements: { level: 80, vocation: "Knight" },
|
|
price: { buy: 85000, sell: 75000, bid: 80000 },
|
|
priceHistory: { highest: 95000, lowest: 70000, average: 80000 },
|
|
dropLocation: "Zao Palace",
|
|
},
|
|
{
|
|
id: "5",
|
|
name: "Magic Sword",
|
|
image: "/items/magic-sword.png",
|
|
category: "weapon",
|
|
rarity: "rare",
|
|
stats: { attack: 48, defense: 35, weight: 36 },
|
|
requirements: { level: 75, vocation: "Knight" },
|
|
price: { buy: 22000, sell: 20000, bid: 21000 },
|
|
priceHistory: { highest: 28000, lowest: 20000, average: 24000 },
|
|
dropLocation: "Magic Shop",
|
|
},
|
|
{
|
|
id: "6",
|
|
name: "Demonbone Amulet",
|
|
image: "/items/demonbone-amulet.png",
|
|
category: "amulet",
|
|
rarity: "epic",
|
|
stats: { armor: 2, weight: 8.5 },
|
|
protections: { fire: 10 },
|
|
price: { buy: 180000, sell: 165000, bid: 172500 },
|
|
priceHistory: { highest: 200000, lowest: 150000, average: 175000 },
|
|
dropLocation: "Demon Hell",
|
|
},
|
|
{
|
|
id: "7",
|
|
name: "Ornate Chestplate",
|
|
image: "/items/ornate-chestplate.png",
|
|
category: "armor",
|
|
rarity: "legendary",
|
|
stats: { armor: 18, weight: 185 },
|
|
requirements: { level: 300, vocation: "Knight" },
|
|
protections: { fire: 5, ice: 5 },
|
|
price: { buy: 8500000, sell: 8200000, bid: 8350000 },
|
|
priceHistory: { highest: 9000000, lowest: 8000000, average: 8400000 },
|
|
dropLocation: "Ornate Chest",
|
|
},
|
|
{
|
|
id: "8",
|
|
name: "Ultimate Health Potion",
|
|
image: "/items/uhp.png",
|
|
category: "potion",
|
|
rarity: "common",
|
|
stats: { weight: 2 },
|
|
stackable: true,
|
|
price: { buy: 310, sell: 280, bid: 295 },
|
|
priceHistory: { highest: 350, lowest: 280, average: 300 },
|
|
dropLocation: "Magic Shop",
|
|
},
|
|
];
|
|
|
|
export const buyOffers: MarketOffer[] = [
|
|
{
|
|
id: "1",
|
|
item: featuredItems[7], // Ultimate Health Potion
|
|
seller: "EternalOblivion",
|
|
price: 280000,
|
|
quantity: 1000,
|
|
type: "buy",
|
|
timestamp: new Date(Date.now() - 1000 * 60 * 60 * 2), // 2 hours ago
|
|
},
|
|
{
|
|
id: "2",
|
|
item: featuredItems[1], // Demon Helmet
|
|
seller: "PallySupreme",
|
|
price: 48000,
|
|
quantity: 1,
|
|
type: "buy",
|
|
timestamp: new Date(Date.now() - 1000 * 60 * 45), // 45 min ago
|
|
},
|
|
{
|
|
id: "3",
|
|
item: featuredItems[5], // Demonbone Amulet
|
|
seller: "MageDestroyer",
|
|
price: 175000,
|
|
quantity: 1,
|
|
type: "buy",
|
|
timestamp: new Date(Date.now() - 1000 * 60 * 60), // 1 hour ago
|
|
},
|
|
{
|
|
id: "4",
|
|
item: featuredItems[4], // Magic Sword
|
|
seller: "KnightLegacy",
|
|
price: 25000,
|
|
quantity: 1,
|
|
type: "buy",
|
|
timestamp: new Date(Date.now() - 1000 * 60 * 60 * 3), // 3 hours ago
|
|
},
|
|
{
|
|
id: "5",
|
|
item: featuredItems[6], // Ornate Chestplate
|
|
seller: "TibiaCollector",
|
|
price: 8300000,
|
|
quantity: 1,
|
|
type: "buy",
|
|
timestamp: new Date(Date.now() - 1000 * 60 * 30), // 30 min ago
|
|
},
|
|
];
|
|
|
|
export const sellOffers: MarketOffer[] = [
|
|
{
|
|
id: "6",
|
|
item: featuredItems[7], // Ultimate Health Potion
|
|
seller: "EternalOblivion",
|
|
price: 280000,
|
|
quantity: 1000,
|
|
type: "sell",
|
|
timestamp: new Date(Date.now() - 1000 * 60 * 60 * 2), // 2 hours ago
|
|
},
|
|
{
|
|
id: "7",
|
|
item: featuredItems[1], // Demon Helmet
|
|
seller: "PallySupreme",
|
|
price: 48000,
|
|
quantity: 1,
|
|
type: "sell",
|
|
timestamp: new Date(Date.now() - 1000 * 60 * 45), // 45 min ago
|
|
},
|
|
{
|
|
id: "8",
|
|
item: featuredItems[5], // Demonbone Amulet
|
|
seller: "MageDestroyer",
|
|
price: 175000,
|
|
quantity: 1,
|
|
type: "sell",
|
|
timestamp: new Date(Date.now() - 1000 * 60 * 60), // 1 hour ago
|
|
},
|
|
{
|
|
id: "9",
|
|
item: featuredItems[4], // Magic Sword
|
|
seller: "KnightLegacy",
|
|
price: 25000,
|
|
quantity: 1,
|
|
type: "sell",
|
|
timestamp: new Date(Date.now() - 1000 * 60 * 60 * 3), // 3 hours ago
|
|
},
|
|
{
|
|
id: "10",
|
|
item: featuredItems[6], // Ornate Chestplate
|
|
seller: "TibiaCollector",
|
|
price: 8300000,
|
|
quantity: 1,
|
|
type: "sell",
|
|
timestamp: new Date(Date.now() - 1000 * 60 * 30), // 30 min ago
|
|
},
|
|
];
|