osrs-tools 2.2.1 → 2.3.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.
Files changed (30) hide show
  1. package/README.md +175 -207
  2. package/dist/model/account/Skill.d.ts +26 -17
  3. package/dist/model/account/Skill.d.ts.map +1 -1
  4. package/dist/model/account/Skill.js +26 -17
  5. package/dist/model/account/Skill.js.map +1 -1
  6. package/dist/model/quest/all/CurrentAffairs.d.ts +35 -0
  7. package/dist/model/quest/all/CurrentAffairs.d.ts.map +1 -0
  8. package/dist/model/quest/all/CurrentAffairs.js +84 -0
  9. package/dist/model/quest/all/CurrentAffairs.js.map +1 -0
  10. package/dist/model/quest/all/Pandemonium.d.ts +36 -0
  11. package/dist/model/quest/all/Pandemonium.d.ts.map +1 -0
  12. package/dist/model/quest/all/Pandemonium.js +81 -0
  13. package/dist/model/quest/all/Pandemonium.js.map +1 -0
  14. package/dist/model/quest/all/PryingTimes.d.ts +47 -0
  15. package/dist/model/quest/all/PryingTimes.d.ts.map +1 -0
  16. package/dist/model/quest/all/PryingTimes.js +92 -0
  17. package/dist/model/quest/all/PryingTimes.js.map +1 -0
  18. package/dist/model/quest/all/TroubledTortugans.d.ts +67 -0
  19. package/dist/model/quest/all/TroubledTortugans.d.ts.map +1 -0
  20. package/dist/model/quest/all/TroubledTortugans.js +84 -0
  21. package/dist/model/quest/all/TroubledTortugans.js.map +1 -0
  22. package/dist/tools/experience.d.ts +17 -0
  23. package/dist/tools/experience.d.ts.map +1 -0
  24. package/dist/tools/experience.js +134 -0
  25. package/dist/tools/experience.js.map +1 -0
  26. package/dist/tools/getAccount.d.ts +1 -0
  27. package/dist/tools/getAccount.d.ts.map +1 -0
  28. package/dist/tools/getAccount.js +27 -0
  29. package/dist/tools/getAccount.js.map +1 -0
  30. package/package.json +90 -90
package/README.md CHANGED
@@ -1,207 +1,175 @@
1
- # OSRS Tools
2
-
3
- [![NPM Version](https://img.shields.io/npm/v/osrs-tools.svg?style=for-the-badge)](https://www.npmjs.com/package/osrs-tools)
4
- [![Downloads](https://img.shields.io/npm/dm/osrs-tools.svg?style=for-the-badge)](https://www.npmjs.com/package/osrs-tools)
5
- [![TypeScript](https://img.shields.io/badge/TypeScript-4.9+-blue.svg?style=for-the-badge)](https://www.typescriptlang.org)
6
- [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg?style=for-the-badge)](https://opensource.org/licenses/MIT)
7
- [![Node Version](https://img.shields.io/node/v/osrs-tools.svg?style=for-the-badge)](https://nodejs.org)
8
- [![Test Coverage](https://img.shields.io/codecov/c/github/jamescer/osrs-tools.svg?style=for-the-badge)](https://codecov.io/gh/jamescer/osrs-tools)
9
-
10
- > A modern TypeScript library for Old School RuneScape (OSRS) data and utilities. Built for developers creating tools, bots, web applications, and analytics around OSRS content.
11
-
12
- 📦 **Type-safe**   🚀 **Well-tested**   📚 **Documented**   🔄 **Actively maintained**
13
-
14
- ## Live Demo
15
-
16
- Explore the project interactively on CodeSandbox:
17
-
18
- [![Edit on CodeSandbox](https://img.shields.io/badge/CodeSandbox-View-blue?logo=codesandbox&style=for-the-badge)](https://codesandbox.io/p/sandbox/xtgp9k)
19
-
20
- ---
21
-
22
- ## Table of Contents
23
-
24
- - [Features](#features)
25
- - [Installation](#installation)
26
- - [Examples](#examples)
27
- - [Development](#development)
28
- - [Contributing](#contributing)
29
- - [Support](#support)
30
- - [License](#license)
31
-
32
- ## Features
33
-
34
- ✨ **Quest System**
35
-
36
- - Complete quest database with requirements and rewards
37
- - Quest dependency tracking and validation
38
- - Experience and item reward calculations
39
- - Quest point tracking
40
- - Support for miniquests
41
-
42
- 🎯 **Skill & Level System**
43
-
44
- - Skill level tracking and validation
45
- - Support for boostable requirements
46
- - Combat level calculations
47
- - Quest point requirements
48
-
49
- 🗡️ **Items & Equipment**
50
-
51
- - Comprehensive item database
52
- - Equipment statistics
53
- - Trading and value information
54
- - Quest item tracking
55
-
56
- 👹 **Slayer System**
57
-
58
- - Full slayer master task lists
59
- - Task weights and assignment logic
60
- - Slayer requirement validation
61
- - Reward shop data
62
-
63
- ## Installation
64
-
65
- ### Prerequisites
66
-
67
- - Node.js 16.x or higher
68
- - TypeScript 4.9+
69
-
70
- ### Package Installation
71
-
72
- ```bash
73
- npm install osrs-tools
74
- ```
75
-
76
- For account-related features (hiscores, stats):
77
-
78
- ```bash
79
- npm install osrs-json-hiscores
80
- ```
81
-
82
- ## Examples
83
-
84
- ### Quest System
85
-
86
- ```typescript
87
- import { QuestTool, Quest } from 'osrs-tools';
88
-
89
- // Get quest information
90
- const dragonSlayer = QuestTool.getQuestByName('Dragon Slayer');
91
- console.log(dragonSlayer.requirements);
92
-
93
- // Check quest completion requirements
94
- const questTool = new QuestTool();
95
- questTool.setOsrsAccount(playerAccount);
96
- const canComplete = questTool.canCompleteQuest(dragonSlayer);
97
- ```
98
-
99
- ### Slayer System
100
-
101
- ```typescript
102
- import { Duradel } from 'osrs-tools';
103
-
104
- // Get master's task list
105
- const tasks = Duradel.tasks;
106
-
107
- // Get random assignment
108
- const task = Duradel.getRandomTask();
109
- console.log(task.name); // e.g., "Abyssal demons"
110
- console.log(task.requirements); // Shows requirements
111
- ```
112
-
113
- ### Account Management
114
-
115
- ```typescript
116
- import { OsrsAccount } from 'osrs-tools';
117
-
118
- // Create/load account
119
- const account = OsrsAccount.fromJson({
120
- name: 'Player123',
121
- skills: {
122
- attack: { level: 60 },
123
- strength: { level: 55 },
124
- defence: { level: 50 },
125
- },
126
- });
127
-
128
- // Get skill levels
129
- const attackLevel = account.getSkill('attack')?.level;
130
- ```
131
-
132
- ### Documentation Links
133
-
134
- - [Full API Documentation](https://github.com/jamescer/osrs-tools/wiki)
135
- - [Type Definitions](https://github.com/jamescer/osrs-tools/blob/master/src/model/quest/types.ts)
136
- - [Code Examples](https://github.com/jamescer/osrs-tools//examples)
137
-
138
- ## Development
139
-
140
- ### Local Setup
141
-
142
- ```bash
143
- # Clone and setup
144
- git clone https://github.com/jamescer/osrs-tools.git
145
- cd osrs-tools
146
- npm install
147
-
148
- # Build and test
149
- npm run build
150
- npm test
151
- ```
152
-
153
- ### Available Scripts
154
-
155
- | Command | Description |
156
- | ------------ | ----------------------- |
157
- | `build` | Build the project |
158
- | `test` | Run tests |
159
- | `test:watch` | Run tests in watch mode |
160
- | `lint` | Lint the code |
161
- | `format` | Format the code |
162
- | `docs` | Generate documentation |
163
-
164
- ## Contributing
165
-
166
- We welcome contributions! We use [Conventional Commits](https://www.conventionalcommits.org/).
167
-
168
- ### Getting Started
169
-
170
- 1. Fork and clone the repository
171
- 2. Create a branch (`feat/amazing-feature`)
172
- 3. Make your changes
173
- 4. Run tests (`npm test && npm run lint`)
174
- 5. Commit with conventional format:
175
-
176
- ```bash
177
- feat: add quest requirement validation
178
- fix: correct slayer task weights
179
- docs: update API documentation
180
- ```
181
-
182
- 6. Push and open a Pull Request
183
-
184
- ### Guidelines
185
-
186
- - Add tests for new features
187
- - Update documentation for changes
188
- - Follow existing code style
189
- - Keep changes focused
190
-
191
- ## Support
192
-
193
- Need help or want to contribute?
194
-
195
- - [Report Issues](https://github.com/jamescer/osrs-tools/issues)
196
- - [Request Features](https://github.com/jamescer/osrs-tools/issues)
197
- - [Join Discussions](https://github.com/jamescer/osrs-tools/discussions)
198
-
199
- ## License
200
-
201
- [MIT](./LICENSE) © James Cerniglia
202
-
203
- ## Credits
204
-
205
- - **Author**: [James Cerniglia](mailto:jamesmcerniglia@gmail.com)
206
- - **Contributors**: [View all contributors](https://github.com/jamescer/osrs-tools/graphs/contributors)
207
- - **Data Source**: [Old School RuneScape Wiki](https://oldschool.runescape.wiki/)
1
+ # OSRS Tools
2
+
3
+ [![NPM Version](https://img.shields.io/npm/v/osrs-tools.svg?style=for-the-badge)](https://www.npmjs.com/package/osrs-tools)
4
+ [![Downloads](https://img.shields.io/npm/dm/osrs-tools.svg?style=for-the-badge)](https://www.npmjs.com/package/osrs-tools)
5
+ [![TypeScript](https://img.shields.io/badge/TypeScript-4.9+-blue.svg?style=for-the-badge)](https://www.typescriptlang.org)
6
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg?style=for-the-badge)](https://opensource.org/licenses/MIT)
7
+ [![Node Version](https://img.shields.io/node/v/osrs-tools.svg?style=for-the-badge)](https://nodejs.org)
8
+ [![Test Coverage](https://img.shields.io/codecov/c/github/jamescer/osrs-tools.svg?style=for-the-badge)](https://codecov.io/gh/jamescer/osrs-tools)
9
+
10
+ > A modern TypeScript library for Old School RuneScape (OSRS) data and utilities. Built for developers creating tools, bots, web applications, and analytics around OSRS content.
11
+
12
+ 📦 **Type-safe**   🚀 **Well-tested**   📚 **Documented**   🔄 **Actively maintained**
13
+
14
+ ## Live Demo
15
+
16
+ Explore the project interactively on CodeSandbox:
17
+
18
+ [![Edit on CodeSandbox](https://img.shields.io/badge/CodeSandbox-View-blue?logo=codesandbox&style=for-the-badge)](https://codesandbox.io/p/sandbox/xtgp9k)
19
+
20
+ ---
21
+
22
+ ## Table of Contents
23
+
24
+ - [Installation](#installation)
25
+ - [Examples](#examples)
26
+ - [Development](#development)
27
+ - [Contributing](#contributing)
28
+ - [Support](#support)
29
+ - [License](#license)
30
+
31
+ ## Installation
32
+
33
+ ### Prerequisites
34
+
35
+ - Node.js 16.x or higher
36
+ - TypeScript 4.9+
37
+
38
+ ### Package Installation
39
+
40
+ ```bash
41
+ npm install osrs-tools
42
+ ```
43
+
44
+ For account-related features (hiscores, stats):
45
+
46
+ ```bash
47
+ npm install osrs-json-hiscores
48
+ ```
49
+
50
+ ## Examples
51
+
52
+ ### Quest System
53
+
54
+ ```typescript
55
+ import { QuestTool, Quest } from 'osrs-tools';
56
+
57
+ // Get quest information
58
+ const dragonSlayer = QuestTool.getQuestByName('Dragon Slayer');
59
+ console.log(dragonSlayer.requirements);
60
+
61
+ // Check quest completion requirements
62
+ const questTool = new QuestTool();
63
+ questTool.setOsrsAccount(playerAccount);
64
+ const canComplete = questTool.canCompleteQuest(dragonSlayer);
65
+ ```
66
+
67
+ ### Slayer System
68
+
69
+ ```typescript
70
+ import { Duradel } from 'osrs-tools';
71
+
72
+ // Get master's task list
73
+ const tasks = Duradel.tasks;
74
+
75
+ // Get random assignment
76
+ const task = Duradel.getRandomTask();
77
+ console.log(task.name); // e.g., "Abyssal demons"
78
+ console.log(task.requirements); // Shows requirements
79
+ ```
80
+
81
+ ### Account Management
82
+
83
+ ```typescript
84
+ import { OsrsAccount } from 'osrs-tools';
85
+
86
+ // Create/load account
87
+ const account = OsrsAccount.fromJson({
88
+ name: 'Player123',
89
+ skills: {
90
+ attack: { level: 60 },
91
+ strength: { level: 55 },
92
+ defence: { level: 50 },
93
+ },
94
+ });
95
+
96
+ // Get skill levels
97
+ const attackLevel = account.getSkill('attack')?.level;
98
+ ```
99
+
100
+ ### Documentation Links
101
+
102
+ - [Full API Documentation](https://github.com/jamescer/osrs-tools/wiki)
103
+ - [Type Definitions](https://github.com/jamescer/osrs-tools/blob/master/src/model/quest/types.ts)
104
+ - [Code Examples](https://github.com/jamescer/osrs-tools//examples)
105
+
106
+ ## Development
107
+
108
+ ### Local Setup
109
+
110
+ ```bash
111
+ # Clone and setup
112
+ git clone https://github.com/jamescer/osrs-tools.git
113
+ cd osrs-tools
114
+ npm install
115
+
116
+ # Build and test
117
+ npm run build
118
+ npm test
119
+ ```
120
+
121
+ ### Available Scripts
122
+
123
+ | Command | Description |
124
+ | ------------ | ----------------------- |
125
+ | `build` | Build the project |
126
+ | `test` | Run tests |
127
+ | `test:watch` | Run tests in watch mode |
128
+ | `lint` | Lint the code |
129
+ | `format` | Format the code |
130
+ | `docs` | Generate documentation |
131
+
132
+ ## Contributing
133
+
134
+ We welcome contributions! We use [Conventional Commits](https://www.conventionalcommits.org/).
135
+
136
+ ### Getting Started
137
+
138
+ 1. Fork and clone the repository
139
+ 2. Create a branch (`feat/amazing-feature`)
140
+ 3. Make your changes
141
+ 4. Run tests (`npm test && npm run lint`)
142
+ 5. Commit with conventional format:
143
+
144
+ ```bash
145
+ feat: add quest requirement validation
146
+ fix: correct slayer task weights
147
+ docs: update API documentation
148
+ ```
149
+
150
+ 6. Push and open a Pull Request
151
+
152
+ ### Guidelines
153
+
154
+ - Add tests for new features
155
+ - Update documentation for changes
156
+ - Follow existing code style
157
+ - Keep changes focused
158
+
159
+ ## Support
160
+
161
+ Need help or want to contribute?
162
+
163
+ - [Report Issues](https://github.com/jamescer/osrs-tools/issues)
164
+ - [Request Features](https://github.com/jamescer/osrs-tools/issues)
165
+ - [Join Discussions](https://github.com/jamescer/osrs-tools/discussions)
166
+
167
+ ## License
168
+
169
+ [MIT](./LICENSE) © James Cerniglia
170
+
171
+ ## Credits
172
+
173
+ - **Author**: [James Cerniglia](mailto:jamesmcerniglia@gmail.com)
174
+ - **Contributors**: [View all contributors](https://github.com/jamescer/osrs-tools/graphs/contributors)
175
+ - **Data Source**: [Old School RuneScape Wiki](https://oldschool.runescape.wiki/)
@@ -1,26 +1,35 @@
1
+ /**
2
+ * Enumeration of possible skills in the game.
3
+ * Used for accessing skill-related data in accounts.
4
+ * See:: https://oldschool.runescape.wiki/w/Skills
5
+ * @enum {string}
6
+ * @readonly
7
+ * @reference Skill names from OSRS APIv1
8
+ */
1
9
  export declare enum Skill {
10
+ Agility = "Agility",
2
11
  Attack = "Attack",
12
+ Construction = "Construction",
13
+ Cooking = "Cooking",
14
+ Crafting = "Crafting",
3
15
  Defence = "Defence",
4
- Strength = "Strength",
16
+ Farming = "Farming",
17
+ Firemaking = "Firemaking",
18
+ Fishing = "Fishing",
19
+ Fletching = "Fletching",
20
+ Herblore = "Herblore",
5
21
  Hitpoints = "Hitpoints",
6
- Ranged = "Ranged",
7
- Prayer = "Prayer",
22
+ Hunter = "Hunter",
8
23
  Magic = "Magic",
9
- Cooking = "Cooking",
10
- Woodcutting = "Woodcutting",
11
- Fletching = "Fletching",
12
- Fishing = "Fishing",
13
- Firemaking = "Firemaking",
14
- Crafting = "Crafting",
15
- Smithing = "Smithing",
16
24
  Mining = "Mining",
17
- Herblore = "Herblore",
18
- Agility = "Agility",
19
- Thieving = "Thieving",
20
- Slayer = "Slayer",
21
- Farming = "Farming",
25
+ Prayer = "Prayer",
26
+ Ranged = "Ranged",
22
27
  Runecraft = "Runecraft",
23
- Hunter = "Hunter",
24
- Construction = "Construction"
28
+ Sailing = "Sailing",
29
+ Slayer = "Slayer",
30
+ Smithing = "Smithing",
31
+ Strength = "Strength",
32
+ Thieving = "Thieving",
33
+ Woodcutting = "Woodcutting"
25
34
  }
26
35
  //# sourceMappingURL=Skill.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Skill.d.ts","sourceRoot":"","sources":["../../../src/model/account/Skill.ts"],"names":[],"mappings":"AAAA,oBAAY,KAAK;IACf,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,OAAO,YAAY;IACnB,WAAW,gBAAgB;IAC3B,SAAS,cAAc;IACvB,OAAO,YAAY;IACnB,UAAU,eAAe;IACzB,QAAQ,aAAa;IACrB,QAAQ,aAAa;IACrB,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,MAAM,WAAW;IACjB,YAAY,iBAAiB;CAC9B"}
1
+ {"version":3,"file":"Skill.d.ts","sourceRoot":"","sources":["../../../src/model/account/Skill.ts"],"names":[],"mappings":"AAEA;;;;;;;GAOG;AACH,oBAAY,KAAK;IACf,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,YAAY,iBAAiB;IAC7B,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,UAAU,eAAe;IACzB,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,SAAS,cAAc;IACvB,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,QAAQ,aAAa;IACrB,QAAQ,aAAa;IACrB,WAAW,gBAAgB;CAC5B"}
@@ -1,30 +1,39 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Skill = void 0;
4
+ /**
5
+ * Enumeration of possible skills in the game.
6
+ * Used for accessing skill-related data in accounts.
7
+ * See:: https://oldschool.runescape.wiki/w/Skills
8
+ * @enum {string}
9
+ * @readonly
10
+ * @reference Skill names from OSRS APIv1
11
+ */
4
12
  var Skill;
5
13
  (function (Skill) {
14
+ Skill["Agility"] = "Agility";
6
15
  Skill["Attack"] = "Attack";
16
+ Skill["Construction"] = "Construction";
17
+ Skill["Cooking"] = "Cooking";
18
+ Skill["Crafting"] = "Crafting";
7
19
  Skill["Defence"] = "Defence";
8
- Skill["Strength"] = "Strength";
20
+ Skill["Farming"] = "Farming";
21
+ Skill["Firemaking"] = "Firemaking";
22
+ Skill["Fishing"] = "Fishing";
23
+ Skill["Fletching"] = "Fletching";
24
+ Skill["Herblore"] = "Herblore";
9
25
  Skill["Hitpoints"] = "Hitpoints";
10
- Skill["Ranged"] = "Ranged";
11
- Skill["Prayer"] = "Prayer";
26
+ Skill["Hunter"] = "Hunter";
12
27
  Skill["Magic"] = "Magic";
13
- Skill["Cooking"] = "Cooking";
14
- Skill["Woodcutting"] = "Woodcutting";
15
- Skill["Fletching"] = "Fletching";
16
- Skill["Fishing"] = "Fishing";
17
- Skill["Firemaking"] = "Firemaking";
18
- Skill["Crafting"] = "Crafting";
19
- Skill["Smithing"] = "Smithing";
20
28
  Skill["Mining"] = "Mining";
21
- Skill["Herblore"] = "Herblore";
22
- Skill["Agility"] = "Agility";
23
- Skill["Thieving"] = "Thieving";
24
- Skill["Slayer"] = "Slayer";
25
- Skill["Farming"] = "Farming";
29
+ Skill["Prayer"] = "Prayer";
30
+ Skill["Ranged"] = "Ranged";
26
31
  Skill["Runecraft"] = "Runecraft";
27
- Skill["Hunter"] = "Hunter";
28
- Skill["Construction"] = "Construction";
32
+ Skill["Sailing"] = "Sailing";
33
+ Skill["Slayer"] = "Slayer";
34
+ Skill["Smithing"] = "Smithing";
35
+ Skill["Strength"] = "Strength";
36
+ Skill["Thieving"] = "Thieving";
37
+ Skill["Woodcutting"] = "Woodcutting";
29
38
  })(Skill || (exports.Skill = Skill = {}));
30
39
  //# sourceMappingURL=Skill.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Skill.js","sourceRoot":"","sources":["../../../src/model/account/Skill.ts"],"names":[],"mappings":";;;AAAA,IAAY,KAwBX;AAxBD,WAAY,KAAK;IACf,0BAAiB,CAAA;IACjB,4BAAmB,CAAA;IACnB,8BAAqB,CAAA;IACrB,gCAAuB,CAAA;IACvB,0BAAiB,CAAA;IACjB,0BAAiB,CAAA;IACjB,wBAAe,CAAA;IACf,4BAAmB,CAAA;IACnB,oCAA2B,CAAA;IAC3B,gCAAuB,CAAA;IACvB,4BAAmB,CAAA;IACnB,kCAAyB,CAAA;IACzB,8BAAqB,CAAA;IACrB,8BAAqB,CAAA;IACrB,0BAAiB,CAAA;IACjB,8BAAqB,CAAA;IACrB,4BAAmB,CAAA;IACnB,8BAAqB,CAAA;IACrB,0BAAiB,CAAA;IACjB,4BAAmB,CAAA;IACnB,gCAAuB,CAAA;IACvB,0BAAiB,CAAA;IACjB,sCAA6B,CAAA;AAC/B,CAAC,EAxBW,KAAK,qBAAL,KAAK,QAwBhB"}
1
+ {"version":3,"file":"Skill.js","sourceRoot":"","sources":["../../../src/model/account/Skill.ts"],"names":[],"mappings":";;;AAEA;;;;;;;GAOG;AACH,IAAY,KAyBX;AAzBD,WAAY,KAAK;IACf,4BAAmB,CAAA;IACnB,0BAAiB,CAAA;IACjB,sCAA6B,CAAA;IAC7B,4BAAmB,CAAA;IACnB,8BAAqB,CAAA;IACrB,4BAAmB,CAAA;IACnB,4BAAmB,CAAA;IACnB,kCAAyB,CAAA;IACzB,4BAAmB,CAAA;IACnB,gCAAuB,CAAA;IACvB,8BAAqB,CAAA;IACrB,gCAAuB,CAAA;IACvB,0BAAiB,CAAA;IACjB,wBAAe,CAAA;IACf,0BAAiB,CAAA;IACjB,0BAAiB,CAAA;IACjB,0BAAiB,CAAA;IACjB,gCAAuB,CAAA;IACvB,4BAAmB,CAAA;IACnB,0BAAiB,CAAA;IACjB,8BAAqB,CAAA;IACrB,8BAAqB,CAAA;IACrB,8BAAqB,CAAA;IACrB,oCAA2B,CAAA;AAC7B,CAAC,EAzBW,KAAK,qBAAL,KAAK,QAyBhB"}
@@ -0,0 +1,35 @@
1
+ import { Quest } from '../Quest';
2
+ /**
3
+ * Reference: https://oldschool.runescape.wiki/w/Current_Affairs
4
+ *
5
+ Start point Map icon Start the Quest by speaking to Arhein on the Catherby docks. Show on map
6
+ Official difficulty Novice
7
+ Official length Short
8
+ Description Help Arhein get past some political red tape and unlock the current duck, a useful Sailing tool.
9
+ Requirements
10
+ a_squeezer
11
+
12
+ Sailing 22 Sailing [not boostable] [required to start]
13
+ Fishing 10 Fishing [unknown] [required to start]
14
+ Completion of Pandemonium
15
+ Items required
16
+ Charcoal (obtainable during quest)
17
+ 50 Coins
18
+ [uncheck all]
19
+ Recommended
20
+ Highly recommended: A boat docked at the Catherby docks - you will be required to sail nearby at the end of the quest
21
+ [uncheck all]
22
+ Enemies to defeat None
23
+ Rewards
24
+ 1 Quest points Quest point
25
+ Sailing 1,400 Sailing experience
26
+ Fishing 1,000 Fishing experience
27
+ Access to Sea charting/Current
28
+ The current duck
29
+ The mayor of Catherby
30
+ 25 sawmill coupon (oak plank)
31
+
32
+ */
33
+ declare const CurrentAffairs: Quest;
34
+ export default CurrentAffairs;
35
+ //# sourceMappingURL=CurrentAffairs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CurrentAffairs.d.ts","sourceRoot":"","sources":["../../../../src/model/quest/all/CurrentAffairs.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,EAAe,MAAM,UAAU,CAAC;AAE9C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AAEH,QAAA,MAAM,cAAc,EAAE,KA6CrB,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -0,0 +1,84 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const Skill_1 = require("../../account/Skill");
4
+ const Requirement_1 = require("../../Requirement");
5
+ const enums_1 = require("../enums");
6
+ const Quest_1 = require("../Quest");
7
+ /**
8
+ * Reference: https://oldschool.runescape.wiki/w/Current_Affairs
9
+ *
10
+ Start point Map icon Start the Quest by speaking to Arhein on the Catherby docks. Show on map
11
+ Official difficulty Novice
12
+ Official length Short
13
+ Description Help Arhein get past some political red tape and unlock the current duck, a useful Sailing tool.
14
+ Requirements
15
+ a_squeezer
16
+
17
+ Sailing 22 Sailing [not boostable] [required to start]
18
+ Fishing 10 Fishing [unknown] [required to start]
19
+ Completion of Pandemonium
20
+ Items required
21
+ Charcoal (obtainable during quest)
22
+ 50 Coins
23
+ [uncheck all]
24
+ Recommended
25
+ Highly recommended: A boat docked at the Catherby docks - you will be required to sail nearby at the end of the quest
26
+ [uncheck all]
27
+ Enemies to defeat None
28
+ Rewards
29
+ 1 Quest points Quest point
30
+ Sailing 1,400 Sailing experience
31
+ Fishing 1,000 Fishing experience
32
+ Access to Sea charting/Current
33
+ The current duck
34
+ The mayor of Catherby
35
+ 25 sawmill coupon (oak plank)
36
+
37
+ */
38
+ const CurrentAffairs = {
39
+ age: '',
40
+ description: 'Help Arhein get past some political red tape and unlock the current duck, a useful Sailing tool.',
41
+ difficulty: enums_1.QuestDifficulty.Novice,
42
+ id: 276,
43
+ length: enums_1.QuestLength.Short,
44
+ members: true,
45
+ miniquest: false,
46
+ name: 'Current Affairs',
47
+ questPoints: 1,
48
+ recommendations: [
49
+ {
50
+ type: 'tip',
51
+ name: 'Highly recommended: A boat docked at the Catherby docks - you will be required to sail nearby at the end of the quest',
52
+ },
53
+ ],
54
+ recommendedPrayers: [],
55
+ recommendedSkills: {},
56
+ requirements: [
57
+ new Requirement_1.QuestRequirement('Pandemonium'),
58
+ new Requirement_1.LevelRequirement(Skill_1.Skill.Sailing, 22, false),
59
+ new Requirement_1.LevelRequirement(Skill_1.Skill.Fishing, 10, false),
60
+ ],
61
+ status: Quest_1.QuestStatus.NotStarted,
62
+ steps: [],
63
+ startLocation: 'Catherby docks - speak to Arhein',
64
+ shortName: 'currentaffairs',
65
+ rewards: {
66
+ experience: [
67
+ { skill: Skill_1.Skill.Sailing, amount: 1400 },
68
+ { skill: Skill_1.Skill.Fishing, amount: 1000 },
69
+ ],
70
+ items: [
71
+ // 'The current duck',
72
+ // 'The mayor of Catherby',
73
+ // '25 sawmill coupon (oak plank)'
74
+ ],
75
+ lamps: [],
76
+ pets: [],
77
+ points: [],
78
+ questPoints: 1,
79
+ unlocks: [{ description: 'Access to Sea charting/Current' }],
80
+ },
81
+ url: 'https://oldschool.runescape.wiki/w/Current_Affairs',
82
+ };
83
+ exports.default = CurrentAffairs;
84
+ //# sourceMappingURL=CurrentAffairs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CurrentAffairs.js","sourceRoot":"","sources":["../../../../src/model/quest/all/CurrentAffairs.ts"],"names":[],"mappings":";;AAAA,+CAA4C;AAC5C,mDAAuE;AACvE,oCAAwD;AACxD,oCAA8C;AAE9C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AAEH,MAAM,cAAc,GAAU;IAC5B,GAAG,EAAE,EAAE;IACP,WAAW,EACT,kGAAkG;IACpG,UAAU,EAAE,uBAAe,CAAC,MAAM;IAClC,EAAE,EAAE,GAAG;IACP,MAAM,EAAE,mBAAW,CAAC,KAAK;IACzB,OAAO,EAAE,IAAI;IACb,SAAS,EAAE,KAAK;IAChB,IAAI,EAAE,iBAAiB;IACvB,WAAW,EAAE,CAAC;IACd,eAAe,EAAE;QACf;YACE,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,uHAAuH;SAC9H;KACF;IACD,kBAAkB,EAAE,EAAE;IACtB,iBAAiB,EAAE,EAAE;IACrB,YAAY,EAAE;QACZ,IAAI,8BAAgB,CAAC,aAAa,CAAC;QACnC,IAAI,8BAAgB,CAAC,aAAK,CAAC,OAAO,EAAE,EAAE,EAAE,KAAK,CAAC;QAC9C,IAAI,8BAAgB,CAAC,aAAK,CAAC,OAAO,EAAE,EAAE,EAAE,KAAK,CAAC;KAC/C;IACD,MAAM,EAAE,mBAAW,CAAC,UAAU;IAC9B,KAAK,EAAE,EAAE;IACT,aAAa,EAAE,kCAAkC;IACjD,SAAS,EAAE,gBAAgB;IAC3B,OAAO,EAAE;QACP,UAAU,EAAE;YACV,EAAE,KAAK,EAAE,aAAK,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE;YACtC,EAAE,KAAK,EAAE,aAAK,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE;SACvC;QACD,KAAK,EAAE;QACL,sBAAsB;QACtB,4BAA4B;QAC5B,mCAAmC;SACpC;QACD,KAAK,EAAE,EAAE;QACT,IAAI,EAAE,EAAE;QACR,MAAM,EAAE,EAAE;QACV,WAAW,EAAE,CAAC;QACd,OAAO,EAAE,CAAC,EAAE,WAAW,EAAE,gCAAgC,EAAE,CAAC;KAC7D;IACD,GAAG,EAAE,oDAAoD;CAC1D,CAAC;AAEF,kBAAe,cAAc,CAAC"}