osrs-tools 2.5.4 → 2.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +270 -270
- package/dist/runescape/model/quest/QuestTool.d.ts.map +1 -1
- package/dist/runescape/model/quest/QuestTool.js +102 -4
- package/dist/runescape/model/quest/all/ANightAtTheTheatre.d.ts +4 -0
- package/dist/runescape/model/quest/all/ANightAtTheTheatre.d.ts.map +1 -0
- package/dist/runescape/model/quest/all/ANightAtTheTheatre.js +4 -0
- package/dist/runescape/model/quest/all/AtFirstLight.d.ts +4 -0
- package/dist/runescape/model/quest/all/AtFirstLight.d.ts.map +1 -0
- package/dist/runescape/model/quest/all/AtFirstLight.js +4 -0
- package/dist/runescape/model/quest/all/BeneathCursedSands.d.ts +4 -0
- package/dist/runescape/model/quest/all/BeneathCursedSands.d.ts.map +1 -0
- package/dist/runescape/model/quest/all/BeneathCursedSands.js +4 -0
- package/dist/runescape/model/quest/all/ChildrenOfTheSun.d.ts +4 -0
- package/dist/runescape/model/quest/all/ChildrenOfTheSun.d.ts.map +1 -0
- package/dist/runescape/model/quest/all/ChildrenOfTheSun.js +4 -0
- package/dist/runescape/model/quest/all/ColdWar.js +1 -1
- package/dist/runescape/model/quest/all/DeathOnTheIsle.d.ts +4 -0
- package/dist/runescape/model/quest/all/DeathOnTheIsle.d.ts.map +1 -0
- package/dist/runescape/model/quest/all/DeathOnTheIsle.js +4 -0
- package/dist/runescape/model/quest/all/DefenderOfVarrock.d.ts +4 -0
- package/dist/runescape/model/quest/all/DefenderOfVarrock.d.ts.map +1 -0
- package/dist/runescape/model/quest/all/DefenderOfVarrock.js +4 -0
- package/dist/runescape/model/quest/all/DesertTreasureI.d.ts +4 -0
- package/dist/runescape/model/quest/all/DesertTreasureI.d.ts.map +1 -0
- package/dist/runescape/model/quest/all/DesertTreasureI.js +4 -0
- package/dist/runescape/model/quest/all/DesertTreasureIITheFallenEmpire.d.ts +4 -0
- package/dist/runescape/model/quest/all/DesertTreasureIITheFallenEmpire.d.ts.map +1 -0
- package/dist/runescape/model/quest/all/DesertTreasureIITheFallenEmpire.js +4 -0
- package/dist/runescape/model/quest/all/DragonSlayerI.js +1 -1
- package/dist/runescape/model/quest/all/ErnestTheChicken.d.ts +4 -0
- package/dist/runescape/model/quest/all/ErnestTheChicken.d.ts.map +1 -0
- package/dist/runescape/model/quest/all/ErnestTheChicken.js +38 -0
- package/dist/runescape/model/quest/all/EthicallyAcquiredAntiquities.d.ts +4 -0
- package/dist/runescape/model/quest/all/EthicallyAcquiredAntiquities.d.ts.map +1 -0
- package/dist/runescape/model/quest/all/EthicallyAcquiredAntiquities.js +4 -0
- package/dist/runescape/model/quest/all/LandOfTheGoblins.d.ts +4 -0
- package/dist/runescape/model/quest/all/LandOfTheGoblins.d.ts.map +1 -0
- package/dist/runescape/model/quest/all/LandOfTheGoblins.js +4 -0
- package/dist/runescape/model/quest/all/LearningTheRopes.d.ts +4 -0
- package/dist/runescape/model/quest/all/LearningTheRopes.d.ts.map +1 -0
- package/dist/runescape/model/quest/all/LearningTheRopes.js +37 -0
- package/dist/runescape/model/quest/all/MakingFriendsWithMyArm.d.ts +4 -0
- package/dist/runescape/model/quest/all/MakingFriendsWithMyArm.d.ts.map +1 -0
- package/dist/runescape/model/quest/all/MakingFriendsWithMyArm.js +25 -0
- package/dist/runescape/model/quest/all/MisthalinMystery.d.ts +4 -0
- package/dist/runescape/model/quest/all/MisthalinMystery.d.ts.map +1 -0
- package/dist/runescape/model/quest/all/MisthalinMystery.js +4 -0
- package/dist/runescape/model/quest/all/MonkeyMadnessI.d.ts +4 -0
- package/dist/runescape/model/quest/all/MonkeyMadnessI.d.ts.map +1 -0
- package/dist/runescape/model/quest/all/MonkeyMadnessI.js +4 -0
- package/dist/runescape/model/quest/all/MountainDaughter.d.ts +4 -0
- package/dist/runescape/model/quest/all/MountainDaughter.d.ts.map +1 -0
- package/dist/runescape/model/quest/all/MountainDaughter.js +25 -0
- package/dist/runescape/model/quest/all/MourningsEndPartI.d.ts +4 -0
- package/dist/runescape/model/quest/all/MourningsEndPartI.d.ts.map +1 -0
- package/dist/runescape/model/quest/all/MourningsEndPartI.js +4 -0
- package/dist/runescape/model/quest/all/MourningsEndPartII.d.ts +4 -0
- package/dist/runescape/model/quest/all/MourningsEndPartII.d.ts.map +1 -0
- package/dist/runescape/model/quest/all/MourningsEndPartII.js +4 -0
- package/dist/runescape/model/quest/all/PerilousMoons.d.ts +4 -0
- package/dist/runescape/model/quest/all/PerilousMoons.d.ts.map +1 -0
- package/dist/runescape/model/quest/all/PerilousMoons.js +4 -0
- package/dist/runescape/model/quest/all/PiratesTreasure.d.ts +4 -0
- package/dist/runescape/model/quest/all/PiratesTreasure.d.ts.map +1 -0
- package/dist/runescape/model/quest/all/PiratesTreasure.js +4 -0
- package/dist/runescape/model/quest/all/PrinceAliRescue.d.ts +4 -0
- package/dist/runescape/model/quest/all/PrinceAliRescue.d.ts.map +1 -0
- package/dist/runescape/model/quest/all/PrinceAliRescue.js +4 -0
- package/dist/runescape/model/quest/all/RagAndBoneManI.d.ts +4 -0
- package/dist/runescape/model/quest/all/RagAndBoneManI.d.ts.map +1 -0
- package/dist/runescape/model/quest/all/RagAndBoneManI.js +4 -0
- package/dist/runescape/model/quest/all/RagAndBoneManII.d.ts +4 -0
- package/dist/runescape/model/quest/all/RagAndBoneManII.d.ts.map +1 -0
- package/dist/runescape/model/quest/all/RagAndBoneManII.js +4 -0
- package/dist/runescape/model/quest/all/RomeoAndJuliet.d.ts +4 -0
- package/dist/runescape/model/quest/all/RomeoAndJuliet.d.ts.map +1 -0
- package/dist/runescape/model/quest/all/RomeoAndJuliet.js +25 -0
- package/dist/runescape/model/quest/all/RuneMysteries.d.ts +4 -0
- package/dist/runescape/model/quest/all/RuneMysteries.d.ts.map +1 -0
- package/dist/runescape/model/quest/all/RuneMysteries.js +4 -0
- package/dist/runescape/model/quest/all/SecretsOfTheNorth.d.ts +4 -0
- package/dist/runescape/model/quest/all/SecretsOfTheNorth.d.ts.map +1 -0
- package/dist/runescape/model/quest/all/SecretsOfTheNorth.js +4 -0
- package/dist/runescape/model/quest/all/SheepShearer.d.ts +4 -0
- package/dist/runescape/model/quest/all/SheepShearer.d.ts.map +1 -0
- package/dist/runescape/model/quest/all/SheepShearer.js +4 -0
- package/dist/runescape/model/quest/all/ShieldOfArrav.d.ts +4 -0
- package/dist/runescape/model/quest/all/ShieldOfArrav.d.ts.map +1 -0
- package/dist/runescape/model/quest/all/ShieldOfArrav.js +4 -0
- package/dist/runescape/model/quest/all/SinsOfTheFather.d.ts +4 -0
- package/dist/runescape/model/quest/all/SinsOfTheFather.d.ts.map +1 -0
- package/dist/runescape/model/quest/all/SinsOfTheFather.js +4 -0
- package/dist/runescape/model/quest/all/SleepingGiants.d.ts +4 -0
- package/dist/runescape/model/quest/all/SleepingGiants.d.ts.map +1 -0
- package/dist/runescape/model/quest/all/SleepingGiants.js +4 -0
- package/dist/runescape/model/quest/all/TaleOfTheRighteous.d.ts +4 -0
- package/dist/runescape/model/quest/all/TaleOfTheRighteous.d.ts.map +1 -0
- package/dist/runescape/model/quest/all/TaleOfTheRighteous.js +4 -0
- package/dist/runescape/model/quest/all/TearsOfGuthix.d.ts +4 -0
- package/dist/runescape/model/quest/all/TearsOfGuthix.d.ts.map +1 -0
- package/dist/runescape/model/quest/all/TearsOfGuthix.js +4 -0
- package/dist/runescape/model/quest/all/TempleOfIkov.d.ts +4 -0
- package/dist/runescape/model/quest/all/TempleOfIkov.d.ts.map +1 -0
- package/dist/runescape/model/quest/all/TempleOfIkov.js +4 -0
- package/dist/runescape/model/quest/all/TempleOfTheEye.d.ts +4 -0
- package/dist/runescape/model/quest/all/TempleOfTheEye.d.ts.map +1 -0
- package/dist/runescape/model/quest/all/TempleOfTheEye.js +4 -0
- package/dist/runescape/model/quest/all/TheCorsairCurse.d.ts +4 -0
- package/dist/runescape/model/quest/all/TheCorsairCurse.d.ts.map +1 -0
- package/dist/runescape/model/quest/all/TheCorsairCurse.js +25 -0
- package/dist/runescape/model/quest/all/TheCurseOfArrav.d.ts +4 -0
- package/dist/runescape/model/quest/all/TheCurseOfArrav.d.ts.map +1 -0
- package/dist/runescape/model/quest/all/TheCurseOfArrav.js +34 -0
- package/dist/runescape/model/quest/all/TheDigSite.d.ts +4 -0
- package/dist/runescape/model/quest/all/TheDigSite.d.ts.map +1 -0
- package/dist/runescape/model/quest/all/TheDigSite.js +4 -0
- package/dist/runescape/model/quest/all/TheEyesOfGlouphrie.d.ts +4 -0
- package/dist/runescape/model/quest/all/TheEyesOfGlouphrie.d.ts.map +1 -0
- package/dist/runescape/model/quest/all/TheEyesOfGlouphrie.js +4 -0
- package/dist/runescape/model/quest/all/TheFeud.d.ts +4 -0
- package/dist/runescape/model/quest/all/TheFeud.d.ts.map +1 -0
- package/dist/runescape/model/quest/all/TheFeud.js +4 -0
- package/dist/runescape/model/quest/all/TheGardenOfDeath.d.ts +4 -0
- package/dist/runescape/model/quest/all/TheGardenOfDeath.d.ts.map +1 -0
- package/dist/runescape/model/quest/all/TheGardenOfDeath.js +4 -0
- package/dist/runescape/model/quest/all/TheHandInTheSand.js +1 -1
- package/dist/runescape/model/quest/all/TheHeartOfDarkness.d.ts +4 -0
- package/dist/runescape/model/quest/all/TheHeartOfDarkness.d.ts.map +1 -0
- package/dist/runescape/model/quest/all/TheHeartOfDarkness.js +4 -0
- package/dist/runescape/model/quest/all/TheIdesOfMilk.d.ts +4 -0
- package/dist/runescape/model/quest/all/TheIdesOfMilk.d.ts.map +1 -0
- package/dist/runescape/model/quest/all/TheIdesOfMilk.js +4 -0
- package/dist/runescape/model/quest/all/ThePathOfGlouphrie.d.ts +4 -0
- package/dist/runescape/model/quest/all/ThePathOfGlouphrie.d.ts.map +1 -0
- package/dist/runescape/model/quest/all/ThePathOfGlouphrie.js +4 -0
- package/dist/runescape/model/quest/all/TheRestlessGhost.d.ts +4 -0
- package/dist/runescape/model/quest/all/TheRestlessGhost.d.ts.map +1 -0
- package/dist/runescape/model/quest/all/TheRestlessGhost.js +4 -0
- package/dist/runescape/model/quest/all/TheRibbitingTaleOfALilyPadLabourDispute.d.ts +4 -0
- package/dist/runescape/model/quest/all/TheRibbitingTaleOfALilyPadLabourDispute.d.ts.map +1 -0
- package/dist/runescape/model/quest/all/TheRibbitingTaleOfALilyPadLabourDispute.js +4 -0
- package/dist/runescape/model/quest/all/TwilightsPromise.d.ts +4 -0
- package/dist/runescape/model/quest/all/TwilightsPromise.d.ts.map +1 -0
- package/dist/runescape/model/quest/all/TwilightsPromise.js +4 -0
- package/dist/runescape/model/quest/all/WhileGuthixSleeps.d.ts +4 -0
- package/dist/runescape/model/quest/all/WhileGuthixSleeps.d.ts.map +1 -0
- package/dist/runescape/model/quest/all/WhileGuthixSleeps.js +4 -0
- package/dist/runescape/model/quest/all/WitchsPotion.d.ts +4 -0
- package/dist/runescape/model/quest/all/WitchsPotion.d.ts.map +1 -0
- package/dist/runescape/model/quest/all/WitchsPotion.js +4 -0
- package/dist/runescape/model/quest/all/XMarksTheSpot.d.ts +4 -0
- package/dist/runescape/model/quest/all/XMarksTheSpot.d.ts.map +1 -0
- package/dist/runescape/model/quest/all/XMarksTheSpot.js +4 -0
- package/dist/runescape/model/quest/all/index.d.ts +47 -0
- package/dist/runescape/model/quest/all/index.d.ts.map +1 -1
- package/dist/runescape/model/quest/all/index.js +47 -0
- package/package.json +96 -96
- package/public/assets/icons/diaries/Ardougne_Diary.png +0 -0
- package/public/assets/icons/diaries/Desert_Diary.png +0 -0
- package/public/assets/icons/diaries/Falador_Diary.png +0 -0
- package/public/assets/icons/diaries/Fremennik_Diary.png +0 -0
- package/public/assets/icons/diaries/Kandarin_Diary.png +0 -0
- package/public/assets/icons/diaries/Karamja_Diary.png +0 -0
- package/public/assets/icons/diaries/Morytania_Diary.png +0 -0
- package/public/assets/icons/diaries/Varrock_Diary.png +0 -0
- package/public/assets/icons/diaries/Wilderness_Diary.png +0 -0
- package/public/assets/icons/skills/Agility_icon.png +0 -0
- package/public/assets/icons/skills/Attack_icon.png +0 -0
- package/public/assets/icons/skills/Construction_icon.png +0 -0
- package/public/assets/icons/skills/Cooking_icon.png +0 -0
- package/public/assets/icons/skills/Crafting_icon.png +0 -0
- package/public/assets/icons/skills/Defence_icon.png +0 -0
- package/public/assets/icons/skills/Farming_icon.png +0 -0
- package/public/assets/icons/skills/Firemaking_icon.png +0 -0
- package/public/assets/icons/skills/Fishing_icon.png +0 -0
- package/public/assets/icons/skills/Fletching_icon.png +0 -0
- package/public/assets/icons/skills/Herblore_icon.png +0 -0
- package/public/assets/icons/skills/Hitpoints_icon.png +0 -0
- package/public/assets/icons/skills/Magic_icon.png +0 -0
- package/public/assets/icons/skills/Mining_icon.png +0 -0
- package/public/assets/icons/skills/Prayer_icon.png +0 -0
- package/public/assets/icons/skills/Ranged_icon.png +0 -0
- package/public/assets/icons/skills/Sailing_icon.png +0 -0
- package/public/assets/icons/skills/Slayer_icon.png +0 -0
- package/public/assets/icons/skills/Smithing_icon.png +0 -0
- package/public/assets/icons/skills/Strength_icon.png +0 -0
- package/public/assets/icons/skills/Thieving_icon.png +0 -0
- package/public/assets/icons/skills/Woodcutting_icon.png +0 -0
- package/public/assets/icons/tabs/Combat_Tab.png +0 -0
- package/public/assets/icons/tabs/Inventory_Tab.png +0 -0
- package/public/assets/icons/tabs/Magic_Tab.png +0 -0
- package/public/assets/icons/tabs/Prayer_Tab.png +0 -0
- package/public/assets/icons/tabs/Quest_Tab.png +0 -0
- package/public/assets/icons/tabs/Skills_Tab.png +0 -0
- package/public/assets/icons/ui/Bank.png +0 -0
- package/public/assets/icons/ui/Music.png +0 -0
- package/public/assets/icons/ui/Quest_Points.png +0 -0
- package/public/assets/icons/ui/Settings.png +0 -0
- package/dist/runescape/model/Item/ClueScrollRewards.js +0 -286
- package/dist/runescape/model/Item/all/StudiedChaps.js +0 -35
- package/dist/runescape/model/Item/models/YellowPartyhat.obj +0 -149
- package/dist/runescape/tools/ClueScrollHelper.js +0 -103
- package/dist/runescape/utils/cache.js +0 -124
- /package/dist/runescape/model/slayer/{Masters.js → masters.js} +0 -0
package/package.json
CHANGED
|
@@ -1,96 +1,96 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "osrs-tools",
|
|
3
|
-
"version": "2.
|
|
4
|
-
"description": "A comprehensive TypeScript library for Old School RuneScape (OSRS) data and utilities, including quest data, skill requirements, and game item information",
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"build": "tsc -p tsconfig.json",
|
|
8
|
-
"build:osrs-tools": "tsc -p tsconfig.json",
|
|
9
|
-
"build:osrs-tools:npm": "tsc -p tsconfig.build.json",
|
|
10
|
-
"coverage": "jest --coverage && codecov",
|
|
11
|
-
"dev": "tsc --watch -p tsconfig.build.json",
|
|
12
|
-
"format": "prettier --write \"source/**/*.ts\" \"test/**/*.ts\"",
|
|
13
|
-
"lint": "eslint \"{source,test}/**/*.ts\" --fix",
|
|
14
|
-
"postpublish": "git push && git push --tags",
|
|
15
|
-
"prebuild-backup": "npm run clean",
|
|
16
|
-
"prepublishOnly": "npm run build && npm test",
|
|
17
|
-
"preversion": "npm test",
|
|
18
|
-
"test": "jest",
|
|
19
|
-
"test:ci": "jest --ci --coverage",
|
|
20
|
-
"test:coverage": "jest --coverage",
|
|
21
|
-
"test:watch": "jest --watch",
|
|
22
|
-
"version": "npm run build && git add dist"
|
|
23
|
-
},
|
|
24
|
-
"dependencies": {
|
|
25
|
-
"tslib": "^2.8.1"
|
|
26
|
-
},
|
|
27
|
-
"devDependencies": {
|
|
28
|
-
"jest": "^29.7.0",
|
|
29
|
-
"prettier": "^3.6.2",
|
|
30
|
-
"ts-jest": "^29.4.5",
|
|
31
|
-
"ts-node": "^10.9.2",
|
|
32
|
-
"typescript": "^5.9.3"
|
|
33
|
-
},
|
|
34
|
-
"keywords": [
|
|
35
|
-
"osrs",
|
|
36
|
-
"runescape",
|
|
37
|
-
"typescript",
|
|
38
|
-
"quest",
|
|
39
|
-
"game-data"
|
|
40
|
-
],
|
|
41
|
-
"repository": {
|
|
42
|
-
"type": "git",
|
|
43
|
-
"url": "https://github.com/jamescer/osrs-tools.git"
|
|
44
|
-
},
|
|
45
|
-
"homepage": "https://github.com/jamescer/osrs-tools#readme",
|
|
46
|
-
"bugs": {
|
|
47
|
-
"url": "https://github.com/jamescer/osrs-tools/issues"
|
|
48
|
-
},
|
|
49
|
-
"main": "./dist/index.js",
|
|
50
|
-
"types": "./dist/index.d.ts",
|
|
51
|
-
"exports": {
|
|
52
|
-
".": {
|
|
53
|
-
"types": "./dist/index.d.ts",
|
|
54
|
-
"import": "./dist/index.js",
|
|
55
|
-
"require": "./dist/index.js"
|
|
56
|
-
},
|
|
57
|
-
"./account": {
|
|
58
|
-
"types": "./dist/runescape/model/account/index.d.ts",
|
|
59
|
-
"import": "./dist/runescape/model/account/index.js",
|
|
60
|
-
"require": "./dist/runescape/model/account/index.js"
|
|
61
|
-
},
|
|
62
|
-
"./diary": {
|
|
63
|
-
"types": "./dist/runescape/model/diaries/index.d.ts",
|
|
64
|
-
"import": "./dist/runescape/model/diaries/index.js",
|
|
65
|
-
"require": "./dist/runescape/model/diaries/index.js"
|
|
66
|
-
},
|
|
67
|
-
"./quest": {
|
|
68
|
-
"types": "./dist/runescape/model/quest/index.d.ts",
|
|
69
|
-
"import": "./dist/runescape/model/quest/index.js",
|
|
70
|
-
"require": "./dist/runescape/model/quest/index.js"
|
|
71
|
-
},
|
|
72
|
-
"./slayer": {
|
|
73
|
-
"types": "./dist/runescape/model/slayer/index.d.ts",
|
|
74
|
-
"import": "./dist/runescape/model/slayer/index.js",
|
|
75
|
-
"require": "./dist/runescape/model/slayer/index.js"
|
|
76
|
-
},
|
|
77
|
-
"./tools": {
|
|
78
|
-
"types": "./dist/runescape/tools/index.d.ts",
|
|
79
|
-
"import": "./dist/runescape/tools/index.js",
|
|
80
|
-
"require": "./dist/runescape/tools/index.js"
|
|
81
|
-
},
|
|
82
|
-
"./utils": {
|
|
83
|
-
"types": "./dist/runescape/utils/index.d.ts",
|
|
84
|
-
"import": "./dist/runescape/utils/index.js",
|
|
85
|
-
"require": "./dist/runescape/utils/index.js"
|
|
86
|
-
},
|
|
87
|
-
"./models/*": "./dist/runescape/model/Item/models/*"
|
|
88
|
-
},
|
|
89
|
-
"files": [
|
|
90
|
-
"dist",
|
|
91
|
-
"public"
|
|
92
|
-
],
|
|
93
|
-
"engines": {
|
|
94
|
-
"node": ">=18"
|
|
95
|
-
}
|
|
96
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "osrs-tools",
|
|
3
|
+
"version": "2.6.0",
|
|
4
|
+
"description": "A comprehensive TypeScript library for Old School RuneScape (OSRS) data and utilities, including quest data, skill requirements, and game item information",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"build": "tsc -p tsconfig.json",
|
|
8
|
+
"build:osrs-tools": "tsc -p tsconfig.json",
|
|
9
|
+
"build:osrs-tools:npm": "tsc -p tsconfig.build.json",
|
|
10
|
+
"coverage": "jest --coverage && codecov",
|
|
11
|
+
"dev": "tsc --watch -p tsconfig.build.json",
|
|
12
|
+
"format": "prettier --write \"source/**/*.ts\" \"test/**/*.ts\"",
|
|
13
|
+
"lint": "eslint \"{source,test}/**/*.ts\" --fix",
|
|
14
|
+
"postpublish": "git push && git push --tags",
|
|
15
|
+
"prebuild-backup": "npm run clean",
|
|
16
|
+
"prepublishOnly": "npm run build && npm test",
|
|
17
|
+
"preversion": "npm test",
|
|
18
|
+
"test": "jest",
|
|
19
|
+
"test:ci": "jest --ci --coverage",
|
|
20
|
+
"test:coverage": "jest --coverage",
|
|
21
|
+
"test:watch": "jest --watch",
|
|
22
|
+
"version": "npm run build && git add dist"
|
|
23
|
+
},
|
|
24
|
+
"dependencies": {
|
|
25
|
+
"tslib": "^2.8.1"
|
|
26
|
+
},
|
|
27
|
+
"devDependencies": {
|
|
28
|
+
"jest": "^29.7.0",
|
|
29
|
+
"prettier": "^3.6.2",
|
|
30
|
+
"ts-jest": "^29.4.5",
|
|
31
|
+
"ts-node": "^10.9.2",
|
|
32
|
+
"typescript": "^5.9.3"
|
|
33
|
+
},
|
|
34
|
+
"keywords": [
|
|
35
|
+
"osrs",
|
|
36
|
+
"runescape",
|
|
37
|
+
"typescript",
|
|
38
|
+
"quest",
|
|
39
|
+
"game-data"
|
|
40
|
+
],
|
|
41
|
+
"repository": {
|
|
42
|
+
"type": "git",
|
|
43
|
+
"url": "https://github.com/jamescer/osrs-tools.git"
|
|
44
|
+
},
|
|
45
|
+
"homepage": "https://github.com/jamescer/osrs-tools#readme",
|
|
46
|
+
"bugs": {
|
|
47
|
+
"url": "https://github.com/jamescer/osrs-tools/issues"
|
|
48
|
+
},
|
|
49
|
+
"main": "./dist/index.js",
|
|
50
|
+
"types": "./dist/index.d.ts",
|
|
51
|
+
"exports": {
|
|
52
|
+
".": {
|
|
53
|
+
"types": "./dist/index.d.ts",
|
|
54
|
+
"import": "./dist/index.js",
|
|
55
|
+
"require": "./dist/index.js"
|
|
56
|
+
},
|
|
57
|
+
"./account": {
|
|
58
|
+
"types": "./dist/runescape/model/account/index.d.ts",
|
|
59
|
+
"import": "./dist/runescape/model/account/index.js",
|
|
60
|
+
"require": "./dist/runescape/model/account/index.js"
|
|
61
|
+
},
|
|
62
|
+
"./diary": {
|
|
63
|
+
"types": "./dist/runescape/model/diaries/index.d.ts",
|
|
64
|
+
"import": "./dist/runescape/model/diaries/index.js",
|
|
65
|
+
"require": "./dist/runescape/model/diaries/index.js"
|
|
66
|
+
},
|
|
67
|
+
"./quest": {
|
|
68
|
+
"types": "./dist/runescape/model/quest/index.d.ts",
|
|
69
|
+
"import": "./dist/runescape/model/quest/index.js",
|
|
70
|
+
"require": "./dist/runescape/model/quest/index.js"
|
|
71
|
+
},
|
|
72
|
+
"./slayer": {
|
|
73
|
+
"types": "./dist/runescape/model/slayer/index.d.ts",
|
|
74
|
+
"import": "./dist/runescape/model/slayer/index.js",
|
|
75
|
+
"require": "./dist/runescape/model/slayer/index.js"
|
|
76
|
+
},
|
|
77
|
+
"./tools": {
|
|
78
|
+
"types": "./dist/runescape/tools/index.d.ts",
|
|
79
|
+
"import": "./dist/runescape/tools/index.js",
|
|
80
|
+
"require": "./dist/runescape/tools/index.js"
|
|
81
|
+
},
|
|
82
|
+
"./utils": {
|
|
83
|
+
"types": "./dist/runescape/utils/index.d.ts",
|
|
84
|
+
"import": "./dist/runescape/utils/index.js",
|
|
85
|
+
"require": "./dist/runescape/utils/index.js"
|
|
86
|
+
},
|
|
87
|
+
"./models/*": "./dist/runescape/model/Item/models/*"
|
|
88
|
+
},
|
|
89
|
+
"files": [
|
|
90
|
+
"dist",
|
|
91
|
+
"public"
|
|
92
|
+
],
|
|
93
|
+
"engines": {
|
|
94
|
+
"node": ">=18"
|
|
95
|
+
}
|
|
96
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,286 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Clue Scroll Reward Item Mappings
|
|
3
|
-
* Organizes all clue scroll rewards by tier with their correct rarity tiers
|
|
4
|
-
* Based on official OSRS Wiki data
|
|
5
|
-
*/
|
|
6
|
-
import { AdamantPlatebody } from './all/AdamantPlatebody';
|
|
7
|
-
import { AdamantPlatelegs } from './all/AdamantPlatelegs';
|
|
8
|
-
import { AdamantShieldG } from './all/AdamantShieldG';
|
|
9
|
-
import { AirRune } from './all/AirRune';
|
|
10
|
-
import { AmuletOfMagic } from './all/AmuletOfMagic';
|
|
11
|
-
import { AmuletOfMagicT } from './all/AmuletOfMagicT';
|
|
12
|
-
import { AmuletOfPowerT } from './all/AmuletOfPowerT';
|
|
13
|
-
import { AmuletOfTheVoid } from './all/AmuletOfTheVoid';
|
|
14
|
-
import { AncestralRobeBottom } from './all/AncestralRobeBottom';
|
|
15
|
-
import { AncestralRobeTop } from './all/AncestralRobeTop';
|
|
16
|
-
import { BlackAxe } from './all/BlackAxe';
|
|
17
|
-
import { BlackBattleaxe } from './all/BlackBattleaxe';
|
|
18
|
-
import { BlackDagger } from './all/BlackDagger';
|
|
19
|
-
import { BlackFullHelm } from './all/BlackFullHelm';
|
|
20
|
-
import { BlackFullHelmT } from './all/BlackFullHelmT';
|
|
21
|
-
import { BlackLongsword } from './all/BlackLongsword';
|
|
22
|
-
import { BlackPlatebody } from './all/BlackPlatebody';
|
|
23
|
-
import { BlackPlatebodyT } from './all/BlackPlatebodyT';
|
|
24
|
-
import { BlackPlatelegs } from './all/BlackPlatelegs';
|
|
25
|
-
import { BlackPlatelegsT } from './all/BlackPlatelegsT';
|
|
26
|
-
import { BlackPickaxe } from './all/BlackPickaxe';
|
|
27
|
-
import { BodyRune } from './all/BodyRune';
|
|
28
|
-
import { BlueDHideBody } from './all/BlueDHideBody';
|
|
29
|
-
import { BlueDHideChaps } from './all/BlueDHideChaps';
|
|
30
|
-
import { CapeOfSkulls } from './all/CapeOfSkulls';
|
|
31
|
-
import { ChaosRune } from './all/ChaosRune';
|
|
32
|
-
import { Coins } from './all/Coins';
|
|
33
|
-
import { Coif } from './all/Coif';
|
|
34
|
-
import { CrawsBow } from './all/CrawsBow';
|
|
35
|
-
import { DragonBoots } from './all/DragonBoots';
|
|
36
|
-
import { DragonFullHelm } from './all/DragonFullHelm';
|
|
37
|
-
import { DragonMediumHelm } from './all/DragonMediumHelm';
|
|
38
|
-
import { DragonPlatebody } from './all/DragonPlatebody';
|
|
39
|
-
import { DragonPlatelegs } from './all/DragonPlatelegs';
|
|
40
|
-
import { EarthRune } from './all/EarthRune';
|
|
41
|
-
import { FireRune } from './all/FireRune';
|
|
42
|
-
import { FlaredTrousers } from './all/FlaredTrousersItem';
|
|
43
|
-
import { GildedFullHelm } from './all/GildedFullHelm';
|
|
44
|
-
import { GildedLegs } from './all/GildedLegs';
|
|
45
|
-
import { GildedPlatebody } from './all/GildedPlatebody';
|
|
46
|
-
import { GoldenApron } from './all/GoldenApron';
|
|
47
|
-
import { GoldenChefsHat } from './all/GoldenChefsHat';
|
|
48
|
-
import { GreenDHideBody } from './all/GreenDHideBody';
|
|
49
|
-
import { HamJoint } from './all/HamJoint';
|
|
50
|
-
import { IronBoots } from './all/IronBoots';
|
|
51
|
-
import { IronFullHelm } from './all/IronFullHelm';
|
|
52
|
-
import { IronFullHelmT } from './all/IronFullHelmT';
|
|
53
|
-
import { IronPlatebody } from './all/IronPlatebody';
|
|
54
|
-
import { IronPlatebodyT } from './all/IronPlatebodyT';
|
|
55
|
-
import { IronPlatelegs } from './all/IronPlatelegs';
|
|
56
|
-
import { LawRune } from './all/LawRune';
|
|
57
|
-
import { MasterScrollBookEmpty } from './all/MasterScrollBookEmpty';
|
|
58
|
-
import { MindRune } from './all/MindRune';
|
|
59
|
-
import { MithrilBoots } from './all/MithrilBoots';
|
|
60
|
-
import { MithrilFullHelm } from './all/MithrilFullHelm';
|
|
61
|
-
import { MithrilPlatebody } from './all/MithrilPlatebody';
|
|
62
|
-
import { MithrilPlatelegs } from './all/MithrilPlatelegs';
|
|
63
|
-
import { MithrilShieldT } from './all/MithrilShieldT';
|
|
64
|
-
import { MonksRobeG } from './all/MonksRobeG';
|
|
65
|
-
import { MonksRobeTopG } from './all/MonksRobeTopG';
|
|
66
|
-
import { NatureRune } from './all/NatureRune';
|
|
67
|
-
import { RainBow } from './all/RainBow';
|
|
68
|
-
import { RangerBoots } from './all/RangerBoots';
|
|
69
|
-
import { RangerGloves } from './all/RangerGloves';
|
|
70
|
-
import { RangerLegs } from './all/RangerLegs';
|
|
71
|
-
import { RangerTunic } from './all/RangerTunic';
|
|
72
|
-
import { RedDHideBody } from './all/RedDHideBody';
|
|
73
|
-
import { RedDHideChaps } from './all/RedDHideChaps';
|
|
74
|
-
import { RedElegantShirt } from './all/RedElegantShirt';
|
|
75
|
-
import { RuneFullHelm } from './all/RuneFullHelm';
|
|
76
|
-
import { RuneFullHelmT } from './all/RuneFullHelmT';
|
|
77
|
-
import { RuneMediumHelm } from './all/RuneMediumHelm';
|
|
78
|
-
import { RunePlatebody } from './all/RunePlatebody';
|
|
79
|
-
import { RunePlatebodyT } from './all/RunePlatebodyT';
|
|
80
|
-
import { RunePlatelegs } from './all/RunePlatelegs';
|
|
81
|
-
import { RuniteBar } from './all/RuniteBar';
|
|
82
|
-
import { Salmon } from './all/Salmon';
|
|
83
|
-
import { StaffOfAir } from './all/StaffOfAir';
|
|
84
|
-
import { StaffOfBobTheCat } from './all/StaffOfBobTheCat';
|
|
85
|
-
import { SteelBoots } from './all/SteelBoots';
|
|
86
|
-
import { SteelFullHelm } from './all/SteelFullHelm';
|
|
87
|
-
import { SteelFullHelmT } from './all/SteelFullHelmT';
|
|
88
|
-
import { SteelPickaxe } from './all/SteelPickaxe';
|
|
89
|
-
import { SteelPlatebody } from './all/SteelPlatebody';
|
|
90
|
-
import { SteelPlatebodyT } from './all/SteelPlatebodyT';
|
|
91
|
-
import { SteelPlatelegs } from './all/SteelPlatelegs';
|
|
92
|
-
import { StudiedBody } from './all/StudiedBody';
|
|
93
|
-
import { StudiedChaps } from './all/StudiedChaps';
|
|
94
|
-
import { TeamCapeI } from './all/TeamCapeI';
|
|
95
|
-
import { TeamCapeX } from './all/TeamCapeX';
|
|
96
|
-
import { TeamCapeZero } from './all/TeamCapeZero';
|
|
97
|
-
import { ThammaronsSceptre } from './all/ThammaronsSceptre';
|
|
98
|
-
import { ThirdAgeLongsword } from './all/ThirdAgeLongsword';
|
|
99
|
-
import { ThirdAgePlatebody } from './all/ThirdAgePlatebody';
|
|
100
|
-
import { ThirdAgePlatelegs } from './all/ThirdAgePlatelegs';
|
|
101
|
-
import { TreasonousRing } from './all/TreasonousRing';
|
|
102
|
-
import { Trout } from './all/Trout';
|
|
103
|
-
import { TwistedBow } from './all/TwistedBow';
|
|
104
|
-
import { UncutDiamond } from './all/UncutDiamond';
|
|
105
|
-
import { UncutEmerald } from './all/UncutEmerald';
|
|
106
|
-
import { UncutRuby } from './all/UncutRuby';
|
|
107
|
-
import { UncutSapphire } from './all/UncutSapphire';
|
|
108
|
-
import { WaterRune } from './all/WaterRune';
|
|
109
|
-
import { WillowCompBow } from './all/WillowCompBow';
|
|
110
|
-
import { WillowLongbow } from './all/WillowLongbow';
|
|
111
|
-
import { WillowShortbow } from './all/WillowShortbow';
|
|
112
|
-
import { WoodenShieldG } from './all/WoodenShieldG';
|
|
113
|
-
/**
|
|
114
|
-
* Reward odds mapping for Beginner clue scrolls
|
|
115
|
-
* Items are organized with their rarity tiers (denominator)
|
|
116
|
-
*/
|
|
117
|
-
export const BEGINNER_REWARDS = {
|
|
118
|
-
'Iron full helm': { item: IronFullHelm, rarity: 10 },
|
|
119
|
-
'Iron platebody': { item: IronPlatebody, rarity: 10 },
|
|
120
|
-
'Iron platelegs': { item: IronPlatelegs, rarity: 10 },
|
|
121
|
-
'Iron boots': { item: IronBoots, rarity: 10 },
|
|
122
|
-
'Steel full helm': { item: SteelFullHelm, rarity: 15 },
|
|
123
|
-
'Steel platebody': { item: SteelPlatebody, rarity: 15 },
|
|
124
|
-
'Steel platelegs': { item: SteelPlatelegs, rarity: 15 },
|
|
125
|
-
'Steel boots': { item: SteelBoots, rarity: 15 },
|
|
126
|
-
'Mithril full helm': { item: MithrilFullHelm, rarity: 25 },
|
|
127
|
-
'Mithril platebody': { item: MithrilPlatebody, rarity: 25 },
|
|
128
|
-
'Mithril platelegs': { item: MithrilPlatelegs, rarity: 25 },
|
|
129
|
-
'Mithril boots': { item: MithrilBoots, rarity: 25 },
|
|
130
|
-
'Uncut sapphire': { item: UncutSapphire, rarity: 50 },
|
|
131
|
-
'Uncut emerald': { item: UncutEmerald, rarity: 50 },
|
|
132
|
-
'Uncut ruby': { item: UncutRuby, rarity: 50 },
|
|
133
|
-
'Uncut diamond': { item: UncutDiamond, rarity: 100 },
|
|
134
|
-
};
|
|
135
|
-
/**
|
|
136
|
-
* Reward odds mapping for Easy clue scrolls
|
|
137
|
-
*/
|
|
138
|
-
export const EASY_REWARDS = {
|
|
139
|
-
'Black full helm': { item: BlackFullHelm, rarity: 36 },
|
|
140
|
-
'Black platebody': { item: BlackPlatebody, rarity: 36 },
|
|
141
|
-
'Black platelegs': { item: BlackPlatelegs, rarity: 36 },
|
|
142
|
-
'Black longsword': { item: BlackLongsword, rarity: 36 },
|
|
143
|
-
'Black battleaxe': { item: BlackBattleaxe, rarity: 36 },
|
|
144
|
-
'Black axe': { item: BlackAxe, rarity: 36 },
|
|
145
|
-
'Black dagger': { item: BlackDagger, rarity: 36 },
|
|
146
|
-
'Steel pickaxe': { item: SteelPickaxe, rarity: 36 },
|
|
147
|
-
'Black pickaxe': { item: BlackPickaxe, rarity: 36 },
|
|
148
|
-
'Coif': { item: Coif, rarity: 36 },
|
|
149
|
-
'Studded body': { item: StudiedBody, rarity: 36 },
|
|
150
|
-
'Studded chaps': { item: StudiedChaps, rarity: 36 },
|
|
151
|
-
'Willow shortbow': { item: WillowShortbow, rarity: 36 },
|
|
152
|
-
'Staff of air': { item: StaffOfAir, rarity: 36 },
|
|
153
|
-
'Air rune': { item: AirRune, rarity: 36 },
|
|
154
|
-
'Mind rune': { item: MindRune, rarity: 36 },
|
|
155
|
-
'Water rune': { item: WaterRune, rarity: 36 },
|
|
156
|
-
'Earth rune': { item: EarthRune, rarity: 36 },
|
|
157
|
-
'Fire rune': { item: FireRune, rarity: 36 },
|
|
158
|
-
'Body rune': { item: BodyRune, rarity: 36 },
|
|
159
|
-
'Chaos rune': { item: ChaosRune, rarity: 36 },
|
|
160
|
-
'Nature rune': { item: NatureRune, rarity: 36 },
|
|
161
|
-
'Law rune': { item: LawRune, rarity: 36 },
|
|
162
|
-
'Trout': { item: Trout, rarity: 36 },
|
|
163
|
-
'Salmon': { item: Salmon, rarity: 36 },
|
|
164
|
-
'Coins (50-200)': { item: Coins, rarity: 36 },
|
|
165
|
-
'Willow longbow': { item: WillowLongbow, rarity: 40 },
|
|
166
|
-
'Amulet of magic': { item: AmuletOfMagic, rarity: 40 },
|
|
167
|
-
'Willow comp bow': { item: WillowCompBow, rarity: 360 },
|
|
168
|
-
'Amulet of magic (t)': { item: AmuletOfMagicT, rarity: 360 },
|
|
169
|
-
'Wooden shield (g)': { item: WoodenShieldG, rarity: 1404 },
|
|
170
|
-
'Black full helm (t)': { item: BlackFullHelmT, rarity: 1404 },
|
|
171
|
-
'Black platebody (t)': { item: BlackPlatebodyT, rarity: 1404 },
|
|
172
|
-
'Black platelegs (t)': { item: BlackPlatelegsT, rarity: 1404 },
|
|
173
|
-
'Steel full helm (t)': { item: SteelFullHelmT, rarity: 1404 },
|
|
174
|
-
'Steel platebody (t)': { item: SteelPlatebodyT, rarity: 1404 },
|
|
175
|
-
'Iron full helm (t)': { item: IronFullHelmT, rarity: 1404 },
|
|
176
|
-
'Iron platebody (t)': { item: IronPlatebodyT, rarity: 1404 },
|
|
177
|
-
'Flared trousers': { item: FlaredTrousers, rarity: 1404 },
|
|
178
|
-
'Ham joint': { item: HamJoint, rarity: 1404 },
|
|
179
|
-
'Staff of bob the cat': { item: StaffOfBobTheCat, rarity: 1404 },
|
|
180
|
-
'Amulet of power (t)': { item: AmuletOfPowerT, rarity: 1404 },
|
|
181
|
-
'Rain bow': { item: RainBow, rarity: 1404 },
|
|
182
|
-
'Master scroll book (empty)': { item: MasterScrollBookEmpty, rarity: 1404 },
|
|
183
|
-
'Golden chef\'s hat': { item: GoldenChefsHat, rarity: 2808 },
|
|
184
|
-
'Golden apron': { item: GoldenApron, rarity: 2808 },
|
|
185
|
-
'Red elegant shirt': { item: RedElegantShirt, rarity: 2808 },
|
|
186
|
-
'Team cape zero': { item: TeamCapeZero, rarity: 5616 },
|
|
187
|
-
'Team cape i': { item: TeamCapeI, rarity: 5616 },
|
|
188
|
-
'Team cape x': { item: TeamCapeX, rarity: 5616 },
|
|
189
|
-
'Cape of skulls': { item: CapeOfSkulls, rarity: 5616 },
|
|
190
|
-
'Monk\'s robe top (g)': { item: MonksRobeTopG, rarity: 14040 },
|
|
191
|
-
'Monk\'s robe (g)': { item: MonksRobeG, rarity: 14040 },
|
|
192
|
-
};
|
|
193
|
-
/**
|
|
194
|
-
* Reward odds mapping for Medium clue scrolls
|
|
195
|
-
*/
|
|
196
|
-
export const MEDIUM_REWARDS = {
|
|
197
|
-
'Mithril platebody': { item: MithrilPlatebody, rarity: 40 },
|
|
198
|
-
'Mithril platelegs': { item: MithrilPlatelegs, rarity: 40 },
|
|
199
|
-
'Adamant platebody': { item: AdamantPlatebody, rarity: 40 },
|
|
200
|
-
'Adamant platelegs': { item: AdamantPlatelegs, rarity: 40 },
|
|
201
|
-
'Rune medium helm': { item: RuneMediumHelm, rarity: 60 },
|
|
202
|
-
'Rune full helm': { item: RuneFullHelm, rarity: 60 },
|
|
203
|
-
'Ranger tunic': { item: RangerTunic, rarity: 60 },
|
|
204
|
-
'Mithril shield (t)': { item: MithrilShieldT, rarity: 240 },
|
|
205
|
-
'Adamant shield (g)': { item: AdamantShieldG, rarity: 240 },
|
|
206
|
-
'Green d\'hide body': { item: GreenDHideBody, rarity: 600 },
|
|
207
|
-
};
|
|
208
|
-
/**
|
|
209
|
-
* Reward odds mapping for Hard clue scrolls
|
|
210
|
-
*/
|
|
211
|
-
export const HARD_REWARDS = {
|
|
212
|
-
'Rune full helm': { item: RuneFullHelm, rarity: 48 },
|
|
213
|
-
'Rune platebody': { item: RunePlatebody, rarity: 48 },
|
|
214
|
-
'Rune platelegs': { item: RunePlatelegs, rarity: 48 },
|
|
215
|
-
'Runite bar': { item: RuniteBar, rarity: 48 },
|
|
216
|
-
'Blue d\'hide body': { item: BlueDHideBody, rarity: 64 },
|
|
217
|
-
'Blue d\'hide chaps': { item: BlueDHideChaps, rarity: 64 },
|
|
218
|
-
'Dragon medium helm': { item: DragonMediumHelm, rarity: 80 },
|
|
219
|
-
'Amulet of the void': { item: AmuletOfTheVoid, rarity: 108 },
|
|
220
|
-
'Rune full helm (t)': { item: RuneFullHelmT, rarity: 240 },
|
|
221
|
-
'Rune platebody (t)': { item: RunePlatebodyT, rarity: 240 },
|
|
222
|
-
'Ranger boots': { item: RangerBoots, rarity: 336 },
|
|
223
|
-
'Ranger gloves': { item: RangerGloves, rarity: 336 },
|
|
224
|
-
'Ranger tunic': { item: RangerTunic, rarity: 336 },
|
|
225
|
-
'Ranger legs': { item: RangerLegs, rarity: 336 },
|
|
226
|
-
};
|
|
227
|
-
/**
|
|
228
|
-
* Reward odds mapping for Elite clue scrolls
|
|
229
|
-
*/
|
|
230
|
-
export const ELITE_REWARDS = {
|
|
231
|
-
'Rune full helm': { item: RuneFullHelm, rarity: 36 },
|
|
232
|
-
'Dragon platebody': { item: DragonPlatebody, rarity: 50 },
|
|
233
|
-
'Dragon platelegs': { item: DragonPlatelegs, rarity: 50 },
|
|
234
|
-
'Dragon medium helm': { item: DragonMediumHelm, rarity: 50 },
|
|
235
|
-
'Red d\'hide body': { item: RedDHideBody, rarity: 45 },
|
|
236
|
-
'Red d\'hide chaps': { item: RedDHideChaps, rarity: 45 },
|
|
237
|
-
'Craw\'s bow': { item: CrawsBow, rarity: 360 },
|
|
238
|
-
'Thammaron\'s sceptre': { item: ThammaronsSceptre, rarity: 360 },
|
|
239
|
-
'Treasonous ring': { item: TreasonousRing, rarity: 360 },
|
|
240
|
-
};
|
|
241
|
-
/**
|
|
242
|
-
* Reward odds mapping for Master clue scrolls
|
|
243
|
-
*/
|
|
244
|
-
export const MASTER_REWARDS = {
|
|
245
|
-
'Gilded platebody': { item: GildedPlatebody, rarity: 12 },
|
|
246
|
-
'Gilded platelegs': { item: GildedLegs, rarity: 12 },
|
|
247
|
-
'Gilded full helm': { item: GildedFullHelm, rarity: 12 },
|
|
248
|
-
'Dragon full helm': { item: DragonFullHelm, rarity: 30 },
|
|
249
|
-
'Dragon platebody': { item: DragonPlatebody, rarity: 30 },
|
|
250
|
-
'Dragon platelegs': { item: DragonPlatelegs, rarity: 30 },
|
|
251
|
-
'Dragon boots': { item: DragonBoots, rarity: 30 },
|
|
252
|
-
'Twisted bow': { item: TwistedBow, rarity: 800 },
|
|
253
|
-
'Ancestral robe top': { item: AncestralRobeTop, rarity: 800 },
|
|
254
|
-
'Ancestral robe bottom': { item: AncestralRobeBottom, rarity: 800 },
|
|
255
|
-
'3rd age longsword': { item: ThirdAgeLongsword, rarity: 1000 },
|
|
256
|
-
'3rd age platebody': { item: ThirdAgePlatebody, rarity: 1000 },
|
|
257
|
-
'3rd age platelegs': { item: ThirdAgePlatelegs, rarity: 1000 },
|
|
258
|
-
};
|
|
259
|
-
/**
|
|
260
|
-
* Gets all reward odds for a specific clue tier
|
|
261
|
-
*/
|
|
262
|
-
export function getClueRewardsByTier(tier) {
|
|
263
|
-
switch (tier.toLowerCase()) {
|
|
264
|
-
case 'beginner':
|
|
265
|
-
return BEGINNER_REWARDS;
|
|
266
|
-
case 'easy':
|
|
267
|
-
return EASY_REWARDS;
|
|
268
|
-
case 'medium':
|
|
269
|
-
return MEDIUM_REWARDS;
|
|
270
|
-
case 'hard':
|
|
271
|
-
return HARD_REWARDS;
|
|
272
|
-
case 'elite':
|
|
273
|
-
return ELITE_REWARDS;
|
|
274
|
-
case 'master':
|
|
275
|
-
return MASTER_REWARDS;
|
|
276
|
-
default:
|
|
277
|
-
throw new Error(`Unknown clue tier: ${tier}`);
|
|
278
|
-
}
|
|
279
|
-
}
|
|
280
|
-
/**
|
|
281
|
-
* Gets all items for a specific tier as an array
|
|
282
|
-
*/
|
|
283
|
-
export function getClueItemsList(tier) {
|
|
284
|
-
const rewards = getClueRewardsByTier(tier);
|
|
285
|
-
return Object.values(rewards).map(r => r.item);
|
|
286
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { Item } from '../Item';
|
|
2
|
-
const studiedChapsData = {
|
|
3
|
-
id: 1333,
|
|
4
|
-
name: 'Studded chaps',
|
|
5
|
-
iconUrl: '/assets/items/studded-chaps.png',
|
|
6
|
-
examine: 'Leather chaps with metal studs.',
|
|
7
|
-
value: 50,
|
|
8
|
-
highAlch: 30,
|
|
9
|
-
lowAlch: 20,
|
|
10
|
-
weight: 2.721,
|
|
11
|
-
members: true,
|
|
12
|
-
tradeable: true,
|
|
13
|
-
equipable: true,
|
|
14
|
-
releaseDate: '2001-12-10',
|
|
15
|
-
destroy: 'Drop',
|
|
16
|
-
questItem: false,
|
|
17
|
-
stackable: false,
|
|
18
|
-
noted: false,
|
|
19
|
-
officialWikiUrl: 'https://oldschool.runescape.wiki/w/Studded_chaps',
|
|
20
|
-
attackStab: 0,
|
|
21
|
-
attackSlash: 0,
|
|
22
|
-
attackCrush: 0,
|
|
23
|
-
attackRanged: 0,
|
|
24
|
-
attackMagic: -5,
|
|
25
|
-
defenceStab: 15,
|
|
26
|
-
defenceSlash: 18,
|
|
27
|
-
defenceCrush: 12,
|
|
28
|
-
defenceRanged: 15,
|
|
29
|
-
defenceMagic: -3,
|
|
30
|
-
strength: 0,
|
|
31
|
-
rangedStrength: 0,
|
|
32
|
-
magicDamage: 0,
|
|
33
|
-
prayer: 0,
|
|
34
|
-
};
|
|
35
|
-
export const StudiedChaps = Item.fromJson(studiedChapsData);
|