@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
30 lines • 1.5 kB
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.CoopMechanicalResearchLab = void 0;
const mechanical_research_lab_js_1 = __importDefault(require("../../../../faction/protectorate/building/mechanical-research-lab.cjs"));
/**
* Mechanical Research Lab - Mera Commander Building
* Clean inheritance from faction Mechanical Research Lab with all properties and abilities
*/
class CoopMechanicalResearchLab extends mechanical_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-factory", // Factory requirement
this.commanderLevelId(4), // Commander level 4 requirement
];
// Coop-specific unlock chains
this.unlocks = ["coop/commander/mera/unit/coop-mera-titan"];
this.createdBy = ["coop/commander/mera/unit/coop-mera-prot-build-drone"];
}
}
exports.CoopMechanicalResearchLab = CoopMechanicalResearchLab;
CoopMechanicalResearchLab.src = "src/zerospace/coop/commander/mera/building/coop-mera-mechanical-research-lab.ts";
exports.default = CoopMechanicalResearchLab;
//# sourceMappingURL=coop-mera-mechanical-research-lab.js.map