UNPKG

@zerospacegg/iolin

Version:

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

26 lines 1.18 kB
/** * Juggernaut - Mera Commander Unit * Clean inheritance from faction Juggernaut with all properties and abilities */ import Juggernaut from "../../../../faction/protectorate/unit/juggernaut.js"; import CoopAdvancedFactory from "../building/coop-mera-advanced-factory.js"; import CoopSpecializedResearchLab from "../building/coop-mera-specialized-research-lab.js"; export class CoopJuggernaut extends Juggernaut { constructor() { super(); // Generate composite UUID: {parent-uuid}:coop-mera this.setVariantUUID("coop-mera"); // Dual unlock system: Building + Commander Level this.unlockedBy = [ CoopAdvancedFactory.id, // Building requirement this.commanderLevelId(8), // Commander level 8 requirement ]; // Coop-specific relationships (replicate parent with coop references) this.createdBy = [CoopAdvancedFactory.id]; this.upgradedBy = [CoopSpecializedResearchLab.id]; } } // Static property for source path CoopJuggernaut.src = "src/zerospace/coop/commander/mera/unit/coop-mera-juggernaut.ts"; export default CoopJuggernaut; //# sourceMappingURL=coop-mera-juggernaut.js.map