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 • 931 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.NpcProduct = void 0;
/**
* 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.
*/
class NpcProduct {
constructor(product, members, materials, facility, skills, xp) {
this.product = product;
this.members = members;
this.facility = facility;
this.skills = skills;
this.xp = xp;
this.materials = materials;
}
}
exports.NpcProduct = NpcProduct;
//# sourceMappingURL=NpcProduct.js.map