@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
33 lines • 1.74 kB
JavaScript
;
/**
* Mechanical Research Lab - Mera Commander Building
* Clean inheritance from faction Mechanical Research Lab 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.CoopMechanicalResearchLab = void 0;
const mechanical_research_lab_js_1 = __importDefault(require("../../../../faction/protectorate/building/mechanical-research-lab.cjs"));
const coop_mera_prot_build_drone_js_1 = __importDefault(require("../unit/coop-mera-prot-build-drone.cjs"));
const coop_mera_factory_js_1 = __importDefault(require("./coop-mera-factory.cjs"));
const coop_mera_titan_js_1 = __importDefault(require("../unit/coop-mera-titan.cjs"));
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_mera_factory_js_1.default.id, // Factory requirement
this.commanderLevelId(4), // Commander level 4 requirement
];
// Coop-specific unlock chains
this.unlocks = [coop_mera_titan_js_1.default.id];
this.createdBy = [coop_mera_prot_build_drone_js_1.default.id];
}
}
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