ZSGG Public Library
Labourer
Legion T0 Harvester Unit
import { LegionHarvesterUnit } from "../../../../defaults/legion.js";
import { Heal } from "../../../../engine/ability.js";
export class LegionLabourer extends LegionHarvesterUnit {
override uuid: string;
static override src = "src/zerospace/faction/legion/unit/legion-labourer.ts";
constructor() {
super();
this.hexiteCost = 75;
this.fluxCost = 0;
this.buildTime = 12;
this.buildCount = 1;
this.gathersFlux = 0.7;
this.gathersRichFlux = 1.4;
this.name = "Labourer";
this.description = "Harvests flux. \nCan build and repair mechanical units and structures.";
this.tier = "T0";
this.uuid = "8a5b5790-9747-4639-8596-398bf4f64c38";
this.internalId = "Troop_Legion_Harvester_C";
this.internalPath = "/Game/Nova/Archetypes_Troops/Troop_Legion_Harvester.Default__Troop_Legion_Harvester_C";
this.internalTags = [
"Attackable.Unit.Troop",
"Unit.IgnoreAllArmySelect",
"Unit.AutoControlGroup.Ignore",
"Attackable.Biological",
"Attackable.Unit.Scavenger",
"Unit.Builder",
"Attackable.SecondaryType.Infantry",
"Attackable.ArmorType.Harvester",
];
this.internalSecondaryTags = ["Biological"];
this.hp = 150;
this.shields = 0;
this.armor = 0;
this.armorType = "light";
this.speed = 450;
this.supply = 0;
this.maxOwned = 15;
this.turnSpeed = 3000;
this.healthRegen = 4;
this.createdBy = ["faction/legion/building/garrison-tower"];
this.unlockedBy = ["faction/legion/building/garrison-tower"];
this.heals.heal = new Heal({
name: "Heal",
healing: 10,
range: 100,
cooldown: 0.5,
parentId: this.id,
parentUUID: this.uuid,
});
}
}
export default LegionLabourer;