UNPKG

@zerospacegg/iolin

Version:

Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)

39 lines 2.24 kB
"use strict"; /** * Incubator - Vynthra Commander Building * Clean inheritance from faction Incubator with all properties and abilities */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.CoopIncubator = void 0; const incubator_js_1 = __importDefault(require("../../../../faction/grell/building/incubator.cjs")); const coop_vynthra_seedling_js_1 = __importDefault(require("../unit/coop-vynthra-seedling.cjs")); const coop_vynthra_stinger_js_1 = __importDefault(require("../unit/coop-vynthra-stinger.cjs")); const coop_vynthra_lasher_js_1 = __importDefault(require("../unit/coop-vynthra-lasher.cjs")); const coop_vynthra_augmentation_pool_js_1 = __importDefault(require("./coop-vynthra-augmentation-pool.cjs")); const coop_vynthra_medium_incubator_js_1 = __importDefault(require("./coop-vynthra-medium-incubator.cjs")); const coop_vynthra_nourishing_pod_js_1 = __importDefault(require("./coop-vynthra-nourishing-pod.cjs")); class CoopIncubator extends incubator_js_1.default { constructor() { super(); // Generate composite UUID: {parent-uuid}:coop-vynthra this.setVariantUUID("coop-vynthra"); // Dual unlock system: Building + Commander Level this.unlockedBy = [ coop_vynthra_nourishing_pod_js_1.default.id, // Building requirement this.commanderLevelId(1), // Commander level 1 requirement ]; // Coop-specific unit creation - reference coop units, not faction ones this.creates = [coop_vynthra_stinger_js_1.default.id, coop_vynthra_lasher_js_1.default.id]; // Built by coop builder this.createdBy = [coop_vynthra_seedling_js_1.default.id]; // Unlocks coop buildings and units this.unlocks = [coop_vynthra_stinger_js_1.default.id, coop_vynthra_augmentation_pool_js_1.default.id, coop_vynthra_medium_incubator_js_1.default.id]; } } exports.CoopIncubator = CoopIncubator; CoopIncubator.src = "src/zerospace/coop/commander/vynthra/building/coop-vynthra-incubator.ts"; exports.default = CoopIncubator; //# sourceMappingURL=coop-vynthra-incubator.js.map