UNPKG

@zerospacegg/iolin

Version:

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

33 lines 1.68 kB
"use strict"; /** * Grell Harvester - Vynthra Commander Unit * Clean inheritance from faction Grell Harvester 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.CoopGrellHarvester = void 0; const grell_harvester_js_1 = require("../../../../faction/grell/unit/grell-harvester.cjs"); const coop_vynthra_root_colony_js_1 = __importDefault(require("../building/coop-vynthra-root-colony.cjs")); class CoopGrellHarvester extends grell_harvester_js_1.GrellHarvester { constructor() { super(); // Generate composite UUID: {parent-uuid}:coop-vynthra this.setVariantUUID("coop-vynthra"); // Coop-specific maxOwned limit (3/6/9 progression: Mera=3, Vynthra=6, Galavax=9) this.maxOwned = 6; // Dual unlock system: Building + Commander Level this.unlockedBy = [ coop_vynthra_root_colony_js_1.default.id, // Building requirement (from parent) this.commanderLevelId(1), // Commander level 1 requirement ]; // Coop-specific relationships (replicate parent with coop references) this.createdBy = [coop_vynthra_root_colony_js_1.default.id]; // Builder capabilities inherited from parent (creates Cultivator -> maps to CoopCultivator) } } exports.CoopGrellHarvester = CoopGrellHarvester; CoopGrellHarvester.src = "src/zerospace/coop/commander/vynthra/unit/coop-vynthra-grell-harvester.ts"; exports.default = CoopGrellHarvester; //# sourceMappingURL=coop-vynthra-grell-harvester.js.map