1 import { ItemEffect } from "./base";
2 import {HealthPotionSmall} from './health_potion';
12 // this is the result of a join, the actual
13 // table only maps player_id/item_id + amount
14 export type PlayerItem = {
24 export type ShopItem = {
28 price_per_unit: number;
31 export const ItemEffects: Map<string, ItemEffect<number>> = new Map<string, ItemEffect<any>>();
33 ItemEffects.set(HealthPotionSmall.name, HealthPotionSmall);