UNPKG

@zerospacegg/iolin

Version:

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

32 lines 1.75 kB
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.CoopProtBarracks = void 0; const prot_barracks_js_1 = __importDefault(require("../../../../faction/protectorate/building/prot-barracks.cjs")); /** * Protectorate Barracks - Mera Commander Building * Clean inheritance from faction Protectorate Barracks with all properties and abilities */ class CoopProtBarracks extends prot_barracks_js_1.default { 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"]; } } exports.CoopProtBarracks = CoopProtBarracks; CoopProtBarracks.src = "src/zerospace/coop/commander/mera/building/coop-mera-prot-barracks.ts"; exports.default = CoopProtBarracks; //# sourceMappingURL=coop-mera-prot-barracks.js.map