@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
47 lines • 2.32 kB
JavaScript
/**
* Seedling - Vynthra Commander Unit
* Clean inheritance from faction Seedling with all properties and abilities
*/
import Seedling from "../../../../faction/grell/unit/seedling.js";
import CoopRootColony from "../building/coop-vynthra-root-colony.js";
import CoopIncubator from "../building/coop-vynthra-incubator.js";
import CoopMediumIncubator from "../building/coop-vynthra-medium-incubator.js";
import CoopLargeIncubator from "../building/coop-vynthra-large-incubator.js";
import CoopAugmentationPool from "../building/coop-vynthra-augmentation-pool.js";
import CoopAdvancedAugmentationPool from "../building/coop-vynthra-advanced-augmentation-pool.js";
import CoopSpecialAugmentationPool from "../building/coop-vynthra-special-augmentation-pool.js";
import CoopCultivator from "../building/coop-vynthra-cultivator.js";
import CoopSkrellingNest from "../building/coop-vynthra-skrelling-nest.js";
import CoopNourishingPod from "../building/coop-vynthra-nourishing-pod.js";
import CoopGrellExtractor from "../building/coop-vynthra-grell-extractor.js";
export class CoopSeedling extends Seedling {
constructor() {
super();
// Generate composite UUID: {parent-uuid}:coop-vynthra
this.setVariantUUID("coop-vynthra");
// Dual unlock system: Building + Commander Level
this.unlockedBy = [
CoopRootColony.id, // Building requirement (from parent)
this.commanderLevelId(1), // Commander level 1 requirement
];
// Coop-specific relationships (replicate parent with coop references)
this.createdBy = [CoopRootColony.id];
// Builder capabilities - what this seedling can construct (replicate parent creates array)
this.creates = [
CoopIncubator.id,
CoopMediumIncubator.id,
CoopLargeIncubator.id,
CoopAugmentationPool.id,
CoopAdvancedAugmentationPool.id,
CoopSpecialAugmentationPool.id,
CoopCultivator.id,
CoopRootColony.id,
CoopSkrellingNest.id,
CoopNourishingPod.id,
CoopGrellExtractor.id,
];
}
}
CoopSeedling.src = "src/zerospace/coop/commander/vynthra/unit/coop-vynthra-seedling.ts";
export default CoopSeedling;
//# sourceMappingURL=coop-vynthra-seedling.js.map