import { elements, population, resources } from "./planetEconomy.js";

export const planetType = {
  Tempérée: {
    population: 100,
    populationType: [population.humanoids.humans, population.humanoids.near, population.humanoids.aliens],
    elements: [elements.common, elements.food, elements.medic],
    resources: [
      resources.common.rock,
      resources.common.wood,
      resources.common.liquid,
      resources.common.grain,
      resources.common.livestock,
      resources.common.fish,
      resources.common.animals,
      resources.rare.liquid,
      resources.rare.grain,
      resources.rare.livestock,
      resources.rare.fish,
      resources.rare.animals,
    ],
  },
  Glacée: {
    population: 1,
    populationType: [
      population.creatures.casual,
      population.creatures.danger,
      population.creatures.apex,
      population.humanoids.aliens,
    ],
    elements: [elements.petrol, elements.science],
    resources: [
      resources.common.rock,
      resources.common.mineral,
      resources.common.science,
      resources.rare.liquid,
      resources.rare.science,
    ],
  },
  Volcanique: {
    population: 2,
    populationType: [
      population.creatures.casual,
      population.creatures.danger,
      population.creatures.apex,
      population.creatures.robots,
      population.humanoids.aliens,
    ],
    elements: [elements.common, elements.petrol],
    resources: [
      resources.common.rock,
      resources.common.gas,
      resources.common.acid,
      resources.rare.rock,
      resources.rare.mineral,
    ],
  },
  Marécageuse: {
    population: 10,
    populationType: [population.creatures.casual, population.creatures.danger, population.creatures.apex],
    elements: [elements.common, elements.petrol],
    resources: [
      resources.common.wood,
      resources.common.liquid,
      resources.common.fish,
      resources.common.plant,
      resources.common.stones,
      resources.rare.wood,
      resources.rare.liquid,
      resources.rare.fish,
      resources.rare.animals,
    ],
  },
  Forestière: {
    population: 20,
    populationType: [population.creatures.casual, population.creatures.danger, population.humanoids.aliens],
    elements: [elements.common],
    resources: [
      resources.common.wood,
      resources.common.plant,
      resources.common.animals,
      resources.common.grain,
      resources.rare.wood,
      resources.rare.plant,
      resources.rare.animals,
    ],
  },
  Océanique: {
    population: 25,
    populationType: [population.creatures.casual, population.creatures.apex, population.humanoids.aliens],
    elements: [elements.common, elements.petrol],
    resources: [
      resources.common.liquid,
      resources.common.fish,
      resources.common.stones,
      resources.rare.liquid,
      resources.rare.fish,
      resources.rare.stones,
    ],
  },
  Oecuménopole: {
    population: 2000,
    populationType: [population.humanoids.humans, population.humanoids.near],
    elements: [elements.science, elements.industry, elements.money, elements.goods],
    resources: [
      resources.common.mineral,
      resources.common.grain,
      resources.common.livestock,
      resources.common.goods,
      resources.common.factory,
      resources.rare.liquid,
      resources.rare.grain,
      resources.rare.livestock,
      resources.rare.goods,
    ],
  },
  Désert: {
    population: 50,
    populationType: [
      population.humanoids.near,
      population.humanoids.aliens,
      population.creatures.casual,
      population.creatures.danger,
      population.creatures.apex,
      population.creatures.robots,
    ],
    elements: [elements.common, elements.goods],
    resources: [
      resources.common.rock,
      resources.common.mineral,
      resources.common.livestock,
      resources.common.science,
      resources.rare.stones,
      resources.rare.animals,
    ],
  },
  Minéralogique: {
    population: 3,
    populationType: [population.humanoids.aliens, population.creatures.robots, population.creatures.danger],
    elements: [elements.common],
    resources: [
      resources.common.rock,
      resources.common.mineral,
      resources.common.stones,
      resources.rare.rock,
      resources.rare.mineral,
      resources.rare.stones,
    ],
  },
  Gazeuse: {
    population: 1,
    populationType: [
      population.humanoids.humans,
      population.humanoids.near,
      population.humanoids.aliens,
      population.creatures.robots,
    ],
    elements: [elements.petrol],
    resources: [resources.common.oil, resources.common.gas, resources.rare.oil, resources.rare.gas],
  },
  Acide: {
    population: 1,
    populationType: [population.humanoids.aliens, population.creatures.casual, population.creatures.robots],
    elements: [elements.petrol, elements.industry],
    resources: [
      resources.common.rock,
      resources.common.mineral,
      resources.common.factory,
      resources.common.acid,
      resources.rare.acid,
    ],
  },
  "Monde usine": {
    population: 500,
    populationType: [
      population.humanoids.humans,
      population.humanoids.near,
      population.humanoids.aliens,
      population.creatures.robots,
    ],
    elements: [elements.petrol, elements.industry],
    resources: [
      resources.common.rock,
      resources.common.mineral,
      resources.common.oil,
      resources.common.goods,
      resources.common.science,
      resources.common.factory,
      resources.common.acid,
      resources.rare.factory,
    ],
  },
};

export const planetNamePrefix = [
  "Acod",
  "Acht",
  "Bex",
  "Carob",
  "Daris",
  "Ecop",
  "Fron",
  "Glac",
  "Glad",
  "Hac",
  "Hor",
  "Is",
  "Jud",
  "Kor",
  "Ler",
  "Marel",
  "Naur",
  "Olep",
  "Prid",
  "Plex",
  "Qef",
  "Rem",
  "Sarit",
  "Thec",
  "Thex",
  "Thet",
  "Uv",
  "Volc",
  "Vold",
  "Wann",
  "Xal",
  "Yr",
  "Zot",
];

export const planetNameSuffix = [
  "a Minor",
  "a Major",
  "ant",
  "alor",
  "eri",
  "inia",
  "irid",
  "is",
  "o Zion",
  "or",
  "oria",
  "us",
  "us Prime",
  "us Secondus",
  "land",
  "yard",
];

