@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
26 lines • 1.21 kB
JavaScript
/**
* Behemoth - Vynthra Commander Unit
* Clean inheritance from faction Behemoth with all properties and abilities
*/
import Behemoth from "../../../../faction/grell/unit/behemoth.js";
import CoopLargeIncubator from "../building/coop-vynthra-large-incubator.js";
import CoopSkrellingNest from "../building/coop-vynthra-skrelling-nest.js";
export class CoopBehemoth extends Behemoth {
constructor() {
super();
// Generate composite UUID: {parent-uuid}:coop-vynthra
this.setVariantUUID("coop-vynthra");
// Dual unlock system: Building + Commander Level
this.unlockedBy = [
CoopLargeIncubator.id, // Building requirement (from parent)
CoopSkrellingNest.id, // Second building requirement (from parent)
this.commanderLevelId(1), // Commander level 1 requirement
];
// Coop-specific relationships (replicate parent with coop references)
this.createdBy = [CoopLargeIncubator.id];
this.upgradedBy = [CoopSkrellingNest.id];
}
}
CoopBehemoth.src = "src/zerospace/coop/commander/vynthra/unit/coop-vynthra-behemoth.ts";
export default CoopBehemoth;
//# sourceMappingURL=coop-vynthra-behemoth.js.map