Files
ashen-realms/apps/api/src/database/seeds/loot-bag-content.ts
Bastian Wagner 081c9f83f9 docs
2026-08-22 16:41:47 +02:00

39 lines
1.0 KiB
TypeScript

import { LootCategory } from '../../items/loot-category.enum';
export const BASIC_HIDE_BAG_ID = 'a0000000-0000-4000-8000-000000000001';
export const BASIC_TROPHY_POUCH_ID = 'a0000000-0000-4000-8000-000000000002';
export interface SeedLootBagDefinition {
id: string;
key: string;
name: string;
lootCategory: LootCategory;
capacity: number;
iconPath: string;
}
/**
* The starter bag per category (Playable Slice 0.7.5 §7).
*
* Capacity 5 against a bagless default of 1: enough that a hunt is worth
* making, small enough that the trip still ends.
*/
export const LOOT_BAG_DEFINITIONS: SeedLootBagDefinition[] = [
{
id: BASIC_HIDE_BAG_ID,
key: 'basic-hide-bag',
name: 'Basic Hide Bag',
lootCategory: LootCategory.HIDE,
capacity: 5,
iconPath: '/images/items/basic-hide-bag.png',
},
{
id: BASIC_TROPHY_POUCH_ID,
key: 'basic-trophy-pouch',
name: 'Basic Trophy Pouch',
lootCategory: LootCategory.RAIDER_TROPHY,
capacity: 5,
iconPath: '/images/items/basic-trophy-pouch.png',
},
];