UNPKG

@zerospacegg/iolin

Version:

Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)

26 lines 1.17 kB
/** * Commando - Mera Commander Unit * Clean inheritance from faction Commando with all properties and abilities */ import Commando from "../../../../faction/protectorate/unit/commando.js"; export class CoopCommando extends Commando { 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-prot-barracks", // Building requirement (from parent) this.commanderLevelId(1), // Commander level 1 requirement ]; // Coop-specific relationships (replicate parent with coop references) this.createdBy = ["coop/commander/mera/building/coop-mera-prot-barracks"]; this.upgradedBy = ["coop/commander/mera/building/coop-mera-research-lab"]; } } // Static property for source path CoopCommando.src = "src/zerospace/coop/commander/mera/unit/coop-mera-commando.ts"; export default CoopCommando; //# sourceMappingURL=coop-mera-commando.js.map