@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
30 lines • 1.43 kB
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.CoopSupplyPlatform = void 0;
const supply_platform_js_1 = __importDefault(require("../../../../faction/protectorate/building/supply-platform.cjs"));
/**
* Supply Platform - Mera Commander Building
* Clean inheritance from faction Supply Platform with all properties and abilities
*/
class CoopSupplyPlatform extends supply_platform_js_1.default {
constructor() {
super();
// 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", // Operating Tower requirement
this.commanderLevelId(1), // Commander level 1 requirement
];
// Coop-specific unlock chains
this.unlocks = ["coop/commander/mera/building/coop-mera-prot-barracks"];
this.createdBy = ["coop/commander/mera/unit/coop-mera-prot-build-drone"];
}
}
exports.CoopSupplyPlatform = CoopSupplyPlatform;
CoopSupplyPlatform.src = "src/zerospace/coop/commander/mera/building/coop-mera-supply-platform.ts";
exports.default = CoopSupplyPlatform;
//# sourceMappingURL=coop-mera-supply-platform.js.map