UNPKG

@zerospacegg/iolin

Version:

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

32 lines 1.63 kB
"use strict"; /** * Cultivator - Vynthra Commander Building * Clean inheritance from faction Cultivator 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.CoopCultivator = void 0; const cultivator_js_1 = __importDefault(require("../../../../faction/grell/building/cultivator.cjs")); const coop_vynthra_seedling_js_1 = __importDefault(require("../unit/coop-vynthra-seedling.cjs")); const coop_vynthra_grell_harvester_js_1 = __importDefault(require("../unit/coop-vynthra-grell-harvester.cjs")); const coop_vynthra_root_colony_js_1 = __importDefault(require("./coop-vynthra-root-colony.cjs")); class CoopCultivator extends cultivator_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_root_colony_js_1.default.id, // Building requirement this.commanderLevelId(1), // Commander level 1 requirement ]; // Built by coop builder and harvester this.createdBy = [coop_vynthra_seedling_js_1.default.id, coop_vynthra_grell_harvester_js_1.default.id]; } } exports.CoopCultivator = CoopCultivator; CoopCultivator.src = "src/zerospace/coop/commander/vynthra/building/coop-vynthra-cultivator.ts"; exports.default = CoopCultivator; //# sourceMappingURL=coop-vynthra-cultivator.js.map