UNPKG

@zerospacegg/iolin

Version:

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

32 lines 1.64 kB
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.CoopResearchLab = void 0; const research_lab_js_1 = __importDefault(require("../../../../faction/protectorate/building/research-lab.cjs")); /** * Research Lab - Mera Commander Building * Clean inheritance from faction Research Lab with all properties and abilities */ class CoopResearchLab extends research_lab_js_1.default { constructor() { super(); // Generate composite UUID: {parent-uuid}:coop-mera this.setVariantUUID("coop-mera"); // Dual unlock system: Building + Commander Level this.unlockedBy = [ "coop/commander/mera/building/coop-mera-prot-barracks", // Barracks requirement "coop/commander/mera/building/coop-mera-supply-platform", // Supply Platform requirement this.commanderLevelId(2), // Commander level 2 requirement ]; // Coop-specific unlock chains - reference coop buildings and units this.unlocks = ["coop/commander/mera/unit/coop-mera-bastion"]; this.providesUpgradesFor = ["coop/commander/mera/unit/coop-mera-commando", "coop/commander/mera/unit/coop-mera-bastion"]; this.createdBy = ["coop/commander/mera/unit/coop-mera-prot-build-drone"]; } } exports.CoopResearchLab = CoopResearchLab; CoopResearchLab.src = "src/zerospace/coop/commander/mera/building/coop-mera-research-lab.ts"; exports.default = CoopResearchLab; //# sourceMappingURL=coop-mera-research-lab.js.map