@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
26 lines • 1.6 kB
JavaScript
import MediumIncubator from "../../../../faction/grell/building/medium-incubator.js";
/**
* Medium Incubator - Vynthra Commander Building
* Clean inheritance from faction Medium Incubator with all properties and abilities
*/
export class CoopMediumIncubator extends MediumIncubator {
constructor() {
super();
// Generate composite UUID: {parent-uuid}:coop-vynthra
this.setVariantUUID("coop-vynthra");
// Dual unlock system: Building + Commander Level
this.unlockedBy = [
"coop/commander/vynthra/building/coop-vynthra-incubator", // Building requirement
this.commanderLevelId(1), // Commander level 1 requirement
];
// Coop-specific unit creation - reference coop units, not faction ones
this.creates = ["coop/commander/vynthra/unit/coop-vynthra-harbinger", "coop/commander/vynthra/unit/coop-vynthra-man-eater", "coop/commander/vynthra/unit/coop-vynthra-thresher"];
// Built by coop builder
this.createdBy = ["coop/commander/vynthra/unit/coop-vynthra-seedling"];
// Unlocks coop buildings and units
this.unlocks = ["coop/commander/vynthra/unit/coop-vynthra-harbinger", "coop/commander/vynthra/unit/coop-vynthra-man-eater", "coop/commander/vynthra/building/coop-vynthra-large-incubator", "coop/commander/vynthra/building/coop-vynthra-advanced-augmentation-pool"];
}
}
CoopMediumIncubator.src = "src/zerospace/coop/commander/vynthra/building/coop-vynthra-medium-incubator.ts";
export default CoopMediumIncubator;
//# sourceMappingURL=coop-vynthra-medium-incubator.js.map