import { GoodType } from "./good-type.enum";

export interface GoodConfig {
  baseProduction: number; // pro Sekunde
  baseDemand: number;     // pro Sekunde
  storageLimit: number;
  isRawResource: boolean;
}

export const GOODS_DATA: Record<GoodType, GoodConfig> = {
  [GoodType.Erz]:         { baseProduction: 1.0, baseDemand: 0,   storageLimit: 500, isRawResource: true },
  [GoodType.Wasser]:      { baseProduction: 1, baseDemand: 0.015, storageLimit: 300, isRawResource: true },
  [GoodType.Nahrung]:     { baseProduction: 1, baseDemand: 0.01, storageLimit: 200, isRawResource: true },
  [GoodType.Metall]:      { baseProduction: 1,   baseDemand: 0, storageLimit: 300, isRawResource: false },
  [GoodType.Treibstoff]:  { baseProduction: 1,   baseDemand: 0, storageLimit: 150, isRawResource: false },
  [GoodType.Elektronik]:  { baseProduction: 1,   baseDemand: 0, storageLimit: 100, isRawResource: false },
  [GoodType.Bauteile]:    { baseProduction: 1,   baseDemand: 0, storageLimit: 100, isRawResource: false }
};