UNPKG

scum-quest-library

Version:
33 lines 1.22 kB
import { CookLevel, CookQuality } from '../../schemas'; import type { Condition } from '../../types'; export declare class ConditionBuilder { private condition; private conditionType; asFetch(): this; asElimination(): this; asInteraction(): this; withSequenceIndex(index: number): this; withCaption(caption: string): this; autoComplete(auto?: boolean): this; disablePurchase(disable?: boolean): this; requireItems(items: string[], count: number): this; requireItemsWithOptions(items: string[], count: number, options?: { minHealth?: number; minMass?: number; minUses?: number; cookLevel?: { min?: CookLevel; max?: CookLevel; }; cookQuality?: CookQuality; resourceRatio?: number; resourceAmount?: number; }): this; requireItemsWithHealth(items: string[], count: number, minHealth: number): this; addMapLocation(X: number, Y: number, Z: number, sizeFactor?: number): this; keepItems(keep?: boolean): this; eliminateTargets(targets: string[], count: number): this; withWeapons(weapons: string[]): this; build(): Condition; } //# sourceMappingURL=index.d.ts.map