@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
27 lines • 1.18 kB
JavaScript
/**
* Nourishing Pod - Vynthra Commander Building
* Clean inheritance from faction Nourishing Pod with all properties and abilities
*/
import NourishingPod from "../../../../faction/grell/building/nourishing-pod.js";
import CoopSeedling from "../unit/coop-vynthra-seedling.js";
import CoopRootColony from "./coop-vynthra-root-colony.js";
import CoopIncubator from "./coop-vynthra-incubator.js";
export class CoopNourishingPod extends NourishingPod {
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
this.commanderLevelId(3), // Commander level 3 requirement
];
// Built by coop builder
this.createdBy = [CoopSeedling.id];
// Unlocks coop buildings
this.unlocks = [CoopIncubator.id];
}
}
CoopNourishingPod.src = "src/zerospace/coop/commander/vynthra/building/coop-vynthra-nourishing-pod.ts";
export default CoopNourishingPod;
//# sourceMappingURL=coop-vynthra-nourishing-pod.js.map