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
JavaScript
/**
* 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 = {
[]: { category: "combat", maxLevel: 99, isBoostable: true },
[]: { category: "combat", maxLevel: 99, isBoostable: true },
[]: { category: "combat", maxLevel: 99, isBoostable: true },
[]: { category: "combat", maxLevel: 99, isBoostable: true },
[]: { category: "combat", maxLevel: 99, isBoostable: true },
[]: { category: "combat", maxLevel: 99, isBoostable: true },
[]: { category: "combat", maxLevel: 99, isBoostable: true },
[]: { category: "production", maxLevel: 99, isBoostable: true },
[]: { category: "gathering", maxLevel: 99, isBoostable: true },
[]: { category: "production", maxLevel: 99, isBoostable: true },
[]: { category: "gathering", maxLevel: 99, isBoostable: true },
[]: { category: "production", maxLevel: 99, isBoostable: true },
[]: { category: "production", maxLevel: 99, isBoostable: true },
[]: { category: "production", maxLevel: 99, isBoostable: true },
[]: { category: "gathering", maxLevel: 99, isBoostable: true },
[]: { category: "production", maxLevel: 99, isBoostable: true },
[]: { category: "support", maxLevel: 99, isBoostable: true },
[]: { category: "support", maxLevel: 99, isBoostable: true },
[]: { category: "support", maxLevel: 99, isBoostable: true },
[]: { category: "gathering", maxLevel: 99, isBoostable: true },
[]: { category: "production", maxLevel: 99, isBoostable: true },
[]: { category: "production", maxLevel: 99, isBoostable: true },
[]: { category: "gathering", maxLevel: 99, isBoostable: true },
[]: { category: "gathering", maxLevel: 99, isBoostable: true },
};