UNPKG

@zerospacegg/iolin

Version:

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

50 lines 1.87 kB
/** * Grell Harvester - Economic unit that generates biomass and spawns cultivators * Essential for Grell economy and forward positioning strategies */ import { Spell } from "../../../../engine/ability.js"; import { GrellHarvesterUnit } from "../../grell-classes.js"; import Cultivator from "../building/cultivator.js"; import RootColony from "../building/root-colony.js"; export class GrellHarvester extends GrellHarvesterUnit { constructor() { super(); this.name = "Grell Harvester"; this.tier = "T0"; this.hotkey = "H"; this.hexiteCost = 100; this.fluxCost = 0; this.buildTime = 25; this.buildCount = 1; this.gathersFlux = 1; this.gathersRichFlux = 2; this.uuid = "3cba31af-7e39-4f33-94ba-dff08dd4a213"; this.unlockedBy = [RootColony.id]; this.createdBy = [RootColony.id]; this.creates = [Cultivator.id]; this.description = "Harvests flux. Has the ability to spawn Cultivators. Harvesters respawn 60s after being destroyed."; this.hp = 275; this.shields = 0; this.armor = 0; this.armorType = "light"; this.speed = 450; this.supply = 0; this.maxOwned = 10; this.providesBiomass = 375; this.spells.spawnCultivator = new Spell({ name: "Spawn Cultivator", description: "Spawns a free cultivator (spawns with ability off cooldown)", hotkey: "G", cooldown: 60, cooldownAtBuild: false, range: 375, targets: ["map"], parentId: this.id, parentUUID: this.uuid, }); } } // Static property for source path GrellHarvester.src = "src/zerospace/faction/grell/unit/grell-harvester.ts"; export default GrellHarvester; //# sourceMappingURL=grell-harvester.js.map