@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
26 lines • 1.42 kB
JavaScript
import Incubator from "../../../../faction/grell/building/incubator.js";
/**
* Incubator - Vynthra Commander Building
* Clean inheritance from faction Incubator with all properties and abilities
*/
export class CoopIncubator extends Incubator {
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-nourishing-pod", // 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-stinger", "coop/commander/vynthra/unit/coop-vynthra-lasher"];
// 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-stinger", "coop/commander/vynthra/building/coop-vynthra-augmentation-pool", "coop/commander/vynthra/building/coop-vynthra-medium-incubator"];
}
}
CoopIncubator.src = "src/zerospace/coop/commander/vynthra/building/coop-vynthra-incubator.ts";
export default CoopIncubator;
//# sourceMappingURL=coop-vynthra-incubator.js.map