@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
23 lines • 1.01 kB
JavaScript
/**
* Protectorate Extractor - Mera Commander Building
* Clean inheritance from faction Protectorate Extractor with all properties and abilities
*/
import ProtExtractor from "../../../../faction/protectorate/building/prot-extractor.js";
import CoopOperatingTower from "./coop-mera-operating-tower.js";
export class CoopProtExtractor extends ProtExtractor {
constructor() {
super();
// Generate composite UUID: {parent-uuid}:coop-mera
this.setVariantUUID("coop-mera");
// Dual unlock system: Building + Commander Level
this.unlockedBy = [
CoopOperatingTower.id, // Operating Tower requirement
this.commanderLevelId(1), // Commander level 1 requirement
];
// Coop-specific unlock chains
this.createdBy = [CoopOperatingTower.id];
}
}
CoopProtExtractor.src = "src/zerospace/coop/commander/mera/building/coop-mera-prot-extractor.ts";
export default CoopProtExtractor;
//# sourceMappingURL=coop-mera-prot-extractor.js.map