@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
24 lines • 1.16 kB
JavaScript
/**
* Protectorate Scout Drone - Mera Commander Unit
* Clean inheritance from faction ProtScoutDrone with all properties and abilities
*/
import ProtScoutDrone from "../../../../faction/protectorate/unit/prot-scout-drone.js";
export class CoopProtScoutDrone extends ProtScoutDrone {
constructor() {
super();
this.internalId = undefined;
this.internalPath = undefined;
// 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-operating-tower", // Building requirement (proper .id reference)
this.commanderLevelId(1), // Commander level 1 requirement (base utility unit)
];
// Coop-specific relationships (replicate parent with coop references)
this.createdBy = ["coop/commander/mera/building/coop-mera-operating-tower"];
}
}
CoopProtScoutDrone.src = "src/zerospace/coop/commander/mera/unit/coop-mera-prot-scout-drone.ts";
export default CoopProtScoutDrone;
//# sourceMappingURL=coop-mera-prot-scout-drone.js.map