UNPKG

osrs-tools

Version:

A comprehensive TypeScript library for Old School RuneScape (OSRS) data and utilities, including quest data, skill requirements, and game item information

28 lines 1.01 kB
import { Item } from "../Item/Item"; export interface NpcProductMaterial { item: Item; quantity: number; } /** * Represents a product that an NPC can make for players. * @property {string} product - Name of the product (e.g., "Skeletal bottoms"). * @property {boolean} members - Whether the product is members-only. * @property {string} [facility] - Facility required (if any). * @property {Object} [skills] - Skills required (e.g., { Crafting: 60 }). * @property {number} [xp] - XP awarded for making the product. * @property {Item[]} materials - Materials required. */ export declare class NpcProduct { product: string; members: boolean; facility?: string; skills?: { [skill: string]: number; }; xp?: number; materials: NpcProductMaterial[]; constructor(product: string, members: boolean, materials: NpcProductMaterial[], facility?: string, skills?: { [skill: string]: number; }, xp?: number); } //# sourceMappingURL=NpcProduct.d.ts.map