UNPKG

@zerospacegg/iolin

Version:

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

25 lines 1.42 kB
import ProtBarracks from "../../../../faction/protectorate/building/prot-barracks.js"; /** * Protectorate Barracks - Mera Commander Building * Clean inheritance from faction Protectorate Barracks with all properties and abilities */ export class CoopProtBarracks extends ProtBarracks { constructor() { super(); // Generate composite UUID: {parent-uuid}:coop-mera this.setVariantUUID("coop-mera"); // Production capabilities (replicate PvP relationships with coop IDs) this.creates = ["coop/commander/mera/unit/coop-mera-commando", "coop/commander/mera/unit/coop-mera-bastion"]; // Dual unlock system: Building + Commander Level this.unlockedBy = [ "coop/commander/mera/building/coop-mera-supply-platform", // Supply Platform requirement this.commanderLevelId(2), // Commander level 2 requirement ]; // Building relationships (replicate PvP relationships with coop IDs) this.createdBy = ["coop/commander/mera/unit/coop-mera-prot-build-drone"]; this.unlocks = ["coop/commander/mera/building/coop-mera-factory", "coop/commander/mera/unit/coop-mera-commando", "coop/commander/mera/building/coop-mera-research-lab"]; } } CoopProtBarracks.src = "src/zerospace/coop/commander/mera/building/coop-mera-prot-barracks.ts"; export default CoopProtBarracks; //# sourceMappingURL=coop-mera-prot-barracks.js.map