UNPKG

@zerospacegg/iolin

Version:

Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)

42 lines 1.63 kB
/** * Incubator - Grell T1 production building * Primary army unit production facility that inherits from base production building */ import { GrellProductionBuilding } from "../../grell-classes.js"; import Lasher from "../unit/lasher.js"; import Seedling from "../unit/seedling.js"; import Skrelling from "../unit/skrelling.js"; import Stinger from "../unit/stinger.js"; import AugmentationPool from "./augmentation-pool.js"; import MediumIncubator from "./medium-incubator.js"; import NourishingPod from "./nourishing-pod.js"; export class Incubator extends GrellProductionBuilding { constructor() { super(); this.name = "Incubator"; this.tier = "T1"; this.hotkey = "D"; this.buildTime = 35; this.hexiteCost = 100; this.fluxCost = 0; this.unlocksMercTier = "T1"; this.uuid = "9ddf1f1e-3ddc-466f-9875-6dd9b36f6279"; // Building stats this.hp = 1000; this.shields = 0; this.armor = 1; this.armorType = "building"; this.speed = 0; // Creates units this.creates = [Stinger.id, Lasher.id, Skrelling.id]; this.createdBy = [Seedling.id]; this.unlockedBy = [NourishingPod.id]; // Unlocks units and buildings this.unlocks = [Stinger.id, AugmentationPool.id, MediumIncubator.id]; // All other stats (hp, costs, biomass, etc.) inherited from base GrellProductionBuilding class } } // Static property for source path Incubator.src = "src/zerospace/faction/grell/building/incubator.ts"; export default Incubator; //# sourceMappingURL=incubator.js.map