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