@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
30 lines • 1.47 kB
JavaScript
/**
* Special Augmentation Pool - Vynthra Commander Building
* Clean inheritance from faction Special Augmentation Pool with all properties and abilities
*/
import SpecialAugmentationPool from "../../../../faction/grell/building/special-augmentation-pool.js";
import CoopSeedling from "../unit/coop-vynthra-seedling.js";
import CoopReaver from "../unit/coop-vynthra-reaver.js";
import CoopWeaver from "../unit/coop-vynthra-weaver.js";
import CoopLargeIncubator from "./coop-vynthra-large-incubator.js";
export class CoopSpecialAugmentationPool extends SpecialAugmentationPool {
constructor() {
super();
// Generate composite UUID: {parent-uuid}:coop-vynthra
this.setVariantUUID("coop-vynthra");
// Dual unlock system: Building + Commander Level
this.unlockedBy = [
CoopLargeIncubator.id, // Building requirement
this.commanderLevelId(7), // Commander level 7 requirement
];
// Built by coop builder
this.createdBy = [CoopSeedling.id];
// Unlocks coop units
this.unlocks = [CoopWeaver.id, CoopReaver.id];
// Provides upgrades for coop units
this.providesUpgradesFor = [CoopReaver.id, CoopWeaver.id];
}
}
CoopSpecialAugmentationPool.src = "src/zerospace/coop/commander/vynthra/building/coop-vynthra-special-augmentation-pool.ts";
export default CoopSpecialAugmentationPool;
//# sourceMappingURL=coop-vynthra-special-augmentation-pool.js.map