@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
33 lines • 1.48 kB
JavaScript
;
/**
* Bastion - Mera Commander Unit
* Clean inheritance from faction Bastion with all properties and abilities
*/
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.CoopBastion = void 0;
const bastion_js_1 = __importDefault(require("../../../../faction/protectorate/unit/bastion.cjs"));
class CoopBastion extends bastion_js_1.default {
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-research-lab", // Building requirement (from parent)
this.commanderLevelId(1), // Commander level 1 requirement
];
// Coop-specific relationships (replicate parent with coop references)
this.createdBy = ["coop/commander/mera/building/coop-mera-prot-barracks"];
this.upgradedBy = ["coop/commander/mera/building/coop-mera-research-lab"];
}
}
exports.CoopBastion = CoopBastion;
// Static property for source path
CoopBastion.src = "src/zerospace/coop/commander/mera/unit/coop-mera-bastion.ts";
exports.default = CoopBastion;
//# sourceMappingURL=coop-mera-bastion.js.map