UNPKG

@zerospacegg/iolin

Version:

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

26 lines 1.15 kB
/** * Strider - Mera Commander Unit * Clean inheritance from faction Strider with all properties and abilities */ import Strider from "../../../../faction/protectorate/unit/strider.js"; import CoopAdvancedFactory from "../building/coop-mera-advanced-factory.js"; import CoopSpecializedResearchLab from "../building/coop-mera-specialized-research-lab.js"; export class CoopStrider extends Strider { 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 CoopStrider.src = "src/zerospace/coop/commander/mera/unit/coop-mera-strider.ts"; export default CoopStrider; //# sourceMappingURL=coop-mera-strider.js.map