@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
43 lines • 1.76 kB
JavaScript
/**
* Medium Incubator - Grell T2 production building
* Advanced production facility that inherits from base production building
*/
import { GrellProductionBuilding } from "../../grell-classes.js";
import Harbinger from "../unit/harbinger.js";
import ManEater from "../unit/man-eater.js";
import Seedling from "../unit/seedling.js";
import Thresher from "../unit/thresher.js";
import AdvancedAugmentationPool from "./advanced-augmentation-pool.js";
import Incubator from "./incubator.js";
import LargeIncubator from "./large-incubator.js";
export class MediumIncubator extends GrellProductionBuilding {
constructor() {
super();
this.name = "Medium Incubator";
this.tier = "T2";
this.hotkey = "F";
this.hexiteCost = 125;
this.fluxCost = 50;
this.buildTime = 40;
this.buildCount = 1;
this.uuid = "abb4b3c7-4be7-4be5-b72c-46abefd8411c";
// Medium Incubator stats from PKL truth
this.hp = 1200;
this.armor = 1;
this.speed = 0;
this.shortName = "Md. Incubator";
// Creates units
this.creates = [Harbinger.id, ManEater.id, Thresher.id];
this.createdBy = [Seedling.id];
this.unlockedBy = [Incubator.id];
// Unlocks units and buildings
this.unlocks = [Harbinger.id, ManEater.id, LargeIncubator.id, AdvancedAugmentationPool.id];
// Unlocks mercenary tier
this.unlocksMercTier = "T2";
// All other stats (hp, costs, biomass, etc.) inherited from base GrellProductionBuilding class
}
}
// Static property for source path
MediumIncubator.src = "src/zerospace/faction/grell/building/medium-incubator.ts";
export default MediumIncubator;
//# sourceMappingURL=medium-incubator.js.map