docs
This commit is contained in:
38
apps/api/src/database/seeds/loot-bag-content.ts
Normal file
38
apps/api/src/database/seeds/loot-bag-content.ts
Normal file
@@ -0,0 +1,38 @@
|
||||
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',
|
||||
},
|
||||
];
|
||||
Reference in New Issue
Block a user