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

66 lines (65 loc) 3.25 kB
/** * Enumeration of possible skills in the game. * Used for accessing skill-related data in accounts. * See:: https://oldschool.runescape.wiki/w/Skills * @enum {string} * @readonly * @reference Skill names from OSRS APIv1 */ export var Skill; (function (Skill) { Skill["Agility"] = "Agility"; Skill["Attack"] = "Attack"; Skill["Construction"] = "Construction"; Skill["Cooking"] = "Cooking"; Skill["Crafting"] = "Crafting"; Skill["Defence"] = "Defence"; Skill["Farming"] = "Farming"; Skill["Firemaking"] = "Firemaking"; Skill["Fishing"] = "Fishing"; Skill["Fletching"] = "Fletching"; Skill["Herblore"] = "Herblore"; Skill["Hitpoints"] = "Hitpoints"; Skill["Hunter"] = "Hunter"; Skill["Magic"] = "Magic"; Skill["Mining"] = "Mining"; Skill["Prayer"] = "Prayer"; Skill["Ranged"] = "Ranged"; Skill["Runecraft"] = "Runecraft"; Skill["Sailing"] = "Sailing"; Skill["Slayer"] = "Slayer"; Skill["Smithing"] = "Smithing"; Skill["Strength"] = "Strength"; Skill["Thieving"] = "Thieving"; Skill["Woodcutting"] = "Woodcutting"; })(Skill || (Skill = {})); /** * Comprehensive metadata for all skills. * Provides details about skill properties for validation and categorization. */ export const SKILL_METADATA = { [Skill.Attack]: { category: "combat", maxLevel: 99, isBoostable: true }, [Skill.Defence]: { category: "combat", maxLevel: 99, isBoostable: true }, [Skill.Strength]: { category: "combat", maxLevel: 99, isBoostable: true }, [Skill.Hitpoints]: { category: "combat", maxLevel: 99, isBoostable: true }, [Skill.Ranged]: { category: "combat", maxLevel: 99, isBoostable: true }, [Skill.Prayer]: { category: "combat", maxLevel: 99, isBoostable: true }, [Skill.Magic]: { category: "combat", maxLevel: 99, isBoostable: true }, [Skill.Cooking]: { category: "production", maxLevel: 99, isBoostable: true }, [Skill.Woodcutting]: { category: "gathering", maxLevel: 99, isBoostable: true }, [Skill.Fletching]: { category: "production", maxLevel: 99, isBoostable: true }, [Skill.Fishing]: { category: "gathering", maxLevel: 99, isBoostable: true }, [Skill.Firemaking]: { category: "production", maxLevel: 99, isBoostable: true }, [Skill.Crafting]: { category: "production", maxLevel: 99, isBoostable: true }, [Skill.Smithing]: { category: "production", maxLevel: 99, isBoostable: true }, [Skill.Mining]: { category: "gathering", maxLevel: 99, isBoostable: true }, [Skill.Herblore]: { category: "production", maxLevel: 99, isBoostable: true }, [Skill.Agility]: { category: "support", maxLevel: 99, isBoostable: true }, [Skill.Thieving]: { category: "support", maxLevel: 99, isBoostable: true }, [Skill.Slayer]: { category: "support", maxLevel: 99, isBoostable: true }, [Skill.Farming]: { category: "gathering", maxLevel: 99, isBoostable: true }, [Skill.Runecraft]: { category: "production", maxLevel: 99, isBoostable: true }, [Skill.Construction]: { category: "production", maxLevel: 99, isBoostable: true }, [Skill.Hunter]: { category: "gathering", maxLevel: 99, isBoostable: true }, [Skill.Sailing]: { category: "gathering", maxLevel: 99, isBoostable: true }, };