ZSGG Public Library
World Forge
Xol Co-Op Tech Building
import { XolTechBuilding } from "../../../../../defaults/xol.js";
import { GlobalUpgrade } from "../../../../../engine/ability.js";
export class CoopWorldForge extends XolTechBuilding {
static override src = "src/zerospace/coop/commander/anrubic/building/coop-anrubic-world-forge.ts";
override get variantOf(): string {
return "faction/xol/building/world-forge";
}
constructor() {
super();
this.name = "World Forge";
this.unlocksMercTier = "T2+T3";
this.description =
"A research structure. Upgrades affect all Xol units. Only 3 upgrade types can be researched.\nUnits nearby the structure gain double the upgrade bonus.";
this.wikiDescription =
"A research structure. Upgrades affect all Xol units. Only 3 upgrade types can be researched.\nUnits nearby the structure gain double the upgrade bonus.";
this.tier = "";
this.hotkey = "X";
this.uuid = "17c51b3b-4548-4ca8-8509-a2b2e4bc4144";
this.hexiteCost = 100;
this.fluxCost = 100;
this.buildTime = 75;
this.buildCount = 1;
this.hp = 1000;
this.armor = 1;
this.armorType = "building";
this.upgradeSelectionLimit = 3;
this.nearbyUpgradeMultiplier = 2;
const sharedUpgradeData = {
maxRank: 1,
appliesToTags: ["faction:xol", "unit"],
researchTime: 60,
parentId: this.id,
parentUUID: this.uuid,
} as const;
this.providesUpgradesFor = [
"coop/commander/anrubic/unit/coop-anrubic-roller",
"coop/commander/anrubic/unit/coop-anrubic-spectron",
"coop/commander/anrubic/unit/coop-anrubic-xyther",
"coop/commander/anrubic/unit/coop-anrubic-cataclyst",
"coop/commander/anrubic/unit/coop-anrubic-defiant",
"coop/commander/anrubic/unit/coop-anrubic-echo",
"coop/commander/anrubic/unit/coop-anrubic-paradox",
"coop/commander/anrubic/unit/coop-anrubic-synapse",
];
this.unlocks = [
"coop/commander/anrubic/unit/coop-anrubic-cataclyst",
"coop/commander/anrubic/unit/coop-anrubic-defiant",
"coop/commander/anrubic/unit/coop-anrubic-echo",
"coop/commander/anrubic/unit/coop-anrubic-paradox",
"coop/commander/anrubic/unit/coop-anrubic-synapse",
];
}
}
export default CoopWorldForge;