@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
40 lines • 1.55 kB
JavaScript
/**
* Incubator - Grell T1 production building
* Primary army unit production facility that inherits from base production building
*/
import { GrellProductionBuilding } from "../../../../defaults/grell.js";
export class Incubator extends GrellProductionBuilding {
// Static properties for ID references
constructor() {
super();
this.hexiteCost = 75;
this.fluxCost = 0;
this.buildTime = 35;
this.name = "Incubator";
this.tier = "T1";
this.hotkey = "D";
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 = ["faction/grell/unit/stinger", "faction/grell/unit/lasher", "faction/grell/unit/skrelling"];
this.createdBy = ["faction/grell/unit/seedling"];
this.unlockedBy = ["faction/grell/building/nourishing-pod"];
// Unlocks units and buildings
this.unlocks = [
"faction/grell/unit/stinger",
"faction/grell/building/augmentation-pool",
"faction/grell/building/medium-incubator",
];
// 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