UNPKG

@zerospacegg/iolin

Version:

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

31 lines 1.51 kB
"use strict"; /** * Protectorate Harvester - Mera Commander Unit * Clean inheritance from faction ProtHarvester 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.CoopProtHarvester = void 0; const prot_harvester_js_1 = require("../../../../faction/protectorate/unit/prot-harvester.cjs"); const coop_mera_operating_tower_js_1 = __importDefault(require("../building/coop-mera-operating-tower.cjs")); class CoopProtHarvester extends prot_harvester_js_1.ProtHarvester { constructor() { super(); this.maxOwned = 3; // Generate composite UUID: {parent-uuid}:coop-mera this.setVariantUUID("coop-mera"); // Dual unlock system: Building + Commander Level this.unlockedBy = [ coop_mera_operating_tower_js_1.default.id, // Building requirement (proper .id reference) this.commanderLevelId(1), // Commander level 1 requirement (base utility unit) ]; // Coop-specific relationships (replicate parent with coop references) this.createdBy = [coop_mera_operating_tower_js_1.default.id]; } } exports.CoopProtHarvester = CoopProtHarvester; CoopProtHarvester.src = "src/zerospace/coop/commander/mera/unit/coop-mera-prot-harvester.ts"; exports.default = CoopProtHarvester; //# sourceMappingURL=coop-mera-prot-harvester.js.map