osrs-tools
Version:
A comprehensive TypeScript library for Old School RuneScape (OSRS) data and utilities, including quest data, skill requirements, and game item information
52 lines • 1.62 kB
TypeScript
/**
* 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 declare enum Skill {
Agility = "Agility",
Attack = "Attack",
Construction = "Construction",
Cooking = "Cooking",
Crafting = "Crafting",
Defence = "Defence",
Farming = "Farming",
Firemaking = "Firemaking",
Fishing = "Fishing",
Fletching = "Fletching",
Herblore = "Herblore",
Hitpoints = "Hitpoints",
Hunter = "Hunter",
Magic = "Magic",
Mining = "Mining",
Prayer = "Prayer",
Ranged = "Ranged",
Runecraft = "Runecraft",
Sailing = "Sailing",
Slayer = "Slayer",
Smithing = "Smithing",
Strength = "Strength",
Thieving = "Thieving",
Woodcutting = "Woodcutting"
}
/**
* Metadata for each skill including category, max level, and boostability.
* Used for validation and requirement checking across quests, diaries, and accounts.
*/
export interface SkillMetadata {
/** Category of the skill for organizational purposes */
category: "combat" | "gathering" | "production" | "support";
/** Maximum attainable level for the skill */
maxLevel: number;
/** Whether this skill can be boosted above natural level */
isBoostable: boolean;
}
/**
* Comprehensive metadata for all skills.
* Provides details about skill properties for validation and categorization.
*/
export declare const SKILL_METADATA: Record<Skill, SkillMetadata>;
//# sourceMappingURL=Skill.d.ts.map