osrs-tools 0.1.1 → 0.2.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 +106 -30
- package/package.json +90 -75
- package/src/index.ts +6 -433
- package/src/model/Requirement.ts +173 -0
- package/src/model/account/OsrsAccount.ts +82 -0
- package/src/model/quest/Quest.ts +44 -0
- package/src/model/quest/QuestTool.ts +96 -0
- package/src/model/slayer/Assignment.ts +40 -0
- package/src/model/slayer/SlayerMaster.ts +137 -0
- package/src/model/slayer/SlayerReward.ts +39 -0
- package/src/model/slayer/Task.ts +168 -0
- package/src/resources/QuestData.json +754 -0
- package/src/{data/Diaries → resources/quest}/diaries.json +3 -3
- package/src/{data/quest/questData.ts → resources/quest/questData.js} +169 -223
- package/src/{data/quest/questDataArray.json → resources/quest/questData.json} +950 -1833
- package/src/resources/quest/questDataArray.js +5489 -0
- package/src/{data/quest/questData.json → resources/quest/questDataArray.json} +642 -643
- package/src/{data/quest/miniquestQuestArray.json → resources/quest/subquestArray.js} +2 -2
- package/src/{data/quest/subQuestArray.json → resources/quest/subquestArray.json} +1 -1
- package/src/{data → resources}/quest/testObj.json +148 -148
- package/src/{data → resources}/quest/testarray.json +149 -149
- package/src/resources/quests/CooksAssistant.json +34 -0
- package/src/resources/slayer/Masters.ts +180 -0
- package/src/resources/slayer/SlayerData.ts +45 -0
- package/src/resources/slayer/SlayerExtends.ts +218 -0
- package/src/resources/slayer/SlayerUnlock.ts +194 -0
- package/src/resources/slayer/slayer.json +3581 -0
- package/src/resources/slayer/slayerBuys.ts +38 -0
- package/src/resources/slayer/slayerData.json +4431 -0
- package/src/resources/slayer/tasks/ChaelderTasks.ts +235 -0
- package/src/resources/slayer/tasks/DuradelTasks.ts +75 -0
- package/src/resources/slayer/tasks/KonarTasks.ts +6 -0
- package/src/resources/slayer/tasks/MazchnaTasks.ts +5 -0
- package/src/resources/slayer/tasks/NieveTasks.ts +235 -0
- package/src/resources/slayer/tasks/ReadTasks.ts +55 -0
- package/src/resources/slayer/tasks/SpriaTasks.ts +344 -0
- package/src/resources/slayer/tasks/Tureal.ts +436 -0
- package/src/resources/slayer/tasks/VannakaTasks.ts +236 -0
- package/src/resources/slayer/tasks/json/Chaeldar.json +348 -0
- package/src/resources/slayer/tasks/json/Duradel.json +541 -0
- package/src/resources/slayer/tasks/json/Krystilia.json +2 -0
- package/src/resources/slayer/tasks/json/Mazchna.json +379 -0
- package/src/resources/slayer/tasks/json/Neive.json +320 -0
- package/src/resources/slayer/tasks/json/Spria.json +345 -0
- package/src/resources/slayer/tasks/json/Tureal.json +341 -0
- package/src/resources/slayer/tasks/json/Vannaka.json +547 -0
- package/src/cli.js +0 -9
- package/src/data/farming/fruitTrees.json +0 -165
- package/src/data/farming/locations.json +0 -78
- package/src/data/farming/patches.json +0 -102
- package/src/data/farming/seeds.json +0 -170
- package/src/data/farming/teleports.json +0 -301
- package/src/data/farming/treePatches.json +0 -3
- package/src/data/farming/trees.json +0 -103
- package/src/data/quest/miniquestQuestArray.ts +0 -8
- package/src/data/quest/questDataArray.ts +0 -4134
- package/src/data/quest/subQuestArray.ts +0 -60
- package/src/tests/QuestTest.js +0 -71
- package/src/tests/getAllQuestSeries.ts +0 -6
- package/src/tests/test Quest Array.ts +0 -9
- package/src/tests/test Requirements.ts +0 -56
- package/src/tests/test.ts +0 -402
- package/src/tests/test3.js +0 -370
- package/src/tests/testQuestCompletion.js +0 -367
- package/src/tests/testSeed.js +0 -8
- package/src/utils/AchievementDiary.ts +0 -18
- package/src/utils/Farming/FarmingTool.ts +0 -110
- package/src/utils/Farming/Seed.js +0 -42
- package/src/utils/Farming/TreeSeed.js +0 -21
- package/src/utils/OsrsAccount.ts +0 -280
- package/src/utils/Quest.ts +0 -99
- package/src/utils/QuestTool.ts +0 -437
- package/src/utils/Requirement.ts +0 -63
- package/src/utils/Skill.ts +0 -11
- /package/src/{data/Diaries → resources/quest}/diariesArray.json +0 -0
- /package/src/{data → resources/quest}/exp.json +0 -0
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"name": "Acorn",
|
|
4
|
-
"level": 15,
|
|
5
|
-
"exp": {
|
|
6
|
-
"plant": 14,
|
|
7
|
-
"checkhealth": 467.3,
|
|
8
|
-
"total": 481.3
|
|
9
|
-
},
|
|
10
|
-
"xp": 481.3,
|
|
11
|
-
"type": "tree",
|
|
12
|
-
"time": "3hrs 20mins",
|
|
13
|
-
"protection": {
|
|
14
|
-
"item": "Tomatoes(5)",
|
|
15
|
-
"amount": 1
|
|
16
|
-
},
|
|
17
|
-
"uses": [
|
|
18
|
-
"Source of oak logs",
|
|
19
|
-
"Axeman's folly ingredient (Roots)"
|
|
20
|
-
]
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
"name": "Willow",
|
|
24
|
-
"level": 30,
|
|
25
|
-
"exp": {
|
|
26
|
-
"plant": 25,
|
|
27
|
-
"checkhealth": 1456.5,
|
|
28
|
-
"total": 1481.5
|
|
29
|
-
},
|
|
30
|
-
"xp": 1481.5,
|
|
31
|
-
"type": "tree",
|
|
32
|
-
"time": "4hrs 40mins",
|
|
33
|
-
"protection": {
|
|
34
|
-
"item": "Apples(5)",
|
|
35
|
-
"amount": 1
|
|
36
|
-
},
|
|
37
|
-
"uses": [
|
|
38
|
-
"Source of willow logs",
|
|
39
|
-
"Weaving a Basket on a loom (Branch)",
|
|
40
|
-
"Quest item - Enlightened Journey (Branch)"
|
|
41
|
-
]
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"name": "Maple",
|
|
45
|
-
"level": 45,
|
|
46
|
-
"exp": {
|
|
47
|
-
"plant": 45,
|
|
48
|
-
"checkhealth": 3403.4,
|
|
49
|
-
"total": 3448.4
|
|
50
|
-
},
|
|
51
|
-
"xp": 3448.4,
|
|
52
|
-
"type": "tree",
|
|
53
|
-
"time": "5hrs 20mins",
|
|
54
|
-
"protection": {
|
|
55
|
-
"item": "Oranges(5)",
|
|
56
|
-
"amount": 1
|
|
57
|
-
},
|
|
58
|
-
"uses": [
|
|
59
|
-
"Source of maple logs"
|
|
60
|
-
]
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"name": "Yew",
|
|
64
|
-
"level": 60,
|
|
65
|
-
"exp": {
|
|
66
|
-
"plant": 81,
|
|
67
|
-
"checkhealth": 7069.9,
|
|
68
|
-
"total": 7150.9
|
|
69
|
-
},
|
|
70
|
-
"xp": 7150.9,
|
|
71
|
-
"type": "tree",
|
|
72
|
-
"time": "6hrs 40mins",
|
|
73
|
-
"protection": {
|
|
74
|
-
"item": "Cactus spine",
|
|
75
|
-
"amount": 10
|
|
76
|
-
},
|
|
77
|
-
"uses": [
|
|
78
|
-
"Source of yew logs",
|
|
79
|
-
"Antipoison+ ingredient (Roots)"
|
|
80
|
-
]
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
"name": "Magic",
|
|
84
|
-
"level": 75,
|
|
85
|
-
"exp": {
|
|
86
|
-
"plant": 145.5,
|
|
87
|
-
"checkhealth": 13768.3,
|
|
88
|
-
"total": 13913.8
|
|
89
|
-
},
|
|
90
|
-
"xp": 13913.8,
|
|
91
|
-
"type": "tree",
|
|
92
|
-
"time": "6hrs 40mins",
|
|
93
|
-
"protection": {
|
|
94
|
-
"item": "Coconut",
|
|
95
|
-
"amount": 25
|
|
96
|
-
},
|
|
97
|
-
"uses": [
|
|
98
|
-
"Source of magic logs",
|
|
99
|
-
"Making magic string (Roots)",
|
|
100
|
-
"Antipoison++ ingredient (Roots)"
|
|
101
|
-
]
|
|
102
|
-
}
|
|
103
|
-
]
|