@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
25 lines • 1.31 kB
JavaScript
import ResearchLab from "../../../../faction/protectorate/building/research-lab.js";
/**
* Research Lab - Mera Commander Building
* Clean inheritance from faction Research Lab with all properties and abilities
*/
export class CoopResearchLab extends ResearchLab {
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"];
}
}
CoopResearchLab.src = "src/zerospace/coop/commander/mera/building/coop-mera-research-lab.ts";
export default CoopResearchLab;
//# sourceMappingURL=coop-mera-research-lab.js.map