@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
32 lines • 1.77 kB
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.CoopSpecializedResearchLab = void 0;
const specialized_research_lab_js_1 = __importDefault(require("../../../../faction/protectorate/building/specialized-research-lab.cjs"));
/**
* Specialized Research Lab - Mera Commander Building
* Clean inheritance from faction Specialized Research Lab with all properties and abilities
*/
class CoopSpecializedResearchLab extends specialized_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-advanced-factory", // Advanced Factory requirement
this.commanderLevelId(6), // Commander level 6 requirement
];
// Coop-specific unlock chains
this.unlocks = [];
this.createdBy = ["coop/commander/mera/unit/coop-mera-prot-build-drone"];
// Provides upgrades for all advanced factory units
this.providesUpgradesFor = ["coop/commander/mera/unit/coop-mera-cyclops", "coop/commander/mera/unit/coop-mera-juggernaut", "coop/commander/mera/unit/coop-mera-strider", "coop/commander/mera/unit/coop-mera-griffin"];
}
}
exports.CoopSpecializedResearchLab = CoopSpecializedResearchLab;
CoopSpecializedResearchLab.src = "src/zerospace/coop/commander/mera/building/coop-mera-specialized-research-lab.ts";
exports.default = CoopSpecializedResearchLab;
//# sourceMappingURL=coop-mera-specialized-research-lab.js.map