UNPKG

@zerospacegg/iolin

Version:

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

36 lines 1.93 kB
/** * Protectorate Build Drone - Mera Commander Unit * Clean inheritance from faction ProtBuildDrone with all properties and abilities */ import ProtBuildDrone from "../../../../faction/protectorate/unit/prot-build-drone.js"; export class CoopProtBuildDrone extends ProtBuildDrone { 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"]; // Builder capabilities - what this drone can construct (replicate parent creates array) this.creates = [ "coop/commander/mera/building/coop-mera-operating-tower", "coop/commander/mera/building/coop-mera-supply-platform", "coop/commander/mera/building/coop-mera-prot-barracks", "coop/commander/mera/building/coop-mera-factory", "coop/commander/mera/building/coop-mera-advanced-factory", "coop/commander/mera/building/coop-mera-research-lab", "coop/commander/mera/building/coop-mera-mechanical-research-lab", "coop/commander/mera/building/coop-mera-specialized-research-lab", "coop/commander/mera/building/coop-mera-airstrip", ]; } } CoopProtBuildDrone.src = "src/zerospace/coop/commander/mera/unit/coop-mera-prot-build-drone.ts"; export default CoopProtBuildDrone; //# sourceMappingURL=coop-mera-prot-build-drone.js.map