UNPKG

@zerospacegg/iolin

Version:

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

33 lines 1.7 kB
"use strict"; /** * Behemoth - Vynthra Commander Unit * Clean inheritance from faction Behemoth 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.CoopBehemoth = void 0; const behemoth_js_1 = __importDefault(require("../../../../faction/grell/unit/behemoth.cjs")); const coop_vynthra_large_incubator_js_1 = __importDefault(require("../building/coop-vynthra-large-incubator.cjs")); const coop_vynthra_skrelling_nest_js_1 = __importDefault(require("../building/coop-vynthra-skrelling-nest.cjs")); class CoopBehemoth extends behemoth_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_large_incubator_js_1.default.id, // Building requirement (from parent) coop_vynthra_skrelling_nest_js_1.default.id, // Second building requirement (from parent) this.commanderLevelId(1), // Commander level 1 requirement ]; // Coop-specific relationships (replicate parent with coop references) this.createdBy = [coop_vynthra_large_incubator_js_1.default.id]; this.upgradedBy = [coop_vynthra_skrelling_nest_js_1.default.id]; } } exports.CoopBehemoth = CoopBehemoth; CoopBehemoth.src = "src/zerospace/coop/commander/vynthra/unit/coop-vynthra-behemoth.ts"; exports.default = CoopBehemoth; //# sourceMappingURL=coop-vynthra-behemoth.js.map