osrs-tools 0.2.0 → 0.2.1

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.
Files changed (92) hide show
  1. package/dist/index.d.ts +8 -0
  2. package/dist/index.js +12 -0
  3. package/dist/jest.config.dev.js +7 -0
  4. package/dist/model/Requirement.d.ts +65 -0
  5. package/dist/model/Requirement.js +130 -0
  6. package/dist/model/account/OsrsAccount.d.ts +31 -0
  7. package/dist/model/account/OsrsAccount.js +64 -0
  8. package/dist/model/quest/Quest.d.ts +41 -0
  9. package/dist/model/quest/Quest.js +2 -0
  10. package/dist/model/quest/QuestTool.d.ts +51 -0
  11. package/{src/model/quest/QuestTool.ts → dist/model/quest/QuestTool.js} +78 -96
  12. package/dist/model/slayer/Assignment.d.ts +17 -0
  13. package/dist/model/slayer/Assignment.js +28 -0
  14. package/dist/model/slayer/SlayerMaster.d.ts +67 -0
  15. package/dist/model/slayer/SlayerMaster.js +112 -0
  16. package/dist/model/slayer/SlayerReward.d.ts +33 -0
  17. package/dist/model/slayer/SlayerReward.js +30 -0
  18. package/dist/model/slayer/Task.d.ts +85 -0
  19. package/dist/model/slayer/Task.js +117 -0
  20. package/dist/resources/slayer/Masters.d.ts +10 -0
  21. package/dist/resources/slayer/Masters.js +100 -0
  22. package/dist/resources/slayer/SlayerData.d.ts +13 -0
  23. package/dist/resources/slayer/SlayerData.js +42 -0
  24. package/dist/resources/slayer/SlayerExtends.d.ts +23 -0
  25. package/dist/resources/slayer/SlayerExtends.js +184 -0
  26. package/dist/resources/slayer/SlayerUnlock.d.ts +7 -0
  27. package/dist/resources/slayer/SlayerUnlock.js +67 -0
  28. package/dist/resources/slayer/slayerBuys.d.ts +3 -0
  29. package/dist/resources/slayer/slayerBuys.js +34 -0
  30. package/dist/resources/slayer/tasks/ChaelderTasks.d.ts +3 -0
  31. package/dist/resources/slayer/tasks/ChaelderTasks.js +78 -0
  32. package/dist/resources/slayer/tasks/DuradelTasks.d.ts +2 -0
  33. package/dist/resources/slayer/tasks/DuradelTasks.js +18 -0
  34. package/{src/resources/slayer/tasks/KonarTasks.ts → dist/resources/slayer/tasks/KonarTasks.d.ts} +3 -6
  35. package/dist/resources/slayer/tasks/KonarTasks.js +5 -0
  36. package/dist/resources/slayer/tasks/MazchnaTasks.d.ts +3 -0
  37. package/dist/resources/slayer/tasks/MazchnaTasks.js +4 -0
  38. package/dist/resources/slayer/tasks/NieveTasks.d.ts +3 -0
  39. package/dist/resources/slayer/tasks/NieveTasks.js +78 -0
  40. package/dist/resources/slayer/tasks/ReadTasks.d.ts +1 -0
  41. package/dist/resources/slayer/tasks/ReadTasks.js +63 -0
  42. package/dist/resources/slayer/tasks/SpriaTasks.d.ts +2 -0
  43. package/dist/resources/slayer/tasks/SpriaTasks.js +117 -0
  44. package/dist/resources/slayer/tasks/Tureal.d.ts +3 -0
  45. package/dist/resources/slayer/tasks/Tureal.js +125 -0
  46. package/dist/resources/slayer/tasks/VannakaTasks.d.ts +3 -0
  47. package/dist/resources/slayer/tasks/VannakaTasks.js +78 -0
  48. package/package.json +22 -19
  49. package/src/index.ts +0 -11
  50. package/src/model/Requirement.ts +0 -173
  51. package/src/model/account/OsrsAccount.ts +0 -82
  52. package/src/model/quest/Quest.ts +0 -44
  53. package/src/model/slayer/Assignment.ts +0 -40
  54. package/src/model/slayer/SlayerMaster.ts +0 -137
  55. package/src/model/slayer/SlayerReward.ts +0 -39
  56. package/src/model/slayer/Task.ts +0 -168
  57. package/src/resources/QuestData.json +0 -754
  58. package/src/resources/quest/diaries.json +0 -1171
  59. package/src/resources/quest/diariesArray.json +0 -0
  60. package/src/resources/quest/exp.json +0 -1333
  61. package/src/resources/quest/questData.js +0 -5628
  62. package/src/resources/quest/questData.json +0 -5790
  63. package/src/resources/quest/questDataArray.js +0 -5489
  64. package/src/resources/quest/questDataArray.json +0 -5489
  65. package/src/resources/quest/subquestArray.js +0 -58
  66. package/src/resources/quest/subquestArray.json +0 -58
  67. package/src/resources/quest/testObj.json +0 -5682
  68. package/src/resources/quest/testarray.json +0 -5589
  69. package/src/resources/quests/CooksAssistant.json +0 -34
  70. package/src/resources/slayer/Masters.ts +0 -180
  71. package/src/resources/slayer/SlayerData.ts +0 -45
  72. package/src/resources/slayer/SlayerExtends.ts +0 -218
  73. package/src/resources/slayer/SlayerUnlock.ts +0 -194
  74. package/src/resources/slayer/slayer.json +0 -3581
  75. package/src/resources/slayer/slayerBuys.ts +0 -38
  76. package/src/resources/slayer/slayerData.json +0 -4431
  77. package/src/resources/slayer/tasks/ChaelderTasks.ts +0 -235
  78. package/src/resources/slayer/tasks/DuradelTasks.ts +0 -75
  79. package/src/resources/slayer/tasks/MazchnaTasks.ts +0 -5
  80. package/src/resources/slayer/tasks/NieveTasks.ts +0 -235
  81. package/src/resources/slayer/tasks/ReadTasks.ts +0 -55
  82. package/src/resources/slayer/tasks/SpriaTasks.ts +0 -344
  83. package/src/resources/slayer/tasks/Tureal.ts +0 -436
  84. package/src/resources/slayer/tasks/VannakaTasks.ts +0 -236
  85. package/src/resources/slayer/tasks/json/Chaeldar.json +0 -348
  86. package/src/resources/slayer/tasks/json/Duradel.json +0 -541
  87. package/src/resources/slayer/tasks/json/Krystilia.json +0 -2
  88. package/src/resources/slayer/tasks/json/Mazchna.json +0 -379
  89. package/src/resources/slayer/tasks/json/Neive.json +0 -320
  90. package/src/resources/slayer/tasks/json/Spria.json +0 -345
  91. package/src/resources/slayer/tasks/json/Tureal.json +0 -341
  92. package/src/resources/slayer/tasks/json/Vannaka.json +0 -547
@@ -1,547 +0,0 @@
1
- [
2
- {
3
- "name": "Aberrant spectres",
4
- "amountMin": 40,
5
- "amountMax": 90,
6
- "extendedAmountMin": 200,
7
- "extendedAmountMax": 250,
8
- "unlockRequirements": {
9
- "slayer": 60,
10
- "combat": 65,
11
- "quests": ["Priest in Peril"]
12
- },
13
- "alternatives": ["Deviant spectres"],
14
- "weight": 8
15
- },
16
- {
17
- "name": "Abyssal demons",
18
- "amountMin": 40,
19
- "amountMax": 90,
20
- "extendedAmountMin": 200,
21
- "extendedAmountMax": 250,
22
- "unlockRequirements": {
23
- "slayer": 85,
24
- "combat": 85,
25
- "quests": ["Priest in Peril", "Fairytale II - Cure a Queen"]
26
- },
27
- "alternatives": ["Abyssal Sire"],
28
- "weight": 5
29
- },
30
- {
31
- "name": "Ankou",
32
- "amountMin": 25,
33
- "amountMax": 35,
34
- "extendedAmountMin": 91,
35
- "extendedAmountMax": 150,
36
- "unlockRequirements": {
37
- "combat": 40
38
- },
39
- "alternatives": ["Dark Ankou"],
40
- "weight": 7
41
- },
42
- {
43
- "name": "Basilisks",
44
- "amountMin": 40,
45
- "amountMax": 90,
46
- "extendedAmountMin": 200,
47
- "extendedAmountMax": 250,
48
- "unlockRequirements": {
49
- "slayer": 40,
50
- "combat": 40,
51
- "defence": 20
52
- },
53
- "alternatives": ["Basilisk Knight"],
54
- "weight": 8
55
- },
56
- {
57
- "name": "Bloodveld",
58
- "amountMin": 40,
59
- "amountMax": 90,
60
- "extendedAmountMin": 200,
61
- "extendedAmountMax": 250,
62
- "unlockRequirements": {
63
- "slayer": 50,
64
- "combat": 50,
65
- "quests": ["Priest in Peril"]
66
- },
67
- "alternatives": ["Mutated Bloodveld"],
68
- "weight": 8
69
- },
70
- {
71
- "name": "Blue dragons",
72
- "amountMin": 40,
73
- "amountMax": 90,
74
- "unlockRequirements": {
75
- "combat": 65,
76
- "quests": ["Dragon Slayer I (partial)"]
77
- },
78
- "alternatives": ["Baby blue dragons", "brutal blue dragons", "Vorkath"],
79
- "weight": 7
80
- },
81
- {
82
- "name": "Brine rats",
83
- "amountMin": 40,
84
- "amountMax": 90,
85
- "unlockRequirements": {
86
- "slayer": 47,
87
- "combat": 45,
88
- "quests": ["Olaf's Quest (partial)"]
89
- },
90
- "alternatives": [],
91
- "weight": 7
92
- },
93
- {
94
- "name": "Cockatrice",
95
- "amountMin": 40,
96
- "amountMax": 90,
97
- "unlockRequirements": {
98
- "slayer": 25,
99
- "combat": 25,
100
- "defence": 20
101
- },
102
- "alternatives": ["Moonlight Cockatrice"],
103
- "weight": 8
104
- },
105
- {
106
- "name": "Crabs",
107
- "amountMin": 40,
108
- "amountMax": 90,
109
- "unlockRequirements": {
110
- "slayer": 1
111
- },
112
- "alternatives": [
113
- "Ammonite crabs",
114
- "Frost crabs",
115
- "Rock crabs",
116
- "Sand crabs",
117
- "Swamp crabs"
118
- ],
119
- "weight": 8
120
- },
121
- {
122
- "name": "Crocodiles",
123
- "amountMin": 40,
124
- "amountMax": 90,
125
- "unlockRequirements": {
126
- "combat": 50
127
- },
128
- "alternatives": [],
129
- "weight": 6
130
- },
131
- {
132
- "name": "Dagannoth",
133
- "amountMin": 40,
134
- "amountMax": 90,
135
- "unlockRequirements": {
136
- "combat": 75,
137
- "quests": ["Horror from the Deep"]
138
- },
139
- "alternatives": [
140
- "Dagannoth spawn",
141
- "Dagannoth fledgeling",
142
- "Dagannoth Kings"
143
- ],
144
- "weight": 7
145
- },
146
- {
147
- "name": "Dust devils",
148
- "amountMin": 40,
149
- "amountMax": 90,
150
- "extendedAmountMin": 200,
151
- "extendedAmountMax": 250,
152
- "unlockRequirements": {
153
- "slayer": 65,
154
- "combat": 70,
155
- "quests": ["Desert Treasure I (partial)"]
156
- },
157
- "alternatives": [],
158
- "weight": 8
159
- },
160
- {
161
- "name": "Elves",
162
- "amountMin": 30,
163
- "amountMax": 70,
164
- "unlockRequirements": {
165
- "combat": 70,
166
- "quests": ["Regicide (partial)"]
167
- },
168
- "alternatives": ["Elf warrior", "mourner (Mourner Headquarters)"],
169
- "weight": 7
170
- },
171
- {
172
- "name": "Fever spiders",
173
- "amountMin": 30,
174
- "amountMax": 90,
175
- "unlockRequirements": {
176
- "slayer": 42,
177
- "combat": 40,
178
- "quests": ["Rum Deal (partial)"]
179
- },
180
- "alternatives": [],
181
- "weight": 7
182
- },
183
- {
184
- "name": "Fire giants",
185
- "amountMin": 40,
186
- "amountMax": 90,
187
- "unlockRequirements": {
188
- "combat": 65
189
- },
190
- "alternatives": [],
191
- "weight": 7
192
- },
193
- {
194
- "name": "Gargoyles",
195
- "amountMin": 40,
196
- "amountMax": 90,
197
- "extendedAmountMin": 200,
198
- "extendedAmountMax": 250,
199
- "unlockRequirements": {
200
- "slayer": 75,
201
- "combat": 80,
202
- "quests": ["Priest in Peril"]
203
- },
204
- "alternatives": ["Grotesque Guardians"],
205
- "weight": 5
206
- },
207
- {
208
- "name": "Ghouls",
209
- "amountMin": 10,
210
- "amountMax": 40,
211
- "unlockRequirements": {
212
- "combat": 25,
213
- "quests": ["Priest in Peril"]
214
- },
215
- "alternatives": [],
216
- "weight": 7
217
- },
218
- {
219
- "name": "Harpie Bug Swarms",
220
- "amountMin": 40,
221
- "amountMax": 90,
222
- "unlockRequirements": {
223
- "slayer": 33,
224
- "combat": 45,
225
- "firemaking": 33
226
- },
227
- "alternatives": [],
228
- "weight": 8
229
- },
230
- {
231
- "name": "Hellhounds",
232
- "amountMin": 30,
233
- "amountMax": 60,
234
- "unlockRequirements": {
235
- "combat": 75
236
- },
237
- "alternatives": [
238
- "Cerberus",
239
- "Skeleton Hellhound",
240
- "Greater Skeleton Hellhound"
241
- ],
242
- "weight": 7
243
- },
244
- {
245
- "name": "Hill Giants",
246
- "amountMin": 40,
247
- "amountMax": 90,
248
- "unlockRequirements": {
249
- "combat": 25
250
- },
251
- "alternatives": ["Obor", "Cyclops"],
252
- "weight": 7
253
- },
254
- {
255
- "name": "Hobgoblins",
256
- "amountMin": 40,
257
- "amountMax": 90,
258
- "unlockRequirements": {
259
- "combat": 20
260
- },
261
- "alternatives": [],
262
- "weight": 7
263
- },
264
- {
265
- "name": "Ice giants",
266
- "amountMin": 30,
267
- "amountMax": 80,
268
- "unlockRequirements": {
269
- "combat": 50
270
- },
271
- "alternatives": [],
272
- "weight": 7
273
- },
274
- {
275
- "name": "Ice warriors",
276
- "amountMin": 40,
277
- "amountMax": 90,
278
- "unlockRequirements": {
279
- "combat": 45
280
- },
281
- "alternatives": ["Icelords"],
282
- "weight": 7
283
- },
284
- {
285
- "name": "Infernal Mages",
286
- "amountMin": 40,
287
- "amountMax": 90,
288
- "unlockRequirements": {
289
- "slayer": 45,
290
- "combat": 40,
291
- "quests": ["Priest in Peril"]
292
- },
293
- "alternatives": [],
294
- "weight": 8
295
- },
296
- {
297
- "name": "Jellies",
298
- "amountMin": 40,
299
- "amountMax": 90,
300
- "unlockRequirements": {
301
- "slayer": 52,
302
- "combat": 57
303
- },
304
- "alternatives": ["Warped Jelly", "Chilled jelly"],
305
- "weight": 8
306
- },
307
- {
308
- "name": "Jungle horrors",
309
- "amountMin": 40,
310
- "amountMax": 90,
311
- "unlockRequirements": {
312
- "combat": 65,
313
- "quests": ["Cabin Fever"]
314
- },
315
- "alternatives": [],
316
- "weight": 8
317
- },
318
- {
319
- "name": "Kalphite",
320
- "amountMin": 40,
321
- "amountMax": 90,
322
- "unlockRequirements": {
323
- "combat": 15
324
- },
325
- "alternatives": [
326
- "Kalphite worker",
327
- "Kalphite soldier",
328
- "Kalphite guardian",
329
- "Kalphite Queen"
330
- ],
331
- "weight": 7
332
- },
333
- {
334
- "name": "Kurask",
335
- "amountMin": 40,
336
- "amountMax": 90,
337
- "unlockRequirements": {
338
- "slayer": 70,
339
- "combat": 65
340
- },
341
- "alternatives": [],
342
- "weight": 7
343
- },
344
- {
345
- "name": "Lesser demons",
346
- "amountMin": 40,
347
- "amountMax": 90,
348
- "unlockRequirements": {
349
- "combat": 60
350
- },
351
- "alternatives": ["Zakl'n Gritch"],
352
- "weight": 7
353
- },
354
- {
355
- "name": "Mogres",
356
- "amountMin": 40,
357
- "amountMax": 90,
358
- "unlockRequirements": {
359
- "slayer": 32,
360
- "combat": 30,
361
- "quests": ["Skippy and the Mogres"]
362
- },
363
- "alternatives": [],
364
- "weight": 7
365
- },
366
- {
367
- "name": "Molanisks",
368
- "amountMin": 40,
369
- "amountMax": 50,
370
- "unlockRequirements": {
371
- "slayer": 39,
372
- "combat": 50,
373
- "quests": ["Death to the Dorgeshuun"]
374
- },
375
- "alternatives": [],
376
- "weight": 7
377
- },
378
- {
379
- "name": "Moss giants",
380
- "amountMin": 40,
381
- "amountMax": 90,
382
- "unlockRequirements": {
383
- "combat": 40
384
- },
385
- "alternatives": ["Bryophyta"],
386
- "weight": 7
387
- },
388
- {
389
- "name": "Nechryael",
390
- "amountMin": 40,
391
- "amountMax": 90,
392
- "extendedAmountMin": 200,
393
- "extendedAmountMax": 250,
394
- "unlockRequirements": {
395
- "slayer": 80,
396
- "combat": 85,
397
- "quests": ["Priest in Peril"]
398
- },
399
- "alternatives": ["Greater Nechryael"],
400
- "weight": 5
401
- },
402
- {
403
- "name": "Ogres",
404
- "amountMin": 40,
405
- "amountMax": 90,
406
- "unlockRequirements": {
407
- "combat": 40
408
- },
409
- "alternatives": ["Ogress Shaman", "Ogress Warrior"],
410
- "weight": 7
411
- },
412
- {
413
- "name": "Otherworldly beings",
414
- "amountMin": 40,
415
- "amountMax": 90,
416
- "unlockRequirements": {
417
- "combat": 40,
418
- "quests": ["Lost City"]
419
- },
420
- "alternatives": [],
421
- "weight": 8
422
- },
423
- {
424
- "name": "Pyrefiends",
425
- "amountMin": 40,
426
- "amountMax": 90,
427
- "unlockRequirements": {
428
- "slayer": 30,
429
- "combat": 25
430
- },
431
- "alternatives": ["Pyrelord"],
432
- "weight": 8
433
- },
434
- {
435
- "name": "Sea snakes",
436
- "amountMin": 40,
437
- "amountMax": 90,
438
- "unlockRequirements": {
439
- "slayer": 40,
440
- "combat": 50,
441
- "quests": ["Royal Trouble"]
442
- },
443
- "alternatives": ["Sea Snake Hatchling", "Sea Snake Young"],
444
- "weight": 6
445
- },
446
- {
447
- "name": "Shades",
448
- "amountMin": 40,
449
- "amountMax": 90,
450
- "unlockRequirements": {
451
- "combat": 30
452
- },
453
- "alternatives": ["Loar", "Phrin", "Riyl", "Asyn", "Fiyr", "Urium Shades"],
454
- "weight": 8
455
- },
456
- {
457
- "name": "Shadow warriors",
458
- "amountMin": 30,
459
- "amountMax": 80,
460
- "unlockRequirements": {
461
- "combat": 60,
462
- "quests": ["Legends' Quest"]
463
- },
464
- "alternatives": [],
465
- "weight": 8
466
- },
467
- {
468
- "name": "Spiritual creatures",
469
- "amountMin": 40,
470
- "amountMax": 90,
471
- "extendedAmountMin": 181,
472
- "extendedAmountMax": 250,
473
- "unlockRequirements": {
474
- "slayer": 63,
475
- "combat": 60,
476
- "quests": ["Death Plateau"],
477
- "skills": {
478
- "strength": 60,
479
- "agility": 60
480
- }
481
- },
482
- "alternatives": ["Spiritual ranger", "warrior", "mage"],
483
- "weight": 8
484
- },
485
- {
486
- "name": "Terror dogs",
487
- "amountMin": 20,
488
- "amountMax": 45,
489
- "unlockRequirements": {
490
- "slayer": 40,
491
- "combat": 60,
492
- "quests": ["Haunted Mine"]
493
- },
494
- "alternatives": [],
495
- "weight": 6
496
- },
497
- {
498
- "name": "Trolls",
499
- "amountMin": 40,
500
- "amountMax": 90,
501
- "unlockRequirements": {
502
- "combat": 60
503
- },
504
- "alternatives": ["Mountain troll", "ice troll", "Troll general"],
505
- "weight": 7
506
- },
507
- {
508
- "name": "Turoth",
509
- "amountMin": 30,
510
- "amountMax": 90,
511
- "unlockRequirements": {
512
- "slayer": 55,
513
- "combat": 60
514
- },
515
- "alternatives": [],
516
- "weight": 8
517
- },
518
- {
519
- "name": "Vampyres",
520
- "amountMin": 10,
521
- "amountMax": 20,
522
- "extendedAmountMin": 200,
523
- "extendedAmountMax": 250,
524
- "unlockRequirements": {
525
- "combat": 35,
526
- "quests": ["Priest in Peril"]
527
- },
528
- "alternatives": [
529
- "Feral Vampyre",
530
- "Vampyre Juvinate",
531
- "Vyrewatch",
532
- "Vyrewatch Sentinel"
533
- ],
534
- "weight": 7
535
- },
536
- {
537
- "name": "Werewolves",
538
- "amountMin": 30,
539
- "amountMax": 60,
540
- "unlockRequirements": {
541
- "combat": 60,
542
- "quests": ["Priest in Peril"]
543
- },
544
- "alternatives": [],
545
- "weight": 7
546
- }
547
- ]