ZSGG Public Library
Gatherer
Grell T0 Harvester Unit
import { GrellHarvesterUnit } from "../../../../defaults/grell.js";
import { Spell } from "../../../../engine/ability.js";
export class Gatherer extends GrellHarvesterUnit {
override uuid: string;
static override src = "src/zerospace/faction/grell/unit/gatherer.ts";
constructor() {
super();
this.hexiteCost = 100;
this.fluxCost = 0;
this.buildTime = 18;
this.buildCount = 1;
this.gathersFlux = 1;
this.gathersRichFlux = 2;
this.name = "Gatherer";
this.tier = "T0";
this.hotkey = "H";
this.uuid = "3cba31af-7e39-4f33-94ba-dff08dd4a213";
this.internalId = "Troop_Grell_Harvester_C";
this.internalPath = "/Game/Nova/Archetypes_Troops/Troop_Grell_Harvester.Default__Troop_Grell_Harvester_C";
this.internalTags = [
"Attackable.Unit.Troop",
"Attackable.Unit.Scavenger",
"Unit.IgnoreAllArmySelect",
"Unit.AutoControlGroup.Ignore",
"Attackable.Biological",
"Attackable.ArmorType.Harvester",
];
this.internalSecondaryTags = ["Biological"];
this.unlockedBy = ["faction/grell/building/bloomwell"];
this.createdBy = ["faction/grell/building/bloomwell"];
this.creates = ["faction/grell/building/cultivator"];
this.description =
"Gathers flux. Has the ability to spawn Cultivators. \nGatherers respawn 60 seconds after being destroyed.";
this.hp = 275;
this.shields = 0;
this.armor = 0;
this.armorType = "light";
this.speed = 510;
this.supply = 0;
this.maxOwned = 10;
this.providesBiomass = 375;
this.turnSpeed = 3000;
this.healthRegen = 5;
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,
});
}
}
export default Gatherer;