osrs-tools
Version:
A comprehensive TypeScript library for Old School RuneScape (OSRS) data and utilities, including quest data, skill requirements, and game item information
24 lines • 794 B
TypeScript
/**
* Slayer Buys Data
* All buyable items and services available from Slayer masters
* Reference: https://oldschool.runescape.wiki/w/Slayer#Rewards
*/
import { SlayerBuy } from './SlayerBuy';
export declare const SLAYER_BUYS: SlayerBuy[];
/**
* Get a buy by item name (case insensitive)
*/
export declare function getBuyByItem(name: string): SlayerBuy | undefined;
/**
* Get all buys within a cost range
*/
export declare function getBuysByCostRange(minCost: number, maxCost: number): SlayerBuy[];
/**
* Get all buys that require specific skills
*/
export declare function getBuysByRequirement(requirement: string): SlayerBuy[];
/**
* Get the total cost of multiple buys
*/
export declare function calculateBuysCost(items: string[]): number;
//# sourceMappingURL=buys.data.d.ts.map