UNPKG

@zerospacegg/iolin

Version:

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

35 lines 2.06 kB
"use strict"; /** * Root Colony - Vynthra Commander Building * Clean inheritance from faction Root Colony 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.CoopRootColony = void 0; const root_colony_js_1 = __importDefault(require("../../../../faction/grell/building/root-colony.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_grell_extractor_js_1 = __importDefault(require("./coop-vynthra-grell-extractor.cjs")); const coop_vynthra_nourishing_pod_js_1 = __importDefault(require("./coop-vynthra-nourishing-pod.cjs")); const coop_vynthra_cultivator_js_1 = __importDefault(require("./coop-vynthra-cultivator.cjs")); class CoopRootColony extends root_colony_js_1.default { constructor() { super(); // Generate composite UUID: {parent-uuid}:coop-vynthra this.setVariantUUID("coop-vynthra"); // Base building - no unlock requirements this.unlockedBy = []; // Built by coop builder this.createdBy = [coop_vynthra_seedling_js_1.default.id]; // Creates coop units and buildings this.creates = [coop_vynthra_seedling_js_1.default.id, coop_vynthra_grell_harvester_js_1.default.id, coop_vynthra_grell_extractor_js_1.default.id]; // Unlocks coop buildings and units this.unlocks = [coop_vynthra_nourishing_pod_js_1.default.id, coop_vynthra_cultivator_js_1.default.id, coop_vynthra_seedling_js_1.default.id, coop_vynthra_grell_harvester_js_1.default.id]; } } exports.CoopRootColony = CoopRootColony; CoopRootColony.src = "src/zerospace/coop/commander/vynthra/building/coop-vynthra-root-colony.ts"; exports.default = CoopRootColony; //# sourceMappingURL=coop-vynthra-root-colony.js.map