Compare commits

...

147 commits

Author SHA1 Message Date
f8c82ef2ca
Update README.md with archiving notice 2023-04-23 18:02:33 +02:00
d9ccf501f7
Merge pull request #43 from bartvdbraak/dependabot/npm_and_yarn/color-string-1.9.1
Bump color-string from 1.5.3 to 1.9.1
2023-04-06 01:09:44 +02:00
1f80984d6b
Merge pull request #32 from bartvdbraak/dependabot/npm_and_yarn/minimist-1.2.6
Bump minimist from 1.2.5 to 1.2.6
2023-04-06 01:08:44 +02:00
556b1f4f8a
Merge pull request #28 from bartvdbraak/dependabot/npm_and_yarn/ajv-6.12.6
Bump ajv from 6.12.2 to 6.12.6
2023-04-06 01:08:37 +02:00
dependabot[bot]
88fcfc8ca0
Bump minimist from 1.2.5 to 1.2.6
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-05 23:02:37 +00:00
dependabot[bot]
be95108e9a
Bump ajv from 6.12.2 to 6.12.6
Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.12.2 to 6.12.6.
- [Release notes](https://github.com/ajv-validator/ajv/releases)
- [Commits](https://github.com/ajv-validator/ajv/compare/v6.12.2...v6.12.6)

---
updated-dependencies:
- dependency-name: ajv
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-05 23:02:35 +00:00
dependabot[bot]
5700c855d3
Bump color-string from 1.5.3 to 1.9.1
Bumps [color-string](https://github.com/Qix-/color-string) from 1.5.3 to 1.9.1.
- [Release notes](https://github.com/Qix-/color-string/releases)
- [Changelog](https://github.com/Qix-/color-string/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Qix-/color-string/commits/1.9.1)

---
updated-dependencies:
- dependency-name: color-string
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-05 23:02:06 +00:00
0d83d5cd40
Merge pull request #18 from bartvdbraak/dependabot/npm_and_yarn/lodash-4.17.21
Bump lodash from 4.17.19 to 4.17.21
2023-04-06 01:01:21 +02:00
dependabot[bot]
09815001aa
Bump lodash from 4.17.19 to 4.17.21
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-05 22:53:05 +00:00
c1c29519d4
Merge pull request #42 from bartvdbraak/dependabot/npm_and_yarn/shell-quote-1.8.0
Bump shell-quote from 1.7.2 to 1.8.0
2023-04-06 00:52:11 +02:00
b73f947213
Merge pull request #33 from bartvdbraak/dependabot/npm_and_yarn/async-2.6.4
Bump async from 2.6.3 to 2.6.4
2023-04-06 00:52:04 +02:00
119a4ed791
Merge pull request #22 from bartvdbraak/dependabot/npm_and_yarn/ws-6.2.2
Bump ws from 6.2.1 to 6.2.2
2023-04-06 00:51:55 +02:00
37ef27f7ad
Merge pull request #24 from bartvdbraak/dependabot/npm_and_yarn/path-parse-1.0.7
Bump path-parse from 1.0.6 to 1.0.7
2023-04-06 00:51:08 +02:00
b566af307c
Merge pull request #41 from bartvdbraak/dependabot/npm_and_yarn/postcss-7.0.39
Bump postcss from 7.0.30 to 7.0.39
2023-03-29 03:34:07 +02:00
dependabot[bot]
99fdba1597
Bump async from 2.6.3 to 2.6.4
Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md)
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4)

---
updated-dependencies:
- dependency-name: async
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-29 01:29:42 +00:00
dependabot[bot]
b6bd2f1ff1
Bump path-parse from 1.0.6 to 1.0.7
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-29 01:29:35 +00:00
dependabot[bot]
d1a9a462cc
Bump ws from 6.2.1 to 6.2.2
Bumps [ws](https://github.com/websockets/ws) from 6.2.1 to 6.2.2.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/commits)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-29 01:29:34 +00:00
dependabot[bot]
4ae9037ed5
Bump shell-quote from 1.7.2 to 1.8.0
Bumps [shell-quote](https://github.com/ljharb/shell-quote) from 1.7.2 to 1.8.0.
- [Release notes](https://github.com/ljharb/shell-quote/releases)
- [Changelog](https://github.com/ljharb/shell-quote/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/shell-quote/compare/v1.7.2...v1.8.0)

---
updated-dependencies:
- dependency-name: shell-quote
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-29 01:29:20 +00:00
cadd6ae9c1
Merge pull request #40 from bartvdbraak/dependabot/npm_and_yarn/express-4.18.2
Bump express from 4.17.1 to 4.18.2
2023-03-29 03:28:22 +02:00
f58b8de98f
Merge pull request #39 from bartvdbraak/dependabot/npm_and_yarn/qs-6.5.3
Bump qs from 6.5.2 to 6.5.3
2023-03-29 03:26:11 +02:00
dependabot[bot]
5e42352b80
Bump postcss from 7.0.30 to 7.0.39
Bumps [postcss](https://github.com/postcss/postcss) from 7.0.30 to 7.0.39.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/7.0.39/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/7.0.30...7.0.39)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-29 01:26:10 +00:00
7889ac55f6
Merge pull request #38 from bartvdbraak/dependabot/npm_and_yarn/decode-uri-component-0.2.2
Bump decode-uri-component from 0.2.0 to 0.2.2
2023-03-29 03:25:31 +02:00
dependabot[bot]
9410f185b8
Bump express from 4.17.1 to 4.18.2
Bumps [express](https://github.com/expressjs/express) from 4.17.1 to 4.18.2.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.17.1...4.18.2)

---
updated-dependencies:
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-11 23:34:07 +00:00
dependabot[bot]
0d8404ad22
Bump qs from 6.5.2 to 6.5.3
Bumps [qs](https://github.com/ljharb/qs) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/ljharb/qs/releases)
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.5.2...v6.5.3)

---
updated-dependencies:
- dependency-name: qs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-10 17:17:47 +00:00
dependabot[bot]
688a6c5a6d
Bump decode-uri-component from 0.2.0 to 0.2.2
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-05 07:14:21 +00:00
b5429507bf
Merge pull request #16 from bartvdbraak/dependabot/npm_and_yarn/ssri-6.0.2
Bump ssri from 6.0.1 to 6.0.2
2021-04-19 13:56:09 +02:00
dependabot[bot]
d99a97f2e3
Bump ssri from 6.0.1 to 6.0.2
Bumps [ssri](https://github.com/npm/ssri) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/npm/ssri/releases)
- [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md)
- [Commits](https://github.com/npm/ssri/compare/v6.0.1...v6.0.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-19 11:54:44 +00:00
a4dd9b4ba9
Merge pull request #15 from bartvdbraak/dependabot/npm_and_yarn/y18n-4.0.1
Bump y18n from 4.0.0 to 4.0.1
2021-04-19 13:54:25 +02:00
ec4abd1abd
Merge pull request #14 from bartvdbraak/dependabot/npm_and_yarn/elliptic-6.5.4
Bump elliptic from 6.5.3 to 6.5.4
2021-04-19 13:54:12 +02:00
dependabot[bot]
2995f91944
Bump y18n from 4.0.0 to 4.0.1
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-31 13:24:05 +00:00
dependabot[bot]
c3f1c07ce3
Bump elliptic from 6.5.3 to 6.5.4
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.3 to 6.5.4.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.3...v6.5.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-10 06:48:39 +00:00
507fcd3737
Merge pull request #13 from bartvdbraak/dependabot/npm_and_yarn/highlight.js-9.18.5
Bump highlight.js from 9.18.1 to 9.18.5
2021-01-12 15:07:30 +01:00
43707ae78c
Merge pull request #12 from bartvdbraak/dependabot/npm_and_yarn/node-fetch-2.6.1
Bump node-fetch from 2.6.0 to 2.6.1
2021-01-12 15:06:43 +01:00
809a0e887b
Merge pull request #11 from bartvdbraak/dependabot/npm_and_yarn/http-proxy-1.18.1
Bump http-proxy from 1.18.0 to 1.18.1
2021-01-12 15:06:29 +01:00
dependabot[bot]
16e033199b
Bump highlight.js from 9.18.1 to 9.18.5
Bumps [highlight.js](https://github.com/highlightjs/highlight.js) from 9.18.1 to 9.18.5.
- [Release notes](https://github.com/highlightjs/highlight.js/releases)
- [Changelog](https://github.com/highlightjs/highlight.js/blob/9.18.5/CHANGES.md)
- [Commits](https://github.com/highlightjs/highlight.js/compare/9.18.1...9.18.5)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-25 03:06:32 +00:00
dependabot[bot]
f6946c603b
Bump node-fetch from 2.6.0 to 2.6.1
Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-12 14:42:31 +00:00
dependabot[bot]
59ac1916ba
Bump http-proxy from 1.18.0 to 1.18.1
Bumps [http-proxy](https://github.com/http-party/node-http-proxy) from 1.18.0 to 1.18.1.
- [Release notes](https://github.com/http-party/node-http-proxy/releases)
- [Changelog](https://github.com/http-party/node-http-proxy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/http-party/node-http-proxy/compare/1.18.0...1.18.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-11 06:33:50 +00:00
55147f6477
Merge pull request #10 from bartvdbraak/dependabot/npm_and_yarn/elliptic-6.5.3
Bump elliptic from 6.5.2 to 6.5.3
2020-08-02 23:04:59 +02:00
dependabot[bot]
3dafbca58e
Bump elliptic from 6.5.2 to 6.5.3
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-01 12:36:29 +00:00
8fb0dd7462
Merge pull request #9 from bartvdbraak/dependabot/npm_and_yarn/lodash-4.17.19
Bump lodash from 4.17.15 to 4.17.19
2020-07-20 16:58:26 +02:00
dependabot[bot]
98db3d45cc
Bump lodash from 4.17.15 to 4.17.19
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-19 12:02:36 +00:00
6c7f924144
Merge pull request #8 from bartvdbraak/dependabot/npm_and_yarn/websocket-extensions-0.1.4
Bump websocket-extensions from 0.1.3 to 0.1.4
2020-06-08 16:50:25 +02:00
dependabot[bot]
17bb4b5e97
Bump websocket-extensions from 0.1.3 to 0.1.4
Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/faye/websocket-extensions-node/releases)
- [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md)
- [Commits](https://github.com/faye/websocket-extensions-node/compare/0.1.3...0.1.4)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-07 19:45:27 +00:00
8813190cf3 updating dependencies 2020-05-13 14:33:07 +02:00
31c5d02f92 bug fixes to slater point unlocks 2020-03-01 16:20:07 +01:00
470fd4ae8f add show/hide table columns option 2020-02-12 03:18:37 +01:00
24a5b50922 firemaking/agility for harpies & earth warriors 2020-02-11 20:00:46 +01:00
2b9731ec1a pagination 2020-02-11 19:45:00 +01:00
99a067bd7f filter on for each field 2020-02-11 19:23:01 +01:00
a94b52216b user specified filter added 2020-02-11 18:03:23 +01:00
f2f29df147 remove reference to old data files 2020-02-11 17:42:07 +01:00
abe8037065 Github Pages deploy steps 2020-02-06 17:32:59 +01:00
3f184ba43e new name, new link 2020-02-06 17:05:36 +01:00
aeef762d0c cleanup old version files 2020-02-06 16:44:41 +01:00
0e5a5177d2 Merge branch 'Rework_VueJS' of github.com:bartvdbraak/slayweightcalc into Rework_VueJS 2020-02-06 16:38:17 +01:00
27972bd463 README fix 2020-02-06 16:35:48 +01:00
f3483983a7 README cleanup, additions 2020-02-06 16:35:48 +01:00
69fef0bcee Ignore combat level, remove unused elements (edit columns) 2020-02-06 16:35:47 +01:00
78b2cb442e Account icon, (un)check all quests, author notice 2020-02-06 16:35:47 +01:00
5cac478ee5 add license 2020-02-06 16:35:47 +01:00
44934f784b Implements all current filters (point unlocks, block list, quest unlocks) 2020-02-06 16:35:14 +01:00
367b564961 Slayer point unlocks, removal list filter 2020-02-06 16:35:14 +01:00
b19346ac16 Add lodash pkg, bugfix config loader (update:configData), stat filters implemented with lodash 2020-02-06 16:35:14 +01:00
0e095a5088 Change heading weight, remember false behaviour fix 2020-02-06 16:35:14 +01:00
8a7e2a25b2 sync instead of emit for configdata 2020-02-06 16:35:14 +01:00
4c2e9183f0 Config loading, localstorage saving, export and persistence 2020-02-06 16:35:14 +01:00
e282fdc80f yarn package changes, minor tweaks 2020-02-06 16:35:14 +01:00
90b9cd8b90 Persistent config data, between routes and components. 2020-02-06 16:35:14 +01:00
7e8ab1c381 Persistent config data, between routes and components. 2020-02-06 16:35:14 +01:00
251c85677a temporary 2020-02-06 16:35:14 +01:00
9e7da4bed2 temporary 2020-02-06 16:35:14 +01:00
2ad8a3f3ba temporary 2020-02-06 16:35:14 +01:00
4430bbb147 temporary 2020-02-06 16:35:14 +01:00
afcff941f2 config settings layout 2020-02-06 16:35:14 +01:00
cfe16b7b9c scaffold config objects 2020-02-06 16:35:13 +01:00
0406d6be85 config begin 2020-02-06 16:35:13 +01:00
8a496d3b2e default sorting 2020-02-06 16:35:13 +01:00
9b1c786334 task weight calc and percentages, new column 2020-02-06 16:35:13 +01:00
2977646d06 python script and unnessecary csv/json files relocated to /api/, master json updated and used, removal of slayer master filter js 2020-02-06 16:35:13 +01:00
afbd7bbb97 master json has all task information 2020-02-06 16:35:13 +01:00
d0ed34e8b3 minor changes 2020-02-06 16:35:13 +01:00
4f9d2a2a86 Add query results (monster id, task weights) to masters json 2020-02-06 16:35:13 +01:00
2d34a6056f Query csv updated to also convert to JSON 2020-02-06 16:35:13 +01:00
178d0d0ac6 Query csv updated for only {ID,TASK_WEIGHT} per slayer master 2020-02-06 16:35:13 +01:00
5266d9bd13 Other links target value prop 2020-02-06 16:35:13 +01:00
62ba952f22 csv querying with python, generated master csv 2020-02-06 16:35:13 +01:00
59de53c243 slayer master filters scaffold 2020-02-06 16:35:13 +01:00
f1ea48381a new mass filtering function, edit column button init 2020-02-06 16:35:13 +01:00
7eed638ac0 responsive nav + hamburger menu 2020-02-06 16:35:13 +01:00
e7fb7c26f5 routes fixed, active classes for nav 2020-02-06 16:35:13 +01:00
506db21776 change dflex to col, vuex, routing, router-view, currectMaster 2020-02-06 16:35:13 +01:00
50dffb273f navigation emits 2020-02-06 16:35:13 +01:00
1269d3efc1 init parsing items in tables and filtering 2020-02-06 16:35:13 +01:00
7831f58bc7 changes to index 2020-02-06 16:35:13 +01:00
24d8c0a488 update readme 2020-02-06 16:35:12 +01:00
d66880cd5b older data reintroduced: csvs and json 2020-02-06 16:34:35 +01:00
e6e8648af9 base layout, data, components 2020-02-06 16:34:35 +01:00
3649d39cc3 galvek logo 2020-02-06 16:34:35 +01:00
e47b338d7f remove helloworld, add nav/content components, install bootstrap (and dependencies) 2020-02-06 16:34:35 +01:00
557a1916ff yarn add, import, use buefy 2020-02-06 16:34:35 +01:00
527b99bc4d init 2020-02-06 16:34:34 +01:00
903d1e3a25 README fix 2020-02-06 16:22:22 +01:00
873c090c14 README cleanup, additions 2020-02-06 16:21:11 +01:00
3c3af01265 Ignore combat level, remove unused elements (edit columns) 2020-02-06 13:51:30 +01:00
94e8b995b2 Account icon, (un)check all quests, author notice 2020-02-06 12:57:10 +01:00
bab8a595b5 add license 2020-02-06 02:24:10 +01:00
ef937af5e7 Implements all current filters (point unlocks, block list, quest unlocks) 2020-02-06 02:19:50 +01:00
25cd38d0cf Slayer point unlocks, removal list filter 2020-02-05 20:38:44 +01:00
8f60409cb7 Add lodash pkg, bugfix config loader (update:configData), stat filters implemented with lodash 2020-02-05 19:21:37 +01:00
7d8ddf7e6b Change heading weight, remember false behaviour fix 2020-02-05 13:33:09 +01:00
0ccecbef31 sync instead of emit for configdata 2020-02-04 23:21:35 +01:00
07bc880c60 Config loading, localstorage saving, export and persistence 2020-02-04 20:20:42 +01:00
6cd9ba5464 yarn package changes, minor tweaks 2020-02-04 07:51:32 +01:00
d27c10c5ce Persistent config data, between routes and components. 2020-02-04 00:14:23 +01:00
2becf65d0e Persistent config data, between routes and components. 2020-02-04 00:12:03 +01:00
2ecf653079 temporary 2020-02-03 23:39:27 +01:00
a9df851533 temporary 2020-02-03 18:35:53 +01:00
88f21e9328 temporary 2020-02-03 18:26:52 +01:00
03968884b0 temporary 2020-02-03 18:26:49 +01:00
365cd58f3b config settings layout 2020-02-03 16:12:54 +01:00
52c0d4782f scaffold config objects 2020-02-03 12:17:43 +01:00
0e6f08d90d config begin 2020-02-03 02:04:14 +01:00
627c921f5d default sorting 2020-02-03 01:04:22 +01:00
a8eb3df969 task weight calc and percentages, new column 2020-02-03 00:53:52 +01:00
d6a610bc1c python script and unnessecary csv/json files relocated to /api/, master json updated and used, removal of slayer master filter js 2020-02-03 00:00:05 +01:00
c9974242c0 master json has all task information 2020-02-02 22:49:46 +01:00
b38c41a7cc minor changes 2020-02-02 22:15:37 +01:00
96ad638ac8 Add query results (monster id, task weights) to masters json 2020-02-02 22:02:16 +01:00
c056b19bf9 Query csv updated to also convert to JSON 2020-02-02 21:48:53 +01:00
d73dc84468 Query csv updated for only {ID,TASK_WEIGHT} per slayer master 2020-02-02 18:37:53 +01:00
fa582c1c5c Other links target value prop 2020-02-02 18:16:23 +01:00
0decb3ba14 csv querying with python, generated master csv 2020-02-02 17:52:09 +01:00
c8b38ae818 slayer master filters scaffold 2020-02-02 17:12:00 +01:00
aba8fbedee new mass filtering function, edit column button init 2020-02-01 02:28:57 +01:00
71ada8d8f7 responsive nav + hamburger menu 2020-02-01 01:39:15 +01:00
5d00256cee routes fixed, active classes for nav 2020-01-31 22:49:39 +01:00
3c424f5b9d change dflex to col, vuex, routing, router-view, currectMaster 2020-01-31 21:22:21 +01:00
5e47841ff6 navigation emits 2020-01-31 16:13:10 +01:00
6baca18adb init parsing items in tables and filtering 2020-01-31 14:49:53 +01:00
226454f3c7 changes to index 2020-01-31 06:28:08 +01:00
2b35c86354 update readme 2020-01-31 06:16:58 +01:00
b3391e2306 older data reintroduced: csvs and json 2020-01-31 05:58:17 +01:00
8878d9f878 base layout, data, components 2020-01-31 05:45:29 +01:00
e3efb084b8 galvek logo 2020-01-31 02:03:30 +01:00
cd021fe9d2 remove helloworld, add nav/content components, install bootstrap (and dependencies) 2020-01-31 01:59:58 +01:00
cdc46021dc yarn add, import, use buefy 2020-01-31 01:24:51 +01:00
aea34d3656 init 2020-01-31 01:07:29 +01:00
85 changed files with 20888 additions and 1606 deletions

28
.eslintrc.js Normal file
View file

@ -0,0 +1,28 @@
module.exports = {
env: {
browser: true,
es6: true
},
extends: [
'plugin:vue/essential',
],
globals: {
Atomics: 'readonly',
SharedArrayBuffer: 'readonly'
},
parserOptions: {
ecmaVersion: 2018,
sourceType: 'module'
},
plugins: [
'vue'
],
rules: {
'max-len': 0,
'indent': [2, 'tab'],
'no-tabs': ["error", { allowIndentationTabs: true }],
'require-jsdoc': 0,
'no-invalid-this': 0,
'guard-for-in': 0
}
};

23
.gitignore vendored
View file

@ -1,2 +1,21 @@
.*
!/.gitignore
.DS_Store
node_modules
/dist
# local env files
.env.local
.env.*.local
# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

699
LICENSE
View file

@ -1,674 +1,25 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<https://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.
BSD 2-Clause License
Copyright (c) [year], [fullname]
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View file

@ -1,6 +1,78 @@
# slayweightcalc
A calculator for slayer geeks that need to know percentages.
> **Note**
>
> I created this Slayer calculator for OldSchool RuneScape in 2019, but I am no longer maintaining it. As of 23th April 2023, I have decided to publicly archive the repository for it. While my version may be outdated, it may still be useful to some players as a reference or for nostalgia purposes.
>
> However, developers from the Oldschool Runescape Wiki have created a more up-to-date and improved version ([Calculator:Slayer/Slayer task weight](https://oldschool.runescape.wiki/w/Calculator:Slayer/Slayer_task_weight)) which I highly recommend. Thank you for considering my Slayer calculator repository.
# Slayer Weight Calculator
[![A cross-section of the Applications interface.](application.png)](https://bartvdbraak.github.io/SlayerWeightCalculator)
> A calculator for slayer geeks that need to know percentages. Reworked in VueJS.
***
The full application can be accessed at:
https://bartvdbraak.github.io/slayweightcalc/index.html
https://bartvdbraak.github.io/SlayerWeightCalculator
## Why VueJS?
This application was first written with little knowledge of the front-end Javascript landscape. Therefore, only jQuery and Datatables were used in conjunction with vanilla HTML and Bootstrap CSS. The codebase wasn't easily maintainable, making bugfixes or feature additions extremely tedious and time consuming.
The reactiveness and structure that is used in VueJS is alot easier to maintain and extend. Also, I just really wanted to learn more front-end javascript and it's very likely that many parts of the codebase can be improved.
## Why a static API?
This choice stems from the fact that I want users to be able to reach the application in Github pages. The application is meant for RuneScape players, which are (and should be) very hesitant to use tools that may compromise their account details. Therefor, the way to go was: an **open-source codebase** with all the **API endpoints stored** in JSON while the application can be reached by **Github Pages**.
## NPM Libraries
* `lodash` for filtering objects
* `bootstrap-vue` for reactive bootstrap components
* `vue-router` for navigation handling
## Project folder structure
```
.
+-- api/ # python, csv, json files for API generate
+-- public/ # beginning point for VueJS app (index)
+-- src/ # files used by app
| +-- assets/ # images
| +-- components/ # vuejs components
| +-- data/ # json endpoint files
| +-- plugins/ # plugins (bootstrap-vue)
```
## Project setup
```
yarn install
```
### Compiles and hot-reloads for development
```
yarn serve
```
### Compiles and minifies for production
```
yarn build
```
### Lints and fixes files
```
yarn lint
```
## Github Pages Deploy
Clone the gh-pages branch (it uses a different `publicpath` module).
Build dist folder:
```
yarn build
```
Remove old root build files
```
rm -rf js img css index.html
```
Move new files to root.
```
rsync -a dist/* .
```

49
api/chaeldar_results.csv Normal file
View file

@ -0,0 +1,49 @@
id,monster,slayer_req,taskweight,combat_req,defence_req
0,Aberrant spectres,60,8,65,0
1,Abyssal demons,85,12,85,0
4,Aviansies,1,9,0,0
6,Banshees,15,5,20,0
7,Basilisks,40,7,40,20
11,Black demons,1,10,80,0
13,Bloodvelds,50,8,50,0
14,Blue dragons,1,8,65,0
16,Brine rats,47,7,45,0
17,Bronze dragons,1,11,75,0
20,Cave crawlers,10,5,10,0
21,Cave horrors,58,10,85,0
22,Cave krakens,87,12,80,0
23,Cave slimes,17,6,15,0
25,Cockatrices,25,6,25,20
29,Dagannoths,1,11,75,0
34,Dust devils,65,9,70,0
37,Elves,1,8,0,0
39,Fever spiders,42,7,40,0
40,Fire giants,1,12,65,0
42,Fossil Island Wyverns,66,7,60,0
43,Gargoyles,75,11,80,0
47,Greater demons,1,9,75,0
49,Harpie Bug Swarms,33,6,45,0
50,Hellhounds,1,9,75,0
57,Infernal Mages,45,7,40,0
58,Iron dragons,1,12,80,0
59,Jellies,52,10,57,0
60,Jungle horrors,1,10,65,0
61,Kalphites,1,11,15,0
63,Kurasks,70,12,65,0
65,Lesser demons,1,9,60,0
66,Lizardmen,1,8,0,0
67,Lizards,22,5,15,0
73,Mogres,32,6,30,0
74,Molanisks,39,6,50,0
77,Mutated zygomites,57,7,60,0
78,Nechryaels,80,12,85,0
81,Pyrefiends,30,6,25,0
85,Rockslugs,20,5,20,0
91,Shadow warriors,1,8,60,0
92,Skeletal Wyverns,72,7,70,0
96,Spiritual creatures,63,12,60,0
100,Trolls,1,11,60,0
101,Turoths,55,10,60,0
102,TzHaar,1,8,0,0
104,Wall beasts,35,6,30,5
108,Wyrms,62,6,0,0
1 id monster slayer_req taskweight combat_req defence_req
2 0 Aberrant spectres 60 8 65 0
3 1 Abyssal demons 85 12 85 0
4 4 Aviansies 1 9 0 0
5 6 Banshees 15 5 20 0
6 7 Basilisks 40 7 40 20
7 11 Black demons 1 10 80 0
8 13 Bloodvelds 50 8 50 0
9 14 Blue dragons 1 8 65 0
10 16 Brine rats 47 7 45 0
11 17 Bronze dragons 1 11 75 0
12 20 Cave crawlers 10 5 10 0
13 21 Cave horrors 58 10 85 0
14 22 Cave krakens 87 12 80 0
15 23 Cave slimes 17 6 15 0
16 25 Cockatrices 25 6 25 20
17 29 Dagannoths 1 11 75 0
18 34 Dust devils 65 9 70 0
19 37 Elves 1 8 0 0
20 39 Fever spiders 42 7 40 0
21 40 Fire giants 1 12 65 0
22 42 Fossil Island Wyverns 66 7 60 0
23 43 Gargoyles 75 11 80 0
24 47 Greater demons 1 9 75 0
25 49 Harpie Bug Swarms 33 6 45 0
26 50 Hellhounds 1 9 75 0
27 57 Infernal Mages 45 7 40 0
28 58 Iron dragons 1 12 80 0
29 59 Jellies 52 10 57 0
30 60 Jungle horrors 1 10 65 0
31 61 Kalphites 1 11 15 0
32 63 Kurasks 70 12 65 0
33 65 Lesser demons 1 9 60 0
34 66 Lizardmen 1 8 0 0
35 67 Lizards 22 5 15 0
36 73 Mogres 32 6 30 0
37 74 Molanisks 39 6 50 0
38 77 Mutated zygomites 57 7 60 0
39 78 Nechryaels 80 12 85 0
40 81 Pyrefiends 30 6 25 0
41 85 Rockslugs 20 5 20 0
42 91 Shadow warriors 1 8 60 0
43 92 Skeletal Wyverns 72 7 70 0
44 96 Spiritual creatures 63 12 60 0
45 100 Trolls 1 11 60 0
46 101 Turoths 55 10 60 0
47 102 TzHaar 1 8 0 0
48 104 Wall beasts 35 6 30 5
49 108 Wyrms 62 6 0 0

386
api/chaeldar_results.json Normal file
View file

@ -0,0 +1,386 @@
[
{
"id": "0",
"monster": "Aberrant spectres",
"slayer_req": "60",
"taskweight": "8",
"combat_req": "65",
"defence_req": "0"
},
{
"id": "1",
"monster": "Abyssal demons",
"slayer_req": "85",
"taskweight": "12",
"combat_req": "85",
"defence_req": "0"
},
{
"id": "4",
"monster": "Aviansies",
"slayer_req": "1",
"taskweight": "9",
"combat_req": "0",
"defence_req": "0"
},
{
"id": "6",
"monster": "Banshees",
"slayer_req": "15",
"taskweight": "5",
"combat_req": "20",
"defence_req": "0"
},
{
"id": "7",
"monster": "Basilisks",
"slayer_req": "40",
"taskweight": "7",
"combat_req": "40",
"defence_req": "20"
},
{
"id": "11",
"monster": "Black demons",
"slayer_req": "1",
"taskweight": "10",
"combat_req": "80",
"defence_req": "0"
},
{
"id": "13",
"monster": "Bloodvelds",
"slayer_req": "50",
"taskweight": "8",
"combat_req": "50",
"defence_req": "0"
},
{
"id": "14",
"monster": "Blue dragons",
"slayer_req": "1",
"taskweight": "8",
"combat_req": "65",
"defence_req": "0"
},
{
"id": "16",
"monster": "Brine rats",
"slayer_req": "47",
"taskweight": "7",
"combat_req": "45",
"defence_req": "0"
},
{
"id": "17",
"monster": "Bronze dragons",
"slayer_req": "1",
"taskweight": "11",
"combat_req": "75",
"defence_req": "0"
},
{
"id": "20",
"monster": "Cave crawlers",
"slayer_req": "10",
"taskweight": "5",
"combat_req": "10",
"defence_req": "0"
},
{
"id": "21",
"monster": "Cave horrors",
"slayer_req": "58",
"taskweight": "10",
"combat_req": "85",
"defence_req": "0"
},
{
"id": "22",
"monster": "Cave krakens",
"slayer_req": "87",
"taskweight": "12",
"combat_req": "80",
"defence_req": "0"
},
{
"id": "23",
"monster": "Cave slimes",
"slayer_req": "17",
"taskweight": "6",
"combat_req": "15",
"defence_req": "0"
},
{
"id": "25",
"monster": "Cockatrices",
"slayer_req": "25",
"taskweight": "6",
"combat_req": "25",
"defence_req": "20"
},
{
"id": "29",
"monster": "Dagannoths",
"slayer_req": "1",
"taskweight": "11",
"combat_req": "75",
"defence_req": "0"
},
{
"id": "34",
"monster": "Dust devils",
"slayer_req": "65",
"taskweight": "9",
"combat_req": "70",
"defence_req": "0"
},
{
"id": "37",
"monster": "Elves",
"slayer_req": "1",
"taskweight": "8",
"combat_req": "0",
"defence_req": "0"
},
{
"id": "39",
"monster": "Fever spiders",
"slayer_req": "42",
"taskweight": "7",
"combat_req": "40",
"defence_req": "0"
},
{
"id": "40",
"monster": "Fire giants",
"slayer_req": "1",
"taskweight": "12",
"combat_req": "65",
"defence_req": "0"
},
{
"id": "42",
"monster": "Fossil Island Wyverns",
"slayer_req": "66",
"taskweight": "7",
"combat_req": "60",
"defence_req": "0"
},
{
"id": "43",
"monster": "Gargoyles",
"slayer_req": "75",
"taskweight": "11",
"combat_req": "80",
"defence_req": "0"
},
{
"id": "47",
"monster": "Greater demons",
"slayer_req": "1",
"taskweight": "9",
"combat_req": "75",
"defence_req": "0"
},
{
"id": "49",
"monster": "Harpie Bug Swarms",
"slayer_req": "33",
"taskweight": "6",
"combat_req": "45",
"defence_req": "0"
},
{
"id": "50",
"monster": "Hellhounds",
"slayer_req": "1",
"taskweight": "9",
"combat_req": "75",
"defence_req": "0"
},
{
"id": "57",
"monster": "Infernal Mages",
"slayer_req": "45",
"taskweight": "7",
"combat_req": "40",
"defence_req": "0"
},
{
"id": "58",
"monster": "Iron dragons",
"slayer_req": "1",
"taskweight": "12",
"combat_req": "80",
"defence_req": "0"
},
{
"id": "59",
"monster": "Jellies",
"slayer_req": "52",
"taskweight": "10",
"combat_req": "57",
"defence_req": "0"
},
{
"id": "60",
"monster": "Jungle horrors",
"slayer_req": "1",
"taskweight": "10",
"combat_req": "65",
"defence_req": "0"
},
{
"id": "61",
"monster": "Kalphites",
"slayer_req": "1",
"taskweight": "11",
"combat_req": "15",
"defence_req": "0"
},
{
"id": "63",
"monster": "Kurasks",
"slayer_req": "70",
"taskweight": "12",
"combat_req": "65",
"defence_req": "0"
},
{
"id": "65",
"monster": "Lesser demons",
"slayer_req": "1",
"taskweight": "9",
"combat_req": "60",
"defence_req": "0"
},
{
"id": "66",
"monster": "Lizardmen",
"slayer_req": "1",
"taskweight": "8",
"combat_req": "0",
"defence_req": "0"
},
{
"id": "67",
"monster": "Lizards",
"slayer_req": "22",
"taskweight": "5",
"combat_req": "15",
"defence_req": "0"
},
{
"id": "73",
"monster": "Mogres",
"slayer_req": "32",
"taskweight": "6",
"combat_req": "30",
"defence_req": "0"
},
{
"id": "74",
"monster": "Molanisks",
"slayer_req": "39",
"taskweight": "6",
"combat_req": "50",
"defence_req": "0"
},
{
"id": "77",
"monster": "Mutated zygomites",
"slayer_req": "57",
"taskweight": "7",
"combat_req": "60",
"defence_req": "0"
},
{
"id": "78",
"monster": "Nechryaels",
"slayer_req": "80",
"taskweight": "12",
"combat_req": "85",
"defence_req": "0"
},
{
"id": "81",
"monster": "Pyrefiends",
"slayer_req": "30",
"taskweight": "6",
"combat_req": "25",
"defence_req": "0"
},
{
"id": "85",
"monster": "Rockslugs",
"slayer_req": "20",
"taskweight": "5",
"combat_req": "20",
"defence_req": "0"
},
{
"id": "91",
"monster": "Shadow warriors",
"slayer_req": "1",
"taskweight": "8",
"combat_req": "60",
"defence_req": "0"
},
{
"id": "92",
"monster": "Skeletal Wyverns",
"slayer_req": "72",
"taskweight": "7",
"combat_req": "70",
"defence_req": "0"
},
{
"id": "96",
"monster": "Spiritual creatures",
"slayer_req": "63",
"taskweight": "12",
"combat_req": "60",
"defence_req": "0"
},
{
"id": "100",
"monster": "Trolls",
"slayer_req": "1",
"taskweight": "11",
"combat_req": "60",
"defence_req": "0"
},
{
"id": "101",
"monster": "Turoths",
"slayer_req": "55",
"taskweight": "10",
"combat_req": "60",
"defence_req": "0"
},
{
"id": "102",
"monster": "TzHaar",
"slayer_req": "1",
"taskweight": "8",
"combat_req": "0",
"defence_req": "0"
},
{
"id": "104",
"monster": "Wall beasts",
"slayer_req": "35",
"taskweight": "6",
"combat_req": "30",
"defence_req": "5"
},
{
"id": "108",
"monster": "Wyrms",
"slayer_req": "62",
"taskweight": "6",
"combat_req": "0",
"defence_req": "0"
}
]

40
api/duradel_results.csv Normal file
View file

@ -0,0 +1,40 @@
id,monster,slayer_req,taskweight,combat_req,defence_req
0,Aberrant spectres,60,7,65,0
1,Abyssal demons,85,12,85,0
2,Adamant dragons,1,2,0,0
3,Ankous,1,5,40,0
4,Aviansies,1,8,0,0
11,Black demons,1,8,80,0
12,Black dragons,1,9,80,0
13,Bloodvelds,50,8,50,0
14,Blue dragons,1,4,65,0
15,Bosses,1,12,0,0
21,Cave horrors,58,4,85,0
22,Cave krakens,87,9,80,0
29,Dagannoths,1,9,75,0
30,Dark beasts,90,11,90,0
33,Drakes,84,8,0,0
34,Dust devils,65,5,70,0
37,Elves,1,4,0,0
40,Fire giants,1,7,65,0
42,Fossil Island Wyverns,66,5,60,0
43,Gargoyles,75,8,80,0
47,Greater demons,1,9,75,0
50,Hellhounds,1,10,75,0
58,Iron dragons,1,5,80,0
61,Kalphites,1,9,15,0
63,Kurasks,70,4,65,0
66,Lizardmen,1,10,0,0
72,Mithril dragons,1,9,0,0
78,Nechryaels,80,9,85,0
83,Red dragons,1,8,68,0
87,Rune dragons,1,2,0,0
92,Skeletal Wyverns,72,7,70,0
94,Smoke devils,93,9,85,0
96,Spiritual creatures,63,7,60,0
97,Steel dragons,1,7,85,0
98,Suqahs,1,8,85,0
100,Trolls,1,6,60,0
102,TzHaar,1,10,0,0
105,Waterfiends,1,2,75,0
108,Wyrms,62,8,0,0
1 id monster slayer_req taskweight combat_req defence_req
2 0 Aberrant spectres 60 7 65 0
3 1 Abyssal demons 85 12 85 0
4 2 Adamant dragons 1 2 0 0
5 3 Ankous 1 5 40 0
6 4 Aviansies 1 8 0 0
7 11 Black demons 1 8 80 0
8 12 Black dragons 1 9 80 0
9 13 Bloodvelds 50 8 50 0
10 14 Blue dragons 1 4 65 0
11 15 Bosses 1 12 0 0
12 21 Cave horrors 58 4 85 0
13 22 Cave krakens 87 9 80 0
14 29 Dagannoths 1 9 75 0
15 30 Dark beasts 90 11 90 0
16 33 Drakes 84 8 0 0
17 34 Dust devils 65 5 70 0
18 37 Elves 1 4 0 0
19 40 Fire giants 1 7 65 0
20 42 Fossil Island Wyverns 66 5 60 0
21 43 Gargoyles 75 8 80 0
22 47 Greater demons 1 9 75 0
23 50 Hellhounds 1 10 75 0
24 58 Iron dragons 1 5 80 0
25 61 Kalphites 1 9 15 0
26 63 Kurasks 70 4 65 0
27 66 Lizardmen 1 10 0 0
28 72 Mithril dragons 1 9 0 0
29 78 Nechryaels 80 9 85 0
30 83 Red dragons 1 8 68 0
31 87 Rune dragons 1 2 0 0
32 92 Skeletal Wyverns 72 7 70 0
33 94 Smoke devils 93 9 85 0
34 96 Spiritual creatures 63 7 60 0
35 97 Steel dragons 1 7 85 0
36 98 Suqahs 1 8 85 0
37 100 Trolls 1 6 60 0
38 102 TzHaar 1 10 0 0
39 105 Waterfiends 1 2 75 0
40 108 Wyrms 62 8 0 0

314
api/duradel_results.json Normal file
View file

@ -0,0 +1,314 @@
[
{
"id": "0",
"monster": "Aberrant spectres",
"slayer_req": "60",
"taskweight": "7",
"combat_req": "65",
"defence_req": "0"
},
{
"id": "1",
"monster": "Abyssal demons",
"slayer_req": "85",
"taskweight": "12",
"combat_req": "85",
"defence_req": "0"
},
{
"id": "2",
"monster": "Adamant dragons",
"slayer_req": "1",
"taskweight": "2",
"combat_req": "0",
"defence_req": "0"
},
{
"id": "3",
"monster": "Ankous",
"slayer_req": "1",
"taskweight": "5",
"combat_req": "40",
"defence_req": "0"
},
{
"id": "4",
"monster": "Aviansies",
"slayer_req": "1",
"taskweight": "8",
"combat_req": "0",
"defence_req": "0"
},
{
"id": "11",
"monster": "Black demons",
"slayer_req": "1",
"taskweight": "8",
"combat_req": "80",
"defence_req": "0"
},
{
"id": "12",
"monster": "Black dragons",
"slayer_req": "1",
"taskweight": "9",
"combat_req": "80",
"defence_req": "0"
},
{
"id": "13",
"monster": "Bloodvelds",
"slayer_req": "50",
"taskweight": "8",
"combat_req": "50",
"defence_req": "0"
},
{
"id": "14",
"monster": "Blue dragons",
"slayer_req": "1",
"taskweight": "4",
"combat_req": "65",
"defence_req": "0"
},
{
"id": "15",
"monster": "Bosses",
"slayer_req": "1",
"taskweight": "12",
"combat_req": "0",
"defence_req": "0"
},
{
"id": "21",
"monster": "Cave horrors",
"slayer_req": "58",
"taskweight": "4",
"combat_req": "85",
"defence_req": "0"
},
{
"id": "22",
"monster": "Cave krakens",
"slayer_req": "87",
"taskweight": "9",
"combat_req": "80",
"defence_req": "0"
},
{
"id": "29",
"monster": "Dagannoths",
"slayer_req": "1",
"taskweight": "9",
"combat_req": "75",
"defence_req": "0"
},
{
"id": "30",
"monster": "Dark beasts",
"slayer_req": "90",
"taskweight": "11",
"combat_req": "90",
"defence_req": "0"
},
{
"id": "33",
"monster": "Drakes",
"slayer_req": "84",
"taskweight": "8",
"combat_req": "0",
"defence_req": "0"
},
{
"id": "34",
"monster": "Dust devils",
"slayer_req": "65",
"taskweight": "5",
"combat_req": "70",
"defence_req": "0"
},
{
"id": "37",
"monster": "Elves",
"slayer_req": "1",
"taskweight": "4",
"combat_req": "0",
"defence_req": "0"
},
{
"id": "40",
"monster": "Fire giants",
"slayer_req": "1",
"taskweight": "7",
"combat_req": "65",
"defence_req": "0"
},
{
"id": "42",
"monster": "Fossil Island Wyverns",
"slayer_req": "66",
"taskweight": "5",
"combat_req": "60",
"defence_req": "0"
},
{
"id": "43",
"monster": "Gargoyles",
"slayer_req": "75",
"taskweight": "8",
"combat_req": "80",
"defence_req": "0"
},
{
"id": "47",
"monster": "Greater demons",
"slayer_req": "1",
"taskweight": "9",
"combat_req": "75",
"defence_req": "0"
},
{
"id": "50",
"monster": "Hellhounds",
"slayer_req": "1",
"taskweight": "10",
"combat_req": "75",
"defence_req": "0"
},
{
"id": "58",
"monster": "Iron dragons",
"slayer_req": "1",
"taskweight": "5",
"combat_req": "80",
"defence_req": "0"
},
{
"id": "61",
"monster": "Kalphites",
"slayer_req": "1",
"taskweight": "9",
"combat_req": "15",
"defence_req": "0"
},
{
"id": "63",
"monster": "Kurasks",
"slayer_req": "70",
"taskweight": "4",
"combat_req": "65",
"defence_req": "0"
},
{
"id": "66",
"monster": "Lizardmen",
"slayer_req": "1",
"taskweight": "10",
"combat_req": "0",
"defence_req": "0"
},
{
"id": "72",
"monster": "Mithril dragons",
"slayer_req": "1",
"taskweight": "9",
"combat_req": "0",
"defence_req": "0"
},
{
"id": "78",
"monster": "Nechryaels",
"slayer_req": "80",
"taskweight": "9",
"combat_req": "85",
"defence_req": "0"
},
{
"id": "83",
"monster": "Red dragons",
"slayer_req": "1",
"taskweight": "8",
"combat_req": "68",
"defence_req": "0"
},
{
"id": "87",
"monster": "Rune dragons",
"slayer_req": "1",
"taskweight": "2",
"combat_req": "0",
"defence_req": "0"
},
{
"id": "92",
"monster": "Skeletal Wyverns",
"slayer_req": "72",
"taskweight": "7",
"combat_req": "70",
"defence_req": "0"
},
{
"id": "94",
"monster": "Smoke devils",
"slayer_req": "93",
"taskweight": "9",
"combat_req": "85",
"defence_req": "0"
},
{
"id": "96",
"monster": "Spiritual creatures",
"slayer_req": "63",
"taskweight": "7",
"combat_req": "60",
"defence_req": "0"
},
{
"id": "97",
"monster": "Steel dragons",
"slayer_req": "1",
"taskweight": "7",
"combat_req": "85",
"defence_req": "0"
},
{
"id": "98",
"monster": "Suqahs",
"slayer_req": "1",
"taskweight": "8",
"combat_req": "85",
"defence_req": "0"
},
{
"id": "100",
"monster": "Trolls",
"slayer_req": "1",
"taskweight": "6",
"combat_req": "60",
"defence_req": "0"
},
{
"id": "102",
"monster": "TzHaar",
"slayer_req": "1",
"taskweight": "10",
"combat_req": "0",
"defence_req": "0"
},
{
"id": "105",
"monster": "Waterfiends",
"slayer_req": "1",
"taskweight": "2",
"combat_req": "75",
"defence_req": "0"
},
{
"id": "108",
"monster": "Wyrms",
"slayer_req": "62",
"taskweight": "8",
"combat_req": "0",
"defence_req": "0"
}
]

View file

@ -0,0 +1,40 @@
id,monster,slayer_req,taskweight,combat_req,defence_req
0,Aberrant spectres,60,6,65,0
1,Abyssal demons,85,9,85,0
2,Adamant dragons,1,5,0,0
3,Ankous,1,5,40,0
4,Aviansies,1,6,0,0
11,Black demons,1,9,80,0
12,Black dragons,1,6,80,0
13,Bloodvelds,50,9,50,0
14,Blue dragons,1,4,65,0
15,Bosses,1,8,0,0
16,Brine rats,47,2,45,0
17,Bronze dragons,1,5,75,0
22,Cave krakens,87,9,80,0
29,Dagannoths,1,8,75,0
30,Dark beasts,90,5,90,0
33,Drakes,84,10,0,0
34,Dust devils,65,6,70,0
40,Fire giants,1,9,65,0
42,Fossil Island Wyverns,66,5,60,0
43,Gargoyles,75,6,80,0
47,Greater demons,1,7,75,0
50,Hellhounds,1,8,75,0
53,Hydras,95,10,0,0
58,Iron dragons,1,5,80,0
59,Jellies,52,6,57,0
61,Kalphites,1,9,15,0
63,Kurasks,70,3,65,0
66,Lizardmen,1,8,0,0
72,Mithril dragons,1,5,0,0
78,Nechryaels,80,7,85,0
83,Red dragons,1,5,68,0
87,Rune dragons,1,5,0,0
92,Skeletal Wyverns,72,5,70,0
94,Smoke devils,93,7,85,0
97,Steel dragons,1,5,85,0
100,Trolls,1,6,60,0
101,Turoths,55,3,60,0
105,Waterfiends,1,2,75,0
108,Wyrms,62,10,0,0
1 id monster slayer_req taskweight combat_req defence_req
2 0 Aberrant spectres 60 6 65 0
3 1 Abyssal demons 85 9 85 0
4 2 Adamant dragons 1 5 0 0
5 3 Ankous 1 5 40 0
6 4 Aviansies 1 6 0 0
7 11 Black demons 1 9 80 0
8 12 Black dragons 1 6 80 0
9 13 Bloodvelds 50 9 50 0
10 14 Blue dragons 1 4 65 0
11 15 Bosses 1 8 0 0
12 16 Brine rats 47 2 45 0
13 17 Bronze dragons 1 5 75 0
14 22 Cave krakens 87 9 80 0
15 29 Dagannoths 1 8 75 0
16 30 Dark beasts 90 5 90 0
17 33 Drakes 84 10 0 0
18 34 Dust devils 65 6 70 0
19 40 Fire giants 1 9 65 0
20 42 Fossil Island Wyverns 66 5 60 0
21 43 Gargoyles 75 6 80 0
22 47 Greater demons 1 7 75 0
23 50 Hellhounds 1 8 75 0
24 53 Hydras 95 10 0 0
25 58 Iron dragons 1 5 80 0
26 59 Jellies 52 6 57 0
27 61 Kalphites 1 9 15 0
28 63 Kurasks 70 3 65 0
29 66 Lizardmen 1 8 0 0
30 72 Mithril dragons 1 5 0 0
31 78 Nechryaels 80 7 85 0
32 83 Red dragons 1 5 68 0
33 87 Rune dragons 1 5 0 0
34 92 Skeletal Wyverns 72 5 70 0
35 94 Smoke devils 93 7 85 0
36 97 Steel dragons 1 5 85 0
37 100 Trolls 1 6 60 0
38 101 Turoths 55 3 60 0
39 105 Waterfiends 1 2 75 0
40 108 Wyrms 62 10 0 0

View file

@ -0,0 +1,314 @@
[
{
"id": "0",
"monster": "Aberrant spectres",
"slayer_req": "60",
"taskweight": "6",
"combat_req": "65",
"defence_req": "0"
},
{
"id": "1",
"monster": "Abyssal demons",
"slayer_req": "85",
"taskweight": "9",
"combat_req": "85",
"defence_req": "0"
},
{
"id": "2",
"monster": "Adamant dragons",
"slayer_req": "1",
"taskweight": "5",
"combat_req": "0",
"defence_req": "0"
},
{
"id": "3",
"monster": "Ankous",
"slayer_req": "1",
"taskweight": "5",
"combat_req": "40",
"defence_req": "0"
},
{
"id": "4",
"monster": "Aviansies",
"slayer_req": "1",
"taskweight": "6",
"combat_req": "0",
"defence_req": "0"
},
{
"id": "11",
"monster": "Black demons",
"slayer_req": "1",
"taskweight": "9",
"combat_req": "80",
"defence_req": "0"
},
{
"id": "12",
"monster": "Black dragons",
"slayer_req": "1",
"taskweight": "6",
"combat_req": "80",
"defence_req": "0"
},
{
"id": "13",
"monster": "Bloodvelds",
"slayer_req": "50",
"taskweight": "9",
"combat_req": "50",
"defence_req": "0"
},
{
"id": "14",
"monster": "Blue dragons",
"slayer_req": "1",
"taskweight": "4",
"combat_req": "65",
"defence_req": "0"
},
{
"id": "15",
"monster": "Bosses",
"slayer_req": "1",
"taskweight": "8",
"combat_req": "0",
"defence_req": "0"
},
{
"id": "16",
"monster": "Brine rats",
"slayer_req": "47",
"taskweight": "2",
"combat_req": "45",
"defence_req": "0"
},
{
"id": "17",
"monster": "Bronze dragons",
"slayer_req": "1",
"taskweight": "5",
"combat_req": "75",
"defence_req": "0"
},
{
"id": "22",
"monster": "Cave krakens",
"slayer_req": "87",
"taskweight": "9",
"combat_req": "80",
"defence_req": "0"
},
{
"id": "29",
"monster": "Dagannoths",
"slayer_req": "1",
"taskweight": "8",
"combat_req": "75",
"defence_req": "0"
},
{
"id": "30",
"monster": "Dark beasts",
"slayer_req": "90",
"taskweight": "5",
"combat_req": "90",
"defence_req": "0"
},
{
"id": "33",
"monster": "Drakes",
"slayer_req": "84",
"taskweight": "10",
"combat_req": "0",
"defence_req": "0"
},
{
"id": "34",
"monster": "Dust devils",
"slayer_req": "65",
"taskweight": "6",
"combat_req": "70",
"defence_req": "0"
},
{
"id": "40",
"monster": "Fire giants",
"slayer_req": "1",
"taskweight": "9",
"combat_req": "65",
"defence_req": "0"
},
{
"id": "42",
"monster": "Fossil Island Wyverns",
"slayer_req": "66",
"taskweight": "5",
"combat_req": "60",
"defence_req": "0"
},
{
"id": "43",
"monster": "Gargoyles",
"slayer_req": "75",
"taskweight": "6",
"combat_req": "80",
"defence_req": "0"
},
{
"id": "47",
"monster": "Greater demons",
"slayer_req": "1",
"taskweight": "7",
"combat_req": "75",
"defence_req": "0"
},
{
"id": "50",
"monster": "Hellhounds",
"slayer_req": "1",
"taskweight": "8",
"combat_req": "75",
"defence_req": "0"
},
{
"id": "53",
"monster": "Hydras",
"slayer_req": "95",
"taskweight": "10",
"combat_req": "0",
"defence_req": "0"
},
{
"id": "58",
"monster": "Iron dragons",
"slayer_req": "1",
"taskweight": "5",
"combat_req": "80",
"defence_req": "0"
},
{
"id": "59",
"monster": "Jellies",
"slayer_req": "52",
"taskweight": "6",
"combat_req": "57",
"defence_req": "0"
},
{
"id": "61",
"monster": "Kalphites",
"slayer_req": "1",
"taskweight": "9",
"combat_req": "15",
"defence_req": "0"
},
{
"id": "63",
"monster": "Kurasks",
"slayer_req": "70",
"taskweight": "3",
"combat_req": "65",
"defence_req": "0"
},
{
"id": "66",
"monster": "Lizardmen",
"slayer_req": "1",
"taskweight": "8",
"combat_req": "0",
"defence_req": "0"
},
{
"id": "72",
"monster": "Mithril dragons",
"slayer_req": "1",
"taskweight": "5",
"combat_req": "0",
"defence_req": "0"
},
{
"id": "78",
"monster": "Nechryaels",
"slayer_req": "80",
"taskweight": "7",
"combat_req": "85",
"defence_req": "0"
},
{
"id": "83",
"monster": "Red dragons",
"slayer_req": "1",
"taskweight": "5",
"combat_req": "68",
"defence_req": "0"
},
{
"id": "87",
"monster": "Rune dragons",
"slayer_req": "1",
"taskweight": "5",
"combat_req": "0",
"defence_req": "0"
},
{
"id": "92",
"monster": "Skeletal Wyverns",
"slayer_req": "72",
"taskweight": "5",
"combat_req": "70",
"defence_req": "0"
},
{
"id": "94",
"monster": "Smoke devils",
"slayer_req": "93",
"taskweight": "7",
"combat_req": "85",
"defence_req": "0"
},
{
"id": "97",
"monster": "Steel dragons",
"slayer_req": "1",
"taskweight": "5",
"combat_req": "85",
"defence_req": "0"
},
{
"id": "100",
"monster": "Trolls",
"slayer_req": "1",
"taskweight": "6",
"combat_req": "60",
"defence_req": "0"
},
{
"id": "101",
"monster": "Turoths",
"slayer_req": "55",
"taskweight": "3",
"combat_req": "60",
"defence_req": "0"
},
{
"id": "105",
"monster": "Waterfiends",
"slayer_req": "1",
"taskweight": "2",
"combat_req": "75",
"defence_req": "0"
},
{
"id": "108",
"monster": "Wyrms",
"slayer_req": "62",
"taskweight": "10",
"combat_req": "0",
"defence_req": "0"
}
]

28
api/krystilia_results.csv Normal file
View file

@ -0,0 +1,28 @@
id,monster,slayer_req,taskweight,combat_req,defence_req
3,Ankous,1,6,40,0
4,Aviansies,1,7,0,0
5,Bandits,1,4,0,0
9,Bears,1,6,13,0
11,Black demons,1,7,80,0
12,Black dragons,1,4,80,0
24,Chaos druids,1,5,0,0
31,Dark warriors,1,4,0,0
36,Earth warriors,1,6,35,0
38,Ents,1,5,0,0
40,Fire giants,1,7,65,0
47,Greater demons,1,8,75,0
48,Green dragons,1,4,52,0
50,Hellhounds,1,7,75,0
54,Ice giants,1,6,50,0
55,Ice warriors,1,7,45,0
64,Lava dragons,1,3,0,0
65,Lesser demons,1,6,60,0
68,Magic axes,1,7,0,0
69,Mammoths,1,6,0,0
84,Revenants,1,5,0,0
86,Rogues,1,5,0,0
88,Scorpions,1,6,7,0
93,Skeletons,1,5,15,0
95,Spiders,1,6,0,0
96,Spiritual creatures,63,6,60,0
15,Bosses,1,8,0,0
1 id monster slayer_req taskweight combat_req defence_req
2 3 Ankous 1 6 40 0
3 4 Aviansies 1 7 0 0
4 5 Bandits 1 4 0 0
5 9 Bears 1 6 13 0
6 11 Black demons 1 7 80 0
7 12 Black dragons 1 4 80 0
8 24 Chaos druids 1 5 0 0
9 31 Dark warriors 1 4 0 0
10 36 Earth warriors 1 6 35 0
11 38 Ents 1 5 0 0
12 40 Fire giants 1 7 65 0
13 47 Greater demons 1 8 75 0
14 48 Green dragons 1 4 52 0
15 50 Hellhounds 1 7 75 0
16 54 Ice giants 1 6 50 0
17 55 Ice warriors 1 7 45 0
18 64 Lava dragons 1 3 0 0
19 65 Lesser demons 1 6 60 0
20 68 Magic axes 1 7 0 0
21 69 Mammoths 1 6 0 0
22 84 Revenants 1 5 0 0
23 86 Rogues 1 5 0 0
24 88 Scorpions 1 6 7 0
25 93 Skeletons 1 5 15 0
26 95 Spiders 1 6 0 0
27 96 Spiritual creatures 63 6 60 0
28 15 Bosses 1 8 0 0

218
api/krystilia_results.json Normal file
View file

@ -0,0 +1,218 @@
[
{
"id": "3",
"monster": "Ankous",
"slayer_req": "1",
"taskweight": "6",
"combat_req": "40",
"defence_req": "0"
},
{
"id": "4",
"monster": "Aviansies",
"slayer_req": "1",
"taskweight": "7",
"combat_req": "0",
"defence_req": "0"
},
{
"id": "5",
"monster": "Bandits",
"slayer_req": "1",
"taskweight": "4",
"combat_req": "0",
"defence_req": "0"
},
{
"id": "9",
"monster": "Bears",
"slayer_req": "1",
"taskweight": "6",
"combat_req": "13",
"defence_req": "0"
},
{
"id": "11",
"monster": "Black demons",
"slayer_req": "1",
"taskweight": "7",
"combat_req": "80",
"defence_req": "0"
},
{
"id": "12",
"monster": "Black dragons",
"slayer_req": "1",
"taskweight": "4",
"combat_req": "80",
"defence_req": "0"
},
{
"id": "24",
"monster": "Chaos druids",
"slayer_req": "1",
"taskweight": "5",
"combat_req": "0",
"defence_req": "0"
},
{
"id": "31",
"monster": "Dark warriors",
"slayer_req": "1",
"taskweight": "4",
"combat_req": "0",
"defence_req": "0"
},
{
"id": "36",
"monster": "Earth warriors",
"slayer_req": "1",
"taskweight": "6",
"combat_req": "35",
"defence_req": "0"
},
{
"id": "38",
"monster": "Ents",
"slayer_req": "1",
"taskweight": "5",
"combat_req": "0",
"defence_req": "0"
},
{
"id": "40",
"monster": "Fire giants",
"slayer_req": "1",
"taskweight": "7",
"combat_req": "65",
"defence_req": "0"
},
{
"id": "47",
"monster": "Greater demons",
"slayer_req": "1",
"taskweight": "8",
"combat_req": "75",
"defence_req": "0"
},
{
"id": "48",
"monster": "Green dragons",
"slayer_req": "1",
"taskweight": "4",
"combat_req": "52",
"defence_req": "0"
},
{
"id": "50",
"monster": "Hellhounds",
"slayer_req": "1",
"taskweight": "7",
"combat_req": "75",
"defence_req": "0"
},
{
"id": "54",
"monster": "Ice giants",
"slayer_req": "1",
"taskweight": "6",
"combat_req": "50",
"defence_req": "0"
},
{
"id": "55",
"monster": "Ice warriors",
"slayer_req": "1",
"taskweight": "7",
"combat_req": "45",
"defence_req": "0"
},
{
"id": "64",
"monster": "Lava dragons",
"slayer_req": "1",
"taskweight": "3",
"combat_req": "0",
"defence_req": "0"
},
{
"id": "65",
"monster": "Lesser demons",
"slayer_req": "1",
"taskweight": "6",
"combat_req": "60",
"defence_req": "0"
},
{
"id": "68",
"monster": "Magic axes",
"slayer_req": "1",
"taskweight": "7",
"combat_req": "0",
"defence_req": "0"
},
{
"id": "69",
"monster": "Mammoths",
"slayer_req": "1",
"taskweight": "6",
"combat_req": "0",
"defence_req": "0"
},
{
"id": "84",
"monster": "Revenants",
"slayer_req": "1",
"taskweight": "5",
"combat_req": "0",
"defence_req": "0"
},
{
"id": "86",
"monster": "Rogues",
"slayer_req": "1",
"taskweight": "5",
"combat_req": "0",
"defence_req": "0"
},
{
"id": "88",
"monster": "Scorpions",
"slayer_req": "1",
"taskweight": "6",
"combat_req": "7",
"defence_req": "0"
},
{
"id": "93",
"monster": "Skeletons",
"slayer_req": "1",
"taskweight": "5",
"combat_req": "15",
"defence_req": "0"
},
{
"id": "95",
"monster": "Spiders",
"slayer_req": "1",
"taskweight": "6",
"combat_req": "0",
"defence_req": "0"
},
{
"id": "96",
"monster": "Spiritual creatures",
"slayer_req": "63",
"taskweight": "6",
"combat_req": "60",
"defence_req": "0"
},
{
"id": "15",
"monster": "Bosses",
"slayer_req": "1",
"taskweight": "8",
"combat_req": "0",
"defence_req": "0"
}
]

2492
api/masters.json Normal file

File diff suppressed because it is too large Load diff

2490
api/masters.json_new.json Normal file

File diff suppressed because it is too large Load diff

42
api/masters_simple.json Normal file
View file

@ -0,0 +1,42 @@
{
"0": {
"id": 0,
"name": "Turael",
"image": "Turael.png"
},
"1": {
"id": 1,
"name": "Krystilia",
"image": "Krystilia.png"
},
"2": {
"id": 2,
"name": "Mazchna",
"image": "Mazchna.png"
},
"3": {
"id": 3,
"name": "Vannaka",
"image": "Vannaka.png"
},
"4": {
"id": 4,
"name": "Chaeldar",
"image": "Chaeldar.png"
},
"5": {
"id": 5,
"name": "Konar quo Maten",
"image": "Konar quo Maten.png"
},
"6": {
"id": 6,
"name": "Nieve",
"image": "Nieve.png"
},
"7": {
"id": 7,
"name": "Duradel",
"image": "Duradel.png"
}
}

31
api/mazchna_results.csv Normal file
View file

@ -0,0 +1,31 @@
id,monster,slayer_req,taskweight,combat_req,defence_req
6,Banshees,15,8,20,0
8,Bats,1,7,5,0
9,Bears,1,6,13,0
18,Catablepons,1,8,35,0
19,Cave bugs,7,8,0,0
20,Cave crawlers,10,8,10,0
23,Cave slimes,17,8,15,0
25,Cockatrices,25,8,25,20
27,Crawling Hands,5,8,0,0
67,Lizards,22,8,15,0
32,Dogs,1,7,15,0
36,Earth warriors,1,6,35,0
41,Flesh Crawlers,1,7,15,0
44,Ghosts,1,7,13,0
45,Ghouls,1,7,25,0
51,Hill Giants,1,7,25,0
52,Hobgoblins,1,7,20,0
55,Ice warriors,1,7,45,0
61,Kalphites,1,6,15,0
62,Killerwatts,37,6,50,0
73,Mogres,32,8,30,0
81,Pyrefiends,30,8,25,0
85,Rockslugs,20,8,20,0
88,Scorpions,1,7,7,0
90,Shades,1,8,30,0
93,Skeletons,1,7,15,0
103,Vampyres,1,6,35,0
104,Wall beasts,35,7,30,5
107,Wolves,1,7,20,0
109,Zombies,1,7,10,0
1 id monster slayer_req taskweight combat_req defence_req
2 6 Banshees 15 8 20 0
3 8 Bats 1 7 5 0
4 9 Bears 1 6 13 0
5 18 Catablepons 1 8 35 0
6 19 Cave bugs 7 8 0 0
7 20 Cave crawlers 10 8 10 0
8 23 Cave slimes 17 8 15 0
9 25 Cockatrices 25 8 25 20
10 27 Crawling Hands 5 8 0 0
11 67 Lizards 22 8 15 0
12 32 Dogs 1 7 15 0
13 36 Earth warriors 1 6 35 0
14 41 Flesh Crawlers 1 7 15 0
15 44 Ghosts 1 7 13 0
16 45 Ghouls 1 7 25 0
17 51 Hill Giants 1 7 25 0
18 52 Hobgoblins 1 7 20 0
19 55 Ice warriors 1 7 45 0
20 61 Kalphites 1 6 15 0
21 62 Killerwatts 37 6 50 0
22 73 Mogres 32 8 30 0
23 81 Pyrefiends 30 8 25 0
24 85 Rockslugs 20 8 20 0
25 88 Scorpions 1 7 7 0
26 90 Shades 1 8 30 0
27 93 Skeletons 1 7 15 0
28 103 Vampyres 1 6 35 0
29 104 Wall beasts 35 7 30 5
30 107 Wolves 1 7 20 0
31 109 Zombies 1 7 10 0

242
api/mazchna_results.json Normal file
View file

@ -0,0 +1,242 @@
[
{
"id": "6",
"monster": "Banshees",
"slayer_req": "15",
"taskweight": "8",
"combat_req": "20",
"defence_req": "0"
},
{
"id": "8",
"monster": "Bats",
"slayer_req": "1",
"taskweight": "7",
"combat_req": "5",
"defence_req": "0"
},
{
"id": "9",
"monster": "Bears",
"slayer_req": "1",
"taskweight": "6",
"combat_req": "13",
"defence_req": "0"
},
{
"id": "18",
"monster": "Catablepons",
"slayer_req": "1",
"taskweight": "8",
"combat_req": "35",
"defence_req": "0"
},
{
"id": "19",
"monster": "Cave bugs",
"slayer_req": "7",
"taskweight": "8",
"combat_req": "0",
"defence_req": "0"
},
{
"id": "20",
"monster": "Cave crawlers",
"slayer_req": "10",
"taskweight": "8",
"combat_req": "10",
"defence_req": "0"
},
{
"id": "23",
"monster": "Cave slimes",
"slayer_req": "17",
"taskweight": "8",
"combat_req": "15",
"defence_req": "0"
},
{
"id": "25",
"monster": "Cockatrices",
"slayer_req": "25",
"taskweight": "8",
"combat_req": "25",
"defence_req": "20"
},
{
"id": "27",
"monster": "Crawling Hands",
"slayer_req": "5",
"taskweight": "8",
"combat_req": "0",
"defence_req": "0"
},
{
"id": "67",
"monster": "Lizards",
"slayer_req": "22",
"taskweight": "8",
"combat_req": "15",
"defence_req": "0"
},
{
"id": "32",
"monster": "Dogs",
"slayer_req": "1",
"taskweight": "7",
"combat_req": "15",
"defence_req": "0"
},
{
"id": "36",
"monster": "Earth warriors",
"slayer_req": "1",
"taskweight": "6",
"combat_req": "35",
"defence_req": "0"
},
{
"id": "41",
"monster": "Flesh Crawlers",
"slayer_req": "1",
"taskweight": "7",
"combat_req": "15",
"defence_req": "0"
},
{
"id": "44",
"monster": "Ghosts",
"slayer_req": "1",
"taskweight": "7",
"combat_req": "13",
"defence_req": "0"
},
{
"id": "45",
"monster": "Ghouls",
"slayer_req": "1",
"taskweight": "7",
"combat_req": "25",
"defence_req": "0"
},
{
"id": "51",
"monster": "Hill Giants",
"slayer_req": "1",
"taskweight": "7",
"combat_req": "25",
"defence_req": "0"
},
{
"id": "52",
"monster": "Hobgoblins",
"slayer_req": "1",
"taskweight": "7",
"combat_req": "20",
"defence_req": "0"
},
{
"id": "55",
"monster": "Ice warriors",
"slayer_req": "1",
"taskweight": "7",
"combat_req": "45",
"defence_req": "0"
},
{
"id": "61",
"monster": "Kalphites",
"slayer_req": "1",
"taskweight": "6",
"combat_req": "15",
"defence_req": "0"
},
{
"id": "62",
"monster": "Killerwatts",
"slayer_req": "37",
"taskweight": "6",
"combat_req": "50",
"defence_req": "0"
},
{
"id": "73",
"monster": "Mogres",
"slayer_req": "32",
"taskweight": "8",
"combat_req": "30",
"defence_req": "0"
},
{
"id": "81",
"monster": "Pyrefiends",
"slayer_req": "30",
"taskweight": "8",
"combat_req": "25",
"defence_req": "0"
},
{
"id": "85",
"monster": "Rockslugs",
"slayer_req": "20",
"taskweight": "8",
"combat_req": "20",
"defence_req": "0"
},
{
"id": "88",
"monster": "Scorpions",
"slayer_req": "1",
"taskweight": "7",
"combat_req": "7",
"defence_req": "0"
},
{
"id": "90",
"monster": "Shades",
"slayer_req": "1",
"taskweight": "8",
"combat_req": "30",
"defence_req": "0"
},
{
"id": "93",
"monster": "Skeletons",
"slayer_req": "1",
"taskweight": "7",
"combat_req": "15",
"defence_req": "0"
},
{
"id": "103",
"monster": "Vampyres",
"slayer_req": "1",
"taskweight": "6",
"combat_req": "35",
"defence_req": "0"
},
{
"id": "104",
"monster": "Wall beasts",
"slayer_req": "35",
"taskweight": "7",
"combat_req": "30",
"defence_req": "5"
},
{
"id": "107",
"monster": "Wolves",
"slayer_req": "1",
"taskweight": "7",
"combat_req": "20",
"defence_req": "0"
},
{
"id": "109",
"monster": "Zombies",
"slayer_req": "1",
"taskweight": "7",
"combat_req": "10",
"defence_req": "0"
}
]

111
api/monsters.csv Normal file
View file

@ -0,0 +1,111 @@
id,monster,slayer_req,combat_req,defence_req,firemaking_req,agility_req
0,Aberrant spectres,60,65,0,0,0
1,Abyssal demons,85,85,0,0,0
2,Adamant dragons,1,0,0,0,0
3,Ankous,1,40,0,0,0
4,Aviansies,1,0,0,0,0
5,Bandits,1,0,0,0,0
6,Banshees,15,20,0,0,0
7,Basilisks,40,40,20,0,0
8,Bats,1,5,0,0,0
9,Bears,1,13,0,0,0
10,Birds,1,0,0,0,0
11,Black demons,1,80,0,0,0
12,Black dragons,1,80,0,0,0
13,Bloodvelds,50,50,0,0,0
14,Blue dragons,1,65,0,0,0
15,Bosses,1,0,0,0,0
16,Brine rats,47,45,0,0,0
17,Bronze dragons,1,75,0,0,0
18,Catablepons,1,35,0,0,0
19,Cave bugs,7,0,0,0,0
20,Cave crawlers,10,10,0,0,0
21,Cave horrors,58,85,0,0,0
22,Cave krakens,87,80,0,0,0
23,Cave slimes,17,15,0,0,0
24,Chaos druids,1,0,0,0,0
25,Cockatrices,25,25,20,0,0
26,Cows,1,5,0,0,0
27,Crawling Hands,5,0,0,0,0
28,Crocodiles,1,50,0,0,0
29,Dagannoths,1,75,0,0,0
30,Dark beasts,90,90,0,0,0
31,Dark warriors,1,0,0,0,0
32,Dogs,1,15,0,0,0
33,Drakes,84,0,0,0,0
34,Dust devils,65,70,0,0,0
35,Dwarves,1,6,0,0,0
36,Earth warriors,1,35,0,0,15
37,Elves,1,0,0,0,0
38,Ents,1,0,0,0,0
39,Fever spiders,42,40,0,0,0
40,Fire giants,1,65,0,0,0
41,Flesh Crawlers,1,15,0,0,0
42,Fossil Island Wyverns,66,60,0,0,0
43,Gargoyles,75,80,0,0,0
44,Ghosts,1,13,0,0,0
45,Ghouls,1,25,0,0,0
46,Goblins,1,0,0,0,0
47,Greater demons,1,75,0,0,0
48,Green dragons,1,52,0,0,0
49,Harpie Bug Swarms,33,45,0,33,0
50,Hellhounds,1,75,0,0,0
51,Hill Giants,1,25,0,0,0
52,Hobgoblins,1,20,0,0,0
53,Hydras,95,0,0,0,0
54,Ice giants,1,50,0,0,0
55,Ice warriors,1,45,0,0,0
56,Icefiends,1,20,0,0,0
57,Infernal Mages,45,40,0,0,0
58,Iron dragons,1,80,0,0,0
59,Jellies,52,57,0,0,0
60,Jungle horrors,1,65,0,0,0
61,Kalphites,1,15,0,0,0
62,Killerwatts,37,50,0,0,0
63,Kurasks,70,65,0,0,0
64,Lava dragons,1,0,0,0,0
65,Lesser demons,1,60,0,0,0
66,Lizardmen,1,0,0,0,0
67,Lizards,22,15,0,0,0
68,Magic axes,1,0,0,0,0
69,Mammoths,1,0,0,0,0
70,Minions of Scabaras,1,85,0,0,0
71,Minotaurs,1,7,0,0,0
72,Mithril dragons,1,0,0,0,0
73,Mogres,32,30,0,0,0
74,Molanisks,39,50,0,0,0
75,Monkeys,1,0,0,0,0
76,Moss giants,1,40,0,0,0
77,Mutated zygomites,57,60,0,0,0
78,Nechryaels,80,85,0,0,0
79,Ogres,1,40,0,0,0
80,Otherworldly beings,1,40,0,0,0
81,Pyrefiends,30,25,0,0,0
82,Rats,1,0,0,0,0
83,Red dragons,1,68,0,0,0
84,Revenants,1,0,0,0,0
85,Rockslugs,20,20,0,0,0
86,Rogues,1,0,0,0,0
87,Rune dragons,1,0,0,0,0
88,Scorpions,1,7,0,0,0
89,Sea snakes,40,50,0,0,0
90,Shades,1,30,0,0,0
91,Shadow warriors,1,60,0,0,0
92,Skeletal Wyverns,72,70,0,0,0
93,Skeletons,1,15,0,0,0
94,Smoke devils,93,85,0,0,0
95,Spiders,1,0,0,0,0
96,Spiritual creatures,63,60,0,0,0
97,Steel dragons,1,85,0,0,0
98,Suqahs,1,85,0,0,0
99,Terror dogs,40,60,0,0,0
100,Trolls,1,60,0,0,0
101,Turoths,55,60,0,0,0
102,TzHaar,1,0,0,0,0
103,Vampyres,1,35,0,0,0
104,Wall beasts,35,30,5,0,0
105,Waterfiends,1,75,0,0,0
106,Werewolves,1,60,0,0,0
107,Wolves,1,20,0,0,0
108,Wyrms,62,0,0,0,0
109,Zombies,1,10,0,0,0
1 id monster slayer_req combat_req defence_req firemaking_req agility_req
2 0 Aberrant spectres 60 65 0 0 0
3 1 Abyssal demons 85 85 0 0 0
4 2 Adamant dragons 1 0 0 0 0
5 3 Ankous 1 40 0 0 0
6 4 Aviansies 1 0 0 0 0
7 5 Bandits 1 0 0 0 0
8 6 Banshees 15 20 0 0 0
9 7 Basilisks 40 40 20 0 0
10 8 Bats 1 5 0 0 0
11 9 Bears 1 13 0 0 0
12 10 Birds 1 0 0 0 0
13 11 Black demons 1 80 0 0 0
14 12 Black dragons 1 80 0 0 0
15 13 Bloodvelds 50 50 0 0 0
16 14 Blue dragons 1 65 0 0 0
17 15 Bosses 1 0 0 0 0
18 16 Brine rats 47 45 0 0 0
19 17 Bronze dragons 1 75 0 0 0
20 18 Catablepons 1 35 0 0 0
21 19 Cave bugs 7 0 0 0 0
22 20 Cave crawlers 10 10 0 0 0
23 21 Cave horrors 58 85 0 0 0
24 22 Cave krakens 87 80 0 0 0
25 23 Cave slimes 17 15 0 0 0
26 24 Chaos druids 1 0 0 0 0
27 25 Cockatrices 25 25 20 0 0
28 26 Cows 1 5 0 0 0
29 27 Crawling Hands 5 0 0 0 0
30 28 Crocodiles 1 50 0 0 0
31 29 Dagannoths 1 75 0 0 0
32 30 Dark beasts 90 90 0 0 0
33 31 Dark warriors 1 0 0 0 0
34 32 Dogs 1 15 0 0 0
35 33 Drakes 84 0 0 0 0
36 34 Dust devils 65 70 0 0 0
37 35 Dwarves 1 6 0 0 0
38 36 Earth warriors 1 35 0 0 15
39 37 Elves 1 0 0 0 0
40 38 Ents 1 0 0 0 0
41 39 Fever spiders 42 40 0 0 0
42 40 Fire giants 1 65 0 0 0
43 41 Flesh Crawlers 1 15 0 0 0
44 42 Fossil Island Wyverns 66 60 0 0 0
45 43 Gargoyles 75 80 0 0 0
46 44 Ghosts 1 13 0 0 0
47 45 Ghouls 1 25 0 0 0
48 46 Goblins 1 0 0 0 0
49 47 Greater demons 1 75 0 0 0
50 48 Green dragons 1 52 0 0 0
51 49 Harpie Bug Swarms 33 45 0 33 0
52 50 Hellhounds 1 75 0 0 0
53 51 Hill Giants 1 25 0 0 0
54 52 Hobgoblins 1 20 0 0 0
55 53 Hydras 95 0 0 0 0
56 54 Ice giants 1 50 0 0 0
57 55 Ice warriors 1 45 0 0 0
58 56 Icefiends 1 20 0 0 0
59 57 Infernal Mages 45 40 0 0 0
60 58 Iron dragons 1 80 0 0 0
61 59 Jellies 52 57 0 0 0
62 60 Jungle horrors 1 65 0 0 0
63 61 Kalphites 1 15 0 0 0
64 62 Killerwatts 37 50 0 0 0
65 63 Kurasks 70 65 0 0 0
66 64 Lava dragons 1 0 0 0 0
67 65 Lesser demons 1 60 0 0 0
68 66 Lizardmen 1 0 0 0 0
69 67 Lizards 22 15 0 0 0
70 68 Magic axes 1 0 0 0 0
71 69 Mammoths 1 0 0 0 0
72 70 Minions of Scabaras 1 85 0 0 0
73 71 Minotaurs 1 7 0 0 0
74 72 Mithril dragons 1 0 0 0 0
75 73 Mogres 32 30 0 0 0
76 74 Molanisks 39 50 0 0 0
77 75 Monkeys 1 0 0 0 0
78 76 Moss giants 1 40 0 0 0
79 77 Mutated zygomites 57 60 0 0 0
80 78 Nechryaels 80 85 0 0 0
81 79 Ogres 1 40 0 0 0
82 80 Otherworldly beings 1 40 0 0 0
83 81 Pyrefiends 30 25 0 0 0
84 82 Rats 1 0 0 0 0
85 83 Red dragons 1 68 0 0 0
86 84 Revenants 1 0 0 0 0
87 85 Rockslugs 20 20 0 0 0
88 86 Rogues 1 0 0 0 0
89 87 Rune dragons 1 0 0 0 0
90 88 Scorpions 1 7 0 0 0
91 89 Sea snakes 40 50 0 0 0
92 90 Shades 1 30 0 0 0
93 91 Shadow warriors 1 60 0 0 0
94 92 Skeletal Wyverns 72 70 0 0 0
95 93 Skeletons 1 15 0 0 0
96 94 Smoke devils 93 85 0 0 0
97 95 Spiders 1 0 0 0 0
98 96 Spiritual creatures 63 60 0 0 0
99 97 Steel dragons 1 85 0 0 0
100 98 Suqahs 1 85 0 0 0
101 99 Terror dogs 40 60 0 0 0
102 100 Trolls 1 60 0 0 0
103 101 Turoths 55 60 0 0 0
104 102 TzHaar 1 0 0 0 0
105 103 Vampyres 1 35 0 0 0
106 104 Wall beasts 35 30 5 0 0
107 105 Waterfiends 1 75 0 0 0
108 106 Werewolves 1 60 0 0 0
109 107 Wolves 1 20 0 0 0
110 108 Wyrms 62 0 0 0 0
111 109 Zombies 1 10 0 0 0

View file

@ -1,662 +1,772 @@
[
{
"id": 0,
"monster": "Aberrant spectres",
"slayer_req": 60,
"combat_req": 65,
"defence_req": 0
},
{
"id": 1,
"monster": "Abyssal demons",
"slayer_req": 85,
"combat_req": 85,
"defence_req": 0
},
{
"id": 2,
"monster": "Adamant dragons",
"slayer_req": 1,
"combat_req": 0,
"defence_req": 0
},
{
"id": 3,
"monster": "Ankous",
"slayer_req": 1,
"combat_req": 40,
"defence_req": 0
},
{
"id": 4,
"monster": "Aviansies",
"slayer_req": 1,
"combat_req": 0,
"defence_req": 0
},
{
"id": 5,
"monster": "Bandits",
"slayer_req": 1,
"combat_req": 0,
"defence_req": 0
},
{
"id": 6,
"monster": "Banshees",
"slayer_req": 15,
"combat_req": 20,
"defence_req": 0
},
{
"id": 7,
"monster": "Basilisks",
"slayer_req": 40,
"combat_req": 40,
"defence_req": 20
},
{
"id": 8,
"monster": "Bats",
"slayer_req": 1,
"combat_req": 5,
"defence_req": 0
},
{
"id": 9,
"monster": "Bears",
"slayer_req": 1,
"combat_req": 13,
"defence_req": 0
},
{
"id": 10,
"monster": "Birds",
"slayer_req": 1,
"combat_req": 0,
"defence_req": 0
},
{
"id": 11,
"monster": "Black demons",
"slayer_req": 1,
"combat_req": 80,
"defence_req": 0
},
{
"id": 12,
"monster": "Black dragons",
"slayer_req": 1,
"combat_req": 80,
"defence_req": 0
},
{
"id": 13,
"monster": "Bloodvelds",
"slayer_req": 50,
"combat_req": 50,
"defence_req": 0
},
{
"id": 14,
"monster": "Blue dragons",
"slayer_req": 1,
"combat_req": 65,
"defence_req": 0
},
{
"id": 15,
"monster": "Bosses",
"slayer_req": 1,
"combat_req": 0,
"defence_req": 0
},
{
"id": 16,
"monster": "Brine rats",
"slayer_req": 47,
"combat_req": 45,
"defence_req": 0
},
{
"id": 17,
"monster": "Bronze dragons",
"slayer_req": 1,
"combat_req": 75,
"defence_req": 0
},
{
"id": 18,
"monster": "Catablepons",
"slayer_req": 1,
"combat_req": 35,
"defence_req": 0
},
{
"id": 19,
"monster": "Cave bugs",
"slayer_req": 7,
"combat_req": 0,
"defence_req": 0
},
{
"id": 20,
"monster": "Cave crawlers",
"slayer_req": 10,
"combat_req": 10,
"defence_req": 0
},
{
"id": 21,
"monster": "Cave horrors",
"slayer_req": 58,
"combat_req": 85,
"defence_req": 0
},
{
"id": 22,
"monster": "Cave krakens",
"slayer_req": 87,
"combat_req": 80,
"defence_req": 0
},
{
"id": 23,
"monster": "Cave slimes",
"slayer_req": 17,
"combat_req": 15,
"defence_req": 0
},
{
"id": 24,
"monster": "Chaos druids",
"slayer_req": 1,
"combat_req": 0,
"defence_req": 0
},
{
"id": 25,
"monster": "Cockatrices",
"slayer_req": 25,
"combat_req": 25,
"defence_req": 20
},
{
"id": 26,
"monster": "Cows",
"slayer_req": 1,
"combat_req": 5,
"defence_req": 0
},
{
"id": 27,
"monster": "Crawling Hands",
"slayer_req": 5,
"combat_req": 0,
"defence_req": 0
},
{
"id": 28,
"monster": "Crocodiles",
"slayer_req": 1,
"combat_req": 50,
"defence_req": 0
},
{
"id": 29,
"monster": "Dagannoths",
"slayer_req": 1,
"combat_req": 75,
"defence_req": 0
},
{
"id": 30,
"monster": "Dark beasts",
"slayer_req": 90,
"combat_req": 90,
"defence_req": 0
},
{
"id": 31,
"monster": "Dark warriors",
"slayer_req": 1,
"combat_req": 0,
"defence_req": 0
},
{
"id": 32,
"monster": "Dogs",
"slayer_req": 1,
"combat_req": 15,
"defence_req": 0
},
{
"id": 33,
"monster": "Drakes",
"slayer_req": 84,
"combat_req": 0,
"defence_req": 0
},
{
"id": 34,
"monster": "Dust devils",
"slayer_req": 65,
"combat_req": 70,
"defence_req": 0
},
{
"id": 35,
"monster": "Dwarves",
"slayer_req": 1,
"combat_req": 6,
"defence_req": 0
},
{
"id": 36,
"monster": "Earth warriors",
"slayer_req": 1,
"combat_req": 35,
"defence_req": 0
},
{
"id": 37,
"monster": "Elves",
"slayer_req": 1,
"combat_req": 0,
"defence_req": 0
},
{
"id": 38,
"monster": "Ents",
"slayer_req": 1,
"combat_req": 0,
"defence_req": 0
},
{
"id": 39,
"monster": "Fever spiders",
"slayer_req": 42,
"combat_req": 40,
"defence_req": 0
},
{
"id": 40,
"monster": "Fire giants",
"slayer_req": 1,
"combat_req": 65,
"defence_req": 0
},
{
"id": 41,
"monster": "Flesh Crawlers",
"slayer_req": 1,
"combat_req": 15,
"defence_req": 0
},
{
"id": 42,
"monster": "Fossil Island Wyverns",
"slayer_req": 66,
"combat_req": 60,
"defence_req": 0
},
{
"id": 43,
"monster": "Gargoyles",
"slayer_req": 75,
"combat_req": 80,
"defence_req": 0
},
{
"id": 44,
"monster": "Ghosts",
"slayer_req": 1,
"combat_req": 13,
"defence_req": 0
},
{
"id": 45,
"monster": "Ghouls",
"slayer_req": 1,
"combat_req": 25,
"defence_req": 0
},
{
"id": 46,
"monster": "Goblins",
"slayer_req": 1,
"combat_req": 0,
"defence_req": 0
},
{
"id": 47,
"monster": "Greater demons",
"slayer_req": 1,
"combat_req": 75,
"defence_req": 0
},
{
"id": 48,
"monster": "Green dragons",
"slayer_req": 1,
"combat_req": 52,
"defence_req": 0
},
{
"id": 49,
"monster": "Harpie Bug Swarms",
"slayer_req": 33,
"combat_req": 45,
"defence_req": 0
},
{
"id": 50,
"monster": "Hellhounds",
"slayer_req": 1,
"combat_req": 75,
"defence_req": 0
},
{
"id": 51,
"monster": "Hill Giants",
"slayer_req": 1,
"combat_req": 25,
"defence_req": 0
},
{
"id": 52,
"monster": "Hobgoblins",
"slayer_req": 1,
"combat_req": 20,
"defence_req": 0
},
{
"id": 53,
"monster": "Hydras",
"slayer_req": 95,
"combat_req": 0,
"defence_req": 0
},
{
"id": 54,
"monster": "Ice giants",
"slayer_req": 1,
"combat_req": 50,
"defence_req": 0
},
{
"id": 55,
"monster": "Ice warriors",
"slayer_req": 1,
"combat_req": 45,
"defence_req": 0
},
{
"id": 56,
"monster": "Icefiends",
"slayer_req": 1,
"combat_req": 20,
"defence_req": 0
},
{
"id": 57,
"monster": "Infernal Mages",
"slayer_req": 45,
"combat_req": 40,
"defence_req": 0
},
{
"id": 58,
"monster": "Iron dragons",
"slayer_req": 1,
"combat_req": 80,
"defence_req": 0
},
{
"id": 59,
"monster": "Jellies",
"slayer_req": 52,
"combat_req": 57,
"defence_req": 0
},
{
"id": 60,
"monster": "Jungle horrors",
"slayer_req": 1,
"combat_req": 65,
"defence_req": 0
},
{
"id": 61,
"monster": "Kalphites",
"slayer_req": 1,
"combat_req": 15,
"defence_req": 0
},
{
"id": 62,
"monster": "Killerwatts",
"slayer_req": 37,
"combat_req": 50,
"defence_req": 0
},
{
"id": 63,
"monster": "Kurasks",
"slayer_req": 70,
"combat_req": 65,
"defence_req": 0
},
{
"id": 64,
"monster": "Lava dragons",
"slayer_req": 1,
"combat_req": 0,
"defence_req": 0
},
{
"id": 65,
"monster": "Lesser demons",
"slayer_req": 1,
"combat_req": 60,
"defence_req": 0
},
{
"id": 66,
"monster": "Lizardmen",
"slayer_req": 1,
"combat_req": 0,
"defence_req": 0
},
{
"id": 67,
"monster": "Lizards",
"slayer_req": 22,
"combat_req": 15,
"defence_req": 0
},
{
"id": 68,
"monster": "Magic axes",
"slayer_req": 1,
"combat_req": 0,
"defence_req": 0
},
{
"id": 69,
"monster": "Mammoths",
"slayer_req": 1,
"combat_req": 0,
"defence_req": 0
},
{
"id": 70,
"monster": "Minions of Scabaras",
"slayer_req": 1,
"combat_req": 85,
"defence_req": 0
},
{
"id": 71,
"monster": "Minotaurs",
"slayer_req": 1,
"combat_req": 7,
"defence_req": 0
},
{
"id": 72,
"monster": "Mithril dragons",
"slayer_req": 1,
"combat_req": 0,
"defence_req": 0
},
{
"id": 73,
"monster": "Mogres",
"slayer_req": 32,
"combat_req": 30,
"defence_req": 0
},
{
"id": 74,
"monster": "Molanisks",
"slayer_req": 39,
"combat_req": 50,
"defence_req": 0
},
{
"id": 75,
"monster": "Monkeys",
"slayer_req": 1,
"combat_req": 0,
"defence_req": 0
},
{
"id": 76,
"monster": "Moss giants",
"slayer_req": 1,
"combat_req": 40,
"defence_req": 0
},
{
"id": 77,
"monster": "Mutated zygomites",
"slayer_req": 57,
"combat_req": 60,
"defence_req": 0
},
{
"id": 78,
"monster": "Nechryaels",
"slayer_req": 80,
"combat_req": 85,
"defence_req": 0
},
{
"id": 79,
"monster": "Ogres",
"slayer_req": 1,
"combat_req": 40,
"defence_req": 0
},
{
"id": 80,
"monster": "Otherworldly beings",
"slayer_req": 1,
"combat_req": 40,
"defence_req": 0
},
{
"id": 81,
"monster": "Pyrefiends",
"slayer_req": 30,
"combat_req": 25,
"defence_req": 0
},
{
"id": 82,
"monster": "Rats",
"slayer_req": 1,
"combat_req": 0,
"defence_req": 0
},
{
"id": 83,
"monster": "Red dragons",
"slayer_req": 1,
"combat_req": 68,
"defence_req": 0
},
{
"id": 84,
"monster": "Revenants",
"slayer_req": 1,
"combat_req": 0,
"defence_req": 0
},
{
"id": 85,
"monster": "Rockslugs",
"slayer_req": 20,
"combat_req": 20,
"defence_req": 0
},
{
"id": 86,
"monster": "Rogues",
"slayer_req": 1,
"combat_req": 0,
"defence_req": 0
},
{
"id": 87,
"monster": "Rune dragons",
"slayer_req": 1,
"combat_req": 0,
"defence_req": 0
},
{
"id": 88,
"monster": "Scorpions",
"slayer_req": 1,
"combat_req": 7,
"defence_req": 0
},
{
"id": 89,
"monster": "Sea snakes",
"slayer_req": 40,
"combat_req": 50,
"defence_req": 0
},
{
"id": 90,
"monster": "Shades",
"slayer_req": 1,
"combat_req": 30,
"defence_req": 0
},
{
"id": 91,
"monster": "Shadow warriors",
"slayer_req": 1,
"combat_req": 60,
"defence_req": 0
},
{
"id": 92,
"monster": "Skeletal Wyverns",
"slayer_req": 72,
"combat_req": 70,
"defence_req": 0
},
{
"id": 93,
"monster": "Skeletons",
"slayer_req": 1,
"combat_req": 15,
"defence_req": 0
},
{
"id": 94,
"monster": "Smoke devils",
"slayer_req": 93,
"combat_req": 85,
"defence_req": 0
},
{
"id": 95,
"monster": "Spiders",
"slayer_req": 1,
"combat_req": 0,
"defence_req": 0
},
{
"id": 96,
"monster": "Spiritual creatures",
"slayer_req": 63,
"combat_req": 60,
"defence_req": 0
},
{
"id": 97,
"monster": "Steel dragons",
"slayer_req": 1,
"combat_req": 85,
"defence_req": 0
},
{
"id": 98,
"monster": "Suqahs",
"slayer_req": 1,
"combat_req": 85,
"defence_req": 0
},
{
"id": 99,
"monster": "Terror dogs",
"slayer_req": 40,
"combat_req": 60,
"defence_req": 0
},
{
"id": 100,
"monster": "Trolls",
"slayer_req": 1,
"combat_req": 60,
"defence_req": 0
},
{
"id": 101,
"monster": "Turoths",
"slayer_req": 55,
"combat_req": 60,
"defence_req": 0
},
{
"id": 102,
"monster": "TzHaar",
"slayer_req": 1,
"combat_req": 0,
"defence_req": 0
},
{
"id": 103,
"monster": "Vampyres",
"slayer_req": 1,
"combat_req": 35,
"defence_req": 0
},
{
"id": 104,
"monster": "Wall beasts",
"slayer_req": 35,
"combat_req": 30,
"defence_req": 5
},
{
"id": 105,
"monster": "Waterfiends",
"slayer_req": 1,
"combat_req": 75,
"defence_req": 0
},
{
"id": 106,
"monster": "Werewolves",
"slayer_req": 1,
"combat_req": 60,
"defence_req": 0
},
{
"id": 107,
"monster": "Wolves",
"slayer_req": 1,
"combat_req": 20,
"defence_req": 0
},
{
"id": 108,
"monster": "Wyrms",
"slayer_req": 62,
"combat_req": 0,
"defence_req": 0
},
{
"id": 109,
"monster": "Zombies",
"slayer_req": 1,
"combat_req": 10,
"defence_req": 0
}
]
]

42
api/nieve_results.csv Normal file
View file

@ -0,0 +1,42 @@
id,monster,slayer_req,taskweight,combat_req,defence_req
0,Aberrant spectres,60,6,65,0
1,Abyssal demons,85,9,85,0
2,Adamant dragons,1,2,0,0
3,Ankous,1,5,40,0
4,Aviansies,1,6,0,0
11,Black demons,1,9,80,0
12,Black dragons,1,6,80,0
13,Bloodvelds,50,9,50,0
14,Blue dragons,1,4,65,0
15,Bosses,1,8,0,0
16,Brine rats,47,3,45,0
21,Cave horrors,58,5,85,0
22,Cave krakens,87,6,80,0
29,Dagannoths,1,8,75,0
30,Dark beasts,90,5,90,0
33,Drakes,84,7,0,0
34,Dust devils,65,6,70,0
37,Elves,1,4,0,0
40,Fire giants,1,9,65,0
42,Fossil Island Wyverns,66,5,60,0
43,Gargoyles,75,6,80,0
47,Greater demons,1,7,75,0
50,Hellhounds,1,8,75,0
58,Iron dragons,1,5,80,0
61,Kalphites,1,9,15,0
63,Kurasks,70,3,65,0
66,Lizardmen,1,8,0,0
70,Minions of Scabaras,1,4,85,0
72,Mithril dragons,1,5,0,0
78,Nechryaels,80,7,85,0
83,Red dragons,1,5,68,0
87,Rune dragons,1,2,0,0
92,Skeletal Wyverns,72,5,70,0
94,Smoke devils,93,7,85,0
96,Spiritual creatures,63,6,60,0
97,Steel dragons,1,5,85,0
98,Suqahs,1,8,85,0
100,Trolls,1,6,60,0
101,Turoths,55,3,60,0
102,TzHaar,1,10,0,0
108,Wyrms,62,7,0,0
1 id monster slayer_req taskweight combat_req defence_req
2 0 Aberrant spectres 60 6 65 0
3 1 Abyssal demons 85 9 85 0
4 2 Adamant dragons 1 2 0 0
5 3 Ankous 1 5 40 0
6 4 Aviansies 1 6 0 0
7 11 Black demons 1 9 80 0
8 12 Black dragons 1 6 80 0
9 13 Bloodvelds 50 9 50 0
10 14 Blue dragons 1 4 65 0
11 15 Bosses 1 8 0 0
12 16 Brine rats 47 3 45 0
13 21 Cave horrors 58 5 85 0
14 22 Cave krakens 87 6 80 0
15 29 Dagannoths 1 8 75 0
16 30 Dark beasts 90 5 90 0
17 33 Drakes 84 7 0 0
18 34 Dust devils 65 6 70 0
19 37 Elves 1 4 0 0
20 40 Fire giants 1 9 65 0
21 42 Fossil Island Wyverns 66 5 60 0
22 43 Gargoyles 75 6 80 0
23 47 Greater demons 1 7 75 0
24 50 Hellhounds 1 8 75 0
25 58 Iron dragons 1 5 80 0
26 61 Kalphites 1 9 15 0
27 63 Kurasks 70 3 65 0
28 66 Lizardmen 1 8 0 0
29 70 Minions of Scabaras 1 4 85 0
30 72 Mithril dragons 1 5 0 0
31 78 Nechryaels 80 7 85 0
32 83 Red dragons 1 5 68 0
33 87 Rune dragons 1 2 0 0
34 92 Skeletal Wyverns 72 5 70 0
35 94 Smoke devils 93 7 85 0
36 96 Spiritual creatures 63 6 60 0
37 97 Steel dragons 1 5 85 0
38 98 Suqahs 1 8 85 0
39 100 Trolls 1 6 60 0
40 101 Turoths 55 3 60 0
41 102 TzHaar 1 10 0 0
42 108 Wyrms 62 7 0 0

330
api/nieve_results.json Normal file
View file

@ -0,0 +1,330 @@
[
{
"id": "0",
"monster": "Aberrant spectres",
"slayer_req": "60",
"taskweight": "6",
"combat_req": "65",
"defence_req": "0"
},
{
"id": "1",
"monster": "Abyssal demons",
"slayer_req": "85",
"taskweight": "9",
"combat_req": "85",
"defence_req": "0"
},
{
"id": "2",
"monster": "Adamant dragons",
"slayer_req": "1",
"taskweight": "2",
"combat_req": "0",
"defence_req": "0"
},
{
"id": "3",
"monster": "Ankous",
"slayer_req": "1",
"taskweight": "5",
"combat_req": "40",
"defence_req": "0"
},
{
"id": "4",
"monster": "Aviansies",
"slayer_req": "1",
"taskweight": "6",
"combat_req": "0",
"defence_req": "0"
},
{
"id": "11",
"monster": "Black demons",
"slayer_req": "1",
"taskweight": "9",
"combat_req": "80",
"defence_req": "0"
},
{
"id": "12",
"monster": "Black dragons",
"slayer_req": "1",
"taskweight": "6",
"combat_req": "80",
"defence_req": "0"
},
{
"id": "13",
"monster": "Bloodvelds",
"slayer_req": "50",
"taskweight": "9",
"combat_req": "50",
"defence_req": "0"
},
{
"id": "14",
"monster": "Blue dragons",
"slayer_req": "1",
"taskweight": "4",
"combat_req": "65",
"defence_req": "0"
},
{
"id": "15",
"monster": "Bosses",
"slayer_req": "1",
"taskweight": "8",
"combat_req": "0",
"defence_req": "0"
},
{
"id": "16",
"monster": "Brine rats",
"slayer_req": "47",
"taskweight": "3",
"combat_req": "45",
"defence_req": "0"
},
{
"id": "21",
"monster": "Cave horrors",
"slayer_req": "58",
"taskweight": "5",
"combat_req": "85",
"defence_req": "0"
},
{
"id": "22",
"monster": "Cave krakens",
"slayer_req": "87",
"taskweight": "6",
"combat_req": "80",
"defence_req": "0"
},
{
"id": "29",
"monster": "Dagannoths",
"slayer_req": "1",
"taskweight": "8",
"combat_req": "75",
"defence_req": "0"
},
{
"id": "30",
"monster": "Dark beasts",
"slayer_req": "90",
"taskweight": "5",
"combat_req": "90",
"defence_req": "0"
},
{
"id": "33",
"monster": "Drakes",
"slayer_req": "84",
"taskweight": "7",
"combat_req": "0",
"defence_req": "0"
},
{
"id": "34",
"monster": "Dust devils",
"slayer_req": "65",
"taskweight": "6",
"combat_req": "70",
"defence_req": "0"
},
{
"id": "37",
"monster": "Elves",
"slayer_req": "1",
"taskweight": "4",
"combat_req": "0",
"defence_req": "0"
},
{
"id": "40",
"monster": "Fire giants",
"slayer_req": "1",
"taskweight": "9",
"combat_req": "65",
"defence_req": "0"
},
{
"id": "42",
"monster": "Fossil Island Wyverns",
"slayer_req": "66",
"taskweight": "5",
"combat_req": "60",
"defence_req": "0"
},
{
"id": "43",
"monster": "Gargoyles",
"slayer_req": "75",
"taskweight": "6",
"combat_req": "80",
"defence_req": "0"
},
{
"id": "47",
"monster": "Greater demons",
"slayer_req": "1",
"taskweight": "7",
"combat_req": "75",
"defence_req": "0"
},
{
"id": "50",
"monster": "Hellhounds",
"slayer_req": "1",
"taskweight": "8",
"combat_req": "75",
"defence_req": "0"
},
{
"id": "58",
"monster": "Iron dragons",
"slayer_req": "1",
"taskweight": "5",
"combat_req": "80",
"defence_req": "0"
},
{
"id": "61",
"monster": "Kalphites",
"slayer_req": "1",
"taskweight": "9",
"combat_req": "15",
"defence_req": "0"
},
{
"id": "63",
"monster": "Kurasks",
"slayer_req": "70",
"taskweight": "3",
"combat_req": "65",
"defence_req": "0"
},
{
"id": "66",
"monster": "Lizardmen",
"slayer_req": "1",
"taskweight": "8",
"combat_req": "0",
"defence_req": "0"
},
{
"id": "70",
"monster": "Minions of Scabaras",
"slayer_req": "1",
"taskweight": "4",
"combat_req": "85",
"defence_req": "0"
},
{
"id": "72",
"monster": "Mithril dragons",
"slayer_req": "1",
"taskweight": "5",
"combat_req": "0",
"defence_req": "0"
},
{
"id": "78",
"monster": "Nechryaels",
"slayer_req": "80",
"taskweight": "7",
"combat_req": "85",
"defence_req": "0"
},
{
"id": "83",
"monster": "Red dragons",
"slayer_req": "1",
"taskweight": "5",
"combat_req": "68",
"defence_req": "0"
},
{
"id": "87",
"monster": "Rune dragons",
"slayer_req": "1",
"taskweight": "2",
"combat_req": "0",
"defence_req": "0"
},
{
"id": "92",
"monster": "Skeletal Wyverns",
"slayer_req": "72",
"taskweight": "5",
"combat_req": "70",
"defence_req": "0"
},
{
"id": "94",
"monster": "Smoke devils",
"slayer_req": "93",
"taskweight": "7",
"combat_req": "85",
"defence_req": "0"
},
{
"id": "96",
"monster": "Spiritual creatures",
"slayer_req": "63",
"taskweight": "6",
"combat_req": "60",
"defence_req": "0"
},
{
"id": "97",
"monster": "Steel dragons",
"slayer_req": "1",
"taskweight": "5",
"combat_req": "85",
"defence_req": "0"
},
{
"id": "98",
"monster": "Suqahs",
"slayer_req": "1",
"taskweight": "8",
"combat_req": "85",
"defence_req": "0"
},
{
"id": "100",
"monster": "Trolls",
"slayer_req": "1",
"taskweight": "6",
"combat_req": "60",
"defence_req": "0"
},
{
"id": "101",
"monster": "Turoths",
"slayer_req": "55",
"taskweight": "3",
"combat_req": "60",
"defence_req": "0"
},
{
"id": "102",
"monster": "TzHaar",
"slayer_req": "1",
"taskweight": "10",
"combat_req": "0",
"defence_req": "0"
},
{
"id": "108",
"monster": "Wyrms",
"slayer_req": "62",
"taskweight": "7",
"combat_req": "0",
"defence_req": "0"
}
]

78
api/query_csv.py Normal file
View file

@ -0,0 +1,78 @@
import csv
import json
from collections import OrderedDict
MASTERS_JSON = 'masters.json'
MASTERS_KEY = 'masters'
MONSTERS_CSV = 'monsters.csv'
RESULT_SUFFIX = '_results'
NEW_COLUMN = 'id'
JOIN_INDEX = 0
def loop_over_masters():
masters_file = open(MASTERS_JSON)
data = json.load(masters_file)[MASTERS_KEY]
masters_file.close()
for (key, value) in data.items():
current_master = str(value['name'].lower())
write_results(current_master)
generate_json(current_master)
replace_masters()
def write_results(current_master):
with open(MONSTERS_CSV, 'r') as monsters:
master_indices = dict((r[1], i) for i, r in enumerate(csv.reader(monsters)))
with open(current_master + '.csv', 'r') as master:
with open(current_master + RESULT_SUFFIX + '.csv', 'w') as results:
reader = csv.reader(master)
writer = csv.writer(results)
# New column with old header
writer.writerow([NEW_COLUMN] + next(reader, []))
for row in reader:
# row is found in slayer master AND monsters
index = master_indices.get(row[JOIN_INDEX])
if index is not None:
# Row with value for id and slayer_weight:
# 0,12\n
writer.writerow([index - 1] + row)
def generate_json(file_name):
data = []
with open(file_name + RESULT_SUFFIX + '.csv', 'r') as csv_file:
csv_reader = csv.DictReader(csv_file)
for rows in csv_reader:
id = rows['id']
data.append(rows)
with open(file_name + RESULT_SUFFIX + '.json', 'w') as json_file:
json_file.write(json.dumps(data, indent=4))
return json_file
def replace_masters():
masters_file = open(MASTERS_JSON)
master_data = json.load(masters_file)[MASTERS_KEY]
masters_file.close()
for item in master_data.items():
cur_master_file = open(item[1]['name'].lower()+'_results.json')
cur_data = json.load(cur_master_file)
cur_master_file.close()
item[1]['assignments'] = cur_data
with open(MASTERS_JSON + '_new' + '.json', 'w') as json_file:
json_file.write(json.dumps(master_data, indent=4))
if __name__ == "__main__":
loop_over_masters()

25
api/turael_results.csv Normal file
View file

@ -0,0 +1,25 @@
id,monster,slayer_req,taskweight,combat_req,defence_req
6,Banshees,15,8,20,0
8,Bats,1,7,5,0
10,Birds,1,6,0,0
9,Bears,1,7,13,0
19,Cave bugs,7,8,0,0
20,Cave crawlers,10,8,10,0
23,Cave slimes,17,8,15,0
26,Cows,1,8,5,0
27,Crawling Hands,5,8,0,0
32,Dogs,1,7,15,0
35,Dwarves,1,7,6,0
44,Ghosts,1,7,13,0
46,Goblins,1,7,0,0
56,Icefiends,1,8,20,0
61,Kalphites,1,6,15,0
67,Lizards,22,8,15,0
71,Minotaurs,1,7,7,0
75,Monkeys,1,6,0,0
82,Rats,1,7,0,0
88,Scorpions,1,7,7,0
93,Skeletons,1,7,15,0
95,Spiders,1,6,0,0
107,Wolves,1,7,20,0
109,Zombies,1,7,10,0
1 id monster slayer_req taskweight combat_req defence_req
2 6 Banshees 15 8 20 0
3 8 Bats 1 7 5 0
4 10 Birds 1 6 0 0
5 9 Bears 1 7 13 0
6 19 Cave bugs 7 8 0 0
7 20 Cave crawlers 10 8 10 0
8 23 Cave slimes 17 8 15 0
9 26 Cows 1 8 5 0
10 27 Crawling Hands 5 8 0 0
11 32 Dogs 1 7 15 0
12 35 Dwarves 1 7 6 0
13 44 Ghosts 1 7 13 0
14 46 Goblins 1 7 0 0
15 56 Icefiends 1 8 20 0
16 61 Kalphites 1 6 15 0
17 67 Lizards 22 8 15 0
18 71 Minotaurs 1 7 7 0
19 75 Monkeys 1 6 0 0
20 82 Rats 1 7 0 0
21 88 Scorpions 1 7 7 0
22 93 Skeletons 1 7 15 0
23 95 Spiders 1 6 0 0
24 107 Wolves 1 7 20 0
25 109 Zombies 1 7 10 0

194
api/turael_results.json Normal file
View file

@ -0,0 +1,194 @@
[
{
"id": "6",
"monster": "Banshees",
"slayer_req": "15",
"taskweight": "8",
"combat_req": "20",
"defence_req": "0"
},
{
"id": "8",
"monster": "Bats",
"slayer_req": "1",
"taskweight": "7",
"combat_req": "5",
"defence_req": "0"
},
{
"id": "10",
"monster": "Birds",
"slayer_req": "1",
"taskweight": "6",
"combat_req": "0",
"defence_req": "0"
},
{
"id": "9",
"monster": "Bears",
"slayer_req": "1",
"taskweight": "7",
"combat_req": "13",
"defence_req": "0"
},
{
"id": "19",
"monster": "Cave bugs",
"slayer_req": "7",
"taskweight": "8",
"combat_req": "0",
"defence_req": "0"
},
{
"id": "20",
"monster": "Cave crawlers",
"slayer_req": "10",
"taskweight": "8",
"combat_req": "10",
"defence_req": "0"
},
{
"id": "23",
"monster": "Cave slimes",
"slayer_req": "17",
"taskweight": "8",
"combat_req": "15",
"defence_req": "0"
},
{
"id": "26",
"monster": "Cows",
"slayer_req": "1",
"taskweight": "8",
"combat_req": "5",
"defence_req": "0"
},
{
"id": "27",
"monster": "Crawling Hands",
"slayer_req": "5",
"taskweight": "8",
"combat_req": "0",
"defence_req": "0"
},
{
"id": "32",
"monster": "Dogs",
"slayer_req": "1",
"taskweight": "7",
"combat_req": "15",
"defence_req": "0"
},
{
"id": "35",
"monster": "Dwarves",
"slayer_req": "1",
"taskweight": "7",
"combat_req": "6",
"defence_req": "0"
},
{
"id": "44",
"monster": "Ghosts",
"slayer_req": "1",
"taskweight": "7",
"combat_req": "13",
"defence_req": "0"
},
{
"id": "46",
"monster": "Goblins",
"slayer_req": "1",
"taskweight": "7",
"combat_req": "0",
"defence_req": "0"
},
{
"id": "56",
"monster": "Icefiends",
"slayer_req": "1",
"taskweight": "8",
"combat_req": "20",
"defence_req": "0"
},
{
"id": "61",
"monster": "Kalphites",
"slayer_req": "1",
"taskweight": "6",
"combat_req": "15",
"defence_req": "0"
},
{
"id": "67",
"monster": "Lizards",
"slayer_req": "22",
"taskweight": "8",
"combat_req": "15",
"defence_req": "0"
},
{
"id": "71",
"monster": "Minotaurs",
"slayer_req": "1",
"taskweight": "7",
"combat_req": "7",
"defence_req": "0"
},
{
"id": "75",
"monster": "Monkeys",
"slayer_req": "1",
"taskweight": "6",
"combat_req": "0",
"defence_req": "0"
},
{
"id": "82",
"monster": "Rats",
"slayer_req": "1",
"taskweight": "7",
"combat_req": "0",
"defence_req": "0"
},
{
"id": "88",
"monster": "Scorpions",
"slayer_req": "1",
"taskweight": "7",
"combat_req": "7",
"defence_req": "0"
},
{
"id": "93",
"monster": "Skeletons",
"slayer_req": "1",
"taskweight": "7",
"combat_req": "15",
"defence_req": "0"
},
{
"id": "95",
"monster": "Spiders",
"slayer_req": "1",
"taskweight": "6",
"combat_req": "0",
"defence_req": "0"
},
{
"id": "107",
"monster": "Wolves",
"slayer_req": "1",
"taskweight": "7",
"combat_req": "20",
"defence_req": "0"
},
{
"id": "109",
"monster": "Zombies",
"slayer_req": "1",
"taskweight": "7",
"combat_req": "10",
"defence_req": "0"
}
]

57
api/vannaka_results.csv Normal file
View file

@ -0,0 +1,57 @@
id,monster,slayer_req,taskweight,combat_req,defence_req
0,Aberrant spectres,60,8,65,0
1,Abyssal demons,85,5,85,0
3,Ankous,1,7,40,0
6,Banshees,15,6,20,0
7,Basilisks,40,8,40,0
13,Bloodvelds,50,8,50,0
14,Blue dragons,1,7,65,0
16,Brine rats,47,7,45,0
17,Bronze dragons,1,7,75,0
19,Cave bugs,7,7,0,0
20,Cave crawlers,10,7,10,0
23,Cave slimes,17,7,15,0
25,Cockatrices,25,8,25,20
27,Crawling Hands,5,6,0,0
28,Crocodiles,1,6,50,0
29,Dagannoths,1,7,75,0
67,Lizards,22,7,15,0
34,Dust devils,65,8,70,0
36,Earth warriors,1,6,35,0
37,Elves,1,7,0,0
39,Fever spiders,42,7,40,0
40,Fire giants,1,7,65,0
43,Gargoyles,75,5,80,0
45,Ghouls,1,7,25,0
48,Green dragons,1,6,52,0
49,Harpie Bug Swarms,33,8,45,0
50,Hellhounds,1,7,75,0
51,Hill Giants,1,7,25,0
52,Hobgoblins,1,7,20,0
54,Ice giants,1,7,50,0
55,Ice warriors,1,7,45,0
57,Infernal Mages,45,8,40,0
59,Jellies,52,8,57,0
60,Jungle horrors,1,8,65,0
61,Kalphites,1,7,15,0
62,Killerwatts,37,6,50,0
63,Kurasks,70,7,65,0
65,Lesser demons,1,7,60,0
73,Mogres,32,7,30,0
74,Molanisks,39,7,50,0
76,Moss giants,1,7,40,0
78,Nechryaels,80,5,85,0
79,Ogres,1,7,40,0
80,Otherworldly beings,1,8,40,0
81,Pyrefiends,30,8,25,0
85,Rockslugs,20,7,20,0
90,Shades,1,8,30,0
89,Sea snakes,40,6,50,0
91,Shadow warriors,1,8,60,0
96,Spiritual creatures,63,8,60,0
99,Terror dogs,40,6,60,0
100,Trolls,1,7,60,0
101,Turoths,55,8,60,0
103,Vampyres,1,7,35,0
104,Wall beasts,35,6,30,5
106,Werewolves,1,7,60,0
1 id monster slayer_req taskweight combat_req defence_req
2 0 Aberrant spectres 60 8 65 0
3 1 Abyssal demons 85 5 85 0
4 3 Ankous 1 7 40 0
5 6 Banshees 15 6 20 0
6 7 Basilisks 40 8 40 0
7 13 Bloodvelds 50 8 50 0
8 14 Blue dragons 1 7 65 0
9 16 Brine rats 47 7 45 0
10 17 Bronze dragons 1 7 75 0
11 19 Cave bugs 7 7 0 0
12 20 Cave crawlers 10 7 10 0
13 23 Cave slimes 17 7 15 0
14 25 Cockatrices 25 8 25 20
15 27 Crawling Hands 5 6 0 0
16 28 Crocodiles 1 6 50 0
17 29 Dagannoths 1 7 75 0
18 67 Lizards 22 7 15 0
19 34 Dust devils 65 8 70 0
20 36 Earth warriors 1 6 35 0
21 37 Elves 1 7 0 0
22 39 Fever spiders 42 7 40 0
23 40 Fire giants 1 7 65 0
24 43 Gargoyles 75 5 80 0
25 45 Ghouls 1 7 25 0
26 48 Green dragons 1 6 52 0
27 49 Harpie Bug Swarms 33 8 45 0
28 50 Hellhounds 1 7 75 0
29 51 Hill Giants 1 7 25 0
30 52 Hobgoblins 1 7 20 0
31 54 Ice giants 1 7 50 0
32 55 Ice warriors 1 7 45 0
33 57 Infernal Mages 45 8 40 0
34 59 Jellies 52 8 57 0
35 60 Jungle horrors 1 8 65 0
36 61 Kalphites 1 7 15 0
37 62 Killerwatts 37 6 50 0
38 63 Kurasks 70 7 65 0
39 65 Lesser demons 1 7 60 0
40 73 Mogres 32 7 30 0
41 74 Molanisks 39 7 50 0
42 76 Moss giants 1 7 40 0
43 78 Nechryaels 80 5 85 0
44 79 Ogres 1 7 40 0
45 80 Otherworldly beings 1 8 40 0
46 81 Pyrefiends 30 8 25 0
47 85 Rockslugs 20 7 20 0
48 90 Shades 1 8 30 0
49 89 Sea snakes 40 6 50 0
50 91 Shadow warriors 1 8 60 0
51 96 Spiritual creatures 63 8 60 0
52 99 Terror dogs 40 6 60 0
53 100 Trolls 1 7 60 0
54 101 Turoths 55 8 60 0
55 103 Vampyres 1 7 35 0
56 104 Wall beasts 35 6 30 5
57 106 Werewolves 1 7 60 0

450
api/vannaka_results.json Normal file
View file

@ -0,0 +1,450 @@
[
{
"id": "0",
"monster": "Aberrant spectres",
"slayer_req": "60",
"taskweight": "8",
"combat_req": "65",
"defence_req": "0"
},
{
"id": "1",
"monster": "Abyssal demons",
"slayer_req": "85",
"taskweight": "5",
"combat_req": "85",
"defence_req": "0"
},
{
"id": "3",
"monster": "Ankous",
"slayer_req": "1",
"taskweight": "7",
"combat_req": "40",
"defence_req": "0"
},
{
"id": "6",
"monster": "Banshees",
"slayer_req": "15",
"taskweight": "6",
"combat_req": "20",
"defence_req": "0"
},
{
"id": "7",
"monster": "Basilisks",
"slayer_req": "40",
"taskweight": "8",
"combat_req": "40",
"defence_req": "0"
},
{
"id": "13",
"monster": "Bloodvelds",
"slayer_req": "50",
"taskweight": "8",
"combat_req": "50",
"defence_req": "0"
},
{
"id": "14",
"monster": "Blue dragons",
"slayer_req": "1",
"taskweight": "7",
"combat_req": "65",
"defence_req": "0"
},
{
"id": "16",
"monster": "Brine rats",
"slayer_req": "47",
"taskweight": "7",
"combat_req": "45",
"defence_req": "0"
},
{
"id": "17",
"monster": "Bronze dragons",
"slayer_req": "1",
"taskweight": "7",
"combat_req": "75",
"defence_req": "0"
},
{
"id": "19",
"monster": "Cave bugs",
"slayer_req": "7",
"taskweight": "7",
"combat_req": "0",
"defence_req": "0"
},
{
"id": "20",
"monster": "Cave crawlers",
"slayer_req": "10",
"taskweight": "7",
"combat_req": "10",
"defence_req": "0"
},
{
"id": "23",
"monster": "Cave slimes",
"slayer_req": "17",
"taskweight": "7",
"combat_req": "15",
"defence_req": "0"
},
{
"id": "25",
"monster": "Cockatrices",
"slayer_req": "25",
"taskweight": "8",
"combat_req": "25",
"defence_req": "20"
},
{
"id": "27",
"monster": "Crawling Hands",
"slayer_req": "5",
"taskweight": "6",
"combat_req": "0",
"defence_req": "0"
},
{
"id": "28",
"monster": "Crocodiles",
"slayer_req": "1",
"taskweight": "6",
"combat_req": "50",
"defence_req": "0"
},
{
"id": "29",
"monster": "Dagannoths",
"slayer_req": "1",
"taskweight": "7",
"combat_req": "75",
"defence_req": "0"
},
{
"id": "67",
"monster": "Lizards",
"slayer_req": "22",
"taskweight": "7",
"combat_req": "15",
"defence_req": "0"
},
{
"id": "34",
"monster": "Dust devils",
"slayer_req": "65",
"taskweight": "8",
"combat_req": "70",
"defence_req": "0"
},
{
"id": "36",
"monster": "Earth warriors",
"slayer_req": "1",
"taskweight": "6",
"combat_req": "35",
"defence_req": "0"
},
{
"id": "37",
"monster": "Elves",
"slayer_req": "1",
"taskweight": "7",
"combat_req": "0",
"defence_req": "0"
},
{
"id": "39",
"monster": "Fever spiders",
"slayer_req": "42",
"taskweight": "7",
"combat_req": "40",
"defence_req": "0"
},
{
"id": "40",
"monster": "Fire giants",
"slayer_req": "1",
"taskweight": "7",
"combat_req": "65",
"defence_req": "0"
},
{
"id": "43",
"monster": "Gargoyles",
"slayer_req": "75",
"taskweight": "5",
"combat_req": "80",
"defence_req": "0"
},
{
"id": "45",
"monster": "Ghouls",
"slayer_req": "1",
"taskweight": "7",
"combat_req": "25",
"defence_req": "0"
},
{
"id": "48",
"monster": "Green dragons",
"slayer_req": "1",
"taskweight": "6",
"combat_req": "52",
"defence_req": "0"
},
{
"id": "49",
"monster": "Harpie Bug Swarms",
"slayer_req": "33",
"taskweight": "8",
"combat_req": "45",
"defence_req": "0"
},
{
"id": "50",
"monster": "Hellhounds",
"slayer_req": "1",
"taskweight": "7",
"combat_req": "75",
"defence_req": "0"
},
{
"id": "51",
"monster": "Hill Giants",
"slayer_req": "1",
"taskweight": "7",
"combat_req": "25",
"defence_req": "0"
},
{
"id": "52",
"monster": "Hobgoblins",
"slayer_req": "1",
"taskweight": "7",
"combat_req": "20",
"defence_req": "0"
},
{
"id": "54",
"monster": "Ice giants",
"slayer_req": "1",
"taskweight": "7",
"combat_req": "50",
"defence_req": "0"
},
{
"id": "55",
"monster": "Ice warriors",
"slayer_req": "1",
"taskweight": "7",
"combat_req": "45",
"defence_req": "0"
},
{
"id": "57",
"monster": "Infernal Mages",
"slayer_req": "45",
"taskweight": "8",
"combat_req": "40",
"defence_req": "0"
},
{
"id": "59",
"monster": "Jellies",
"slayer_req": "52",
"taskweight": "8",
"combat_req": "57",
"defence_req": "0"
},
{
"id": "60",
"monster": "Jungle horrors",
"slayer_req": "1",
"taskweight": "8",
"combat_req": "65",
"defence_req": "0"
},
{
"id": "61",
"monster": "Kalphites",
"slayer_req": "1",
"taskweight": "7",
"combat_req": "15",
"defence_req": "0"
},
{
"id": "62",
"monster": "Killerwatts",
"slayer_req": "37",
"taskweight": "6",
"combat_req": "50",
"defence_req": "0"
},
{
"id": "63",
"monster": "Kurasks",
"slayer_req": "70",
"taskweight": "7",
"combat_req": "65",
"defence_req": "0"
},
{
"id": "65",
"monster": "Lesser demons",
"slayer_req": "1",
"taskweight": "7",
"combat_req": "60",
"defence_req": "0"
},
{
"id": "73",
"monster": "Mogres",
"slayer_req": "32",
"taskweight": "7",
"combat_req": "30",
"defence_req": "0"
},
{
"id": "74",
"monster": "Molanisks",
"slayer_req": "39",
"taskweight": "7",
"combat_req": "50",
"defence_req": "0"
},
{
"id": "76",
"monster": "Moss giants",
"slayer_req": "1",
"taskweight": "7",
"combat_req": "40",
"defence_req": "0"
},
{
"id": "78",
"monster": "Nechryaels",
"slayer_req": "80",
"taskweight": "5",
"combat_req": "85",
"defence_req": "0"
},
{
"id": "79",
"monster": "Ogres",
"slayer_req": "1",
"taskweight": "7",
"combat_req": "40",
"defence_req": "0"
},
{
"id": "80",
"monster": "Otherworldly beings",
"slayer_req": "1",
"taskweight": "8",
"combat_req": "40",
"defence_req": "0"
},
{
"id": "81",
"monster": "Pyrefiends",
"slayer_req": "30",
"taskweight": "8",
"combat_req": "25",
"defence_req": "0"
},
{
"id": "85",
"monster": "Rockslugs",
"slayer_req": "20",
"taskweight": "7",
"combat_req": "20",
"defence_req": "0"
},
{
"id": "90",
"monster": "Shades",
"slayer_req": "1",
"taskweight": "8",
"combat_req": "30",
"defence_req": "0"
},
{
"id": "89",
"monster": "Sea snakes",
"slayer_req": "40",
"taskweight": "6",
"combat_req": "50",
"defence_req": "0"
},
{
"id": "91",
"monster": "Shadow warriors",
"slayer_req": "1",
"taskweight": "8",
"combat_req": "60",
"defence_req": "0"
},
{
"id": "96",
"monster": "Spiritual creatures",
"slayer_req": "63",
"taskweight": "8",
"combat_req": "60",
"defence_req": "0"
},
{
"id": "99",
"monster": "Terror dogs",
"slayer_req": "40",
"taskweight": "6",
"combat_req": "60",
"defence_req": "0"
},
{
"id": "100",
"monster": "Trolls",
"slayer_req": "1",
"taskweight": "7",
"combat_req": "60",
"defence_req": "0"
},
{
"id": "101",
"monster": "Turoths",
"slayer_req": "55",
"taskweight": "8",
"combat_req": "60",
"defence_req": "0"
},
{
"id": "103",
"monster": "Vampyres",
"slayer_req": "1",
"taskweight": "7",
"combat_req": "35",
"defence_req": "0"
},
{
"id": "104",
"monster": "Wall beasts",
"slayer_req": "35",
"taskweight": "6",
"combat_req": "30",
"defence_req": "5"
},
{
"id": "106",
"monster": "Werewolves",
"slayer_req": "1",
"taskweight": "7",
"combat_req": "60",
"defence_req": "0"
}
]

BIN
application.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 312 KiB

5
babel.config.js Normal file
View file

@ -0,0 +1,5 @@
module.exports = {
"presets": [
"@vue/cli-plugin-babel/preset"
]
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,3 +0,0 @@
.hover-info {
cursor:help;
}

View file

@ -1,111 +0,0 @@
monster,slayer_req,combat_req,defence_req
Aberrant spectres,60,65,0
Abyssal demons,85,85,0
Adamant dragons,1,0,0
Ankous,1,40,0
Aviansies,1,0,0
Bandits,1,0,0
Banshees,15,20,0
Basilisks,40,40,20
Bats,1,5,0
Bears,1,13,0
Birds,1,0,0
Black demons,1,80,0
Black dragons,1,80,0
Bloodvelds,50,50,0
Blue dragons,1,65,0
Bosses,1,0,0
Brine rats,47,45,0
Bronze dragons,1,75,0
Catablepons,1,35,0
Cave bugs,7,0,0
Cave crawlers,10,10,0
Cave horrors,58,85,0
Cave krakens,87,80,0
Cave slimes,17,15,0
Chaos druids,1,0,0
Cockatrices,25,25,20
Cows,1,5,0
Crawling Hands,5,0,0
Crocodiles,1,50,0
Dagannoths,1,75,0
Dark beasts,90,90,0
Dark warriors,1,0,0
Dogs,1,15,0
Drakes,84,0,0
Dust devils,65,70,0
Dwarves,1,6,0
Earth warriors,1,35,0
Elves,1,0,0
Ents,1,0,0
Fever spiders,42,40,0
Fire giants,1,65,0
Flesh Crawlers,1,15,0
Fossil Island Wyverns,66,60,0
Gargoyles,75,80,0
Ghosts,1,13,0
Ghouls,1,25,0
Goblins,1,0,0
Greater demons,1,75,0
Green dragons,1,52,0
Harpie Bug Swarms,33,45,0
Hellhounds,1,75,0
Hill Giants,1,25,0
Hobgoblins,1,20,0
Hydras,95,0,0
Ice giants,1,50,0
Ice warriors,1,45,0
Icefiends,1,20,0
Infernal Mages,45,40,0
Iron dragons,1,80,0
Jellies,52,57,0
Jungle horrors,1,65,0
Kalphites,1,15,0
Killerwatts,37,50,0
Kurasks,70,65,0
Lava dragons,1,0,0
Lesser demons,1,60,0
Lizardmen,1,0,0
Lizards,22,15,0
Magic axes,1,0,0
Mammoths,1,0,0
Minions of Scabaras,1,85,0
Minotaurs,1,7,0
Mithril dragons,1,0,0
Mogres,32,30,0
Molanisks,39,50,0
Monkeys,1,0,0
Moss giants,1,40,0
Mutated zygomites,57,60,0
Nechryaels,80,85,0
Ogres,1,40,0
Otherworldly beings,1,40,0
Pyrefiends,30,25,0
Rats,1,0,0
Red dragons,1,68,0
Revenants,1,0,0
Rockslugs,20,20,0
Rogues,1,0,0
Rune dragons,1,0,0
Scorpions,1,7,0
Sea snakes,40,50,0
Shades,1,30,0
Shadow warriors,1,60,0
Skeletal Wyverns,72,70,0
Skeletons,1,15,0
Smoke devils,93,85,0
Spiders,1,0,0
Spiritual creatures,63,60,0
Steel dragons,1,85,0
Suqahs,1,85,0
Terror dogs,40,60,0
Trolls,1,60,0
Turoths,55,60,0
TzHaar,1,0,0
Vampyres,1,35,0
Wall beasts,35,30,5
Waterfiends,1,75,0
Werewolves,1,60,0
Wolves,1,20,0
Wyrms,62,0,0
Zombies,1,10,0
1 monster slayer_req combat_req defence_req
2 Aberrant spectres 60 65 0
3 Abyssal demons 85 85 0
4 Adamant dragons 1 0 0
5 Ankous 1 40 0
6 Aviansies 1 0 0
7 Bandits 1 0 0
8 Banshees 15 20 0
9 Basilisks 40 40 20
10 Bats 1 5 0
11 Bears 1 13 0
12 Birds 1 0 0
13 Black demons 1 80 0
14 Black dragons 1 80 0
15 Bloodvelds 50 50 0
16 Blue dragons 1 65 0
17 Bosses 1 0 0
18 Brine rats 47 45 0
19 Bronze dragons 1 75 0
20 Catablepons 1 35 0
21 Cave bugs 7 0 0
22 Cave crawlers 10 10 0
23 Cave horrors 58 85 0
24 Cave krakens 87 80 0
25 Cave slimes 17 15 0
26 Chaos druids 1 0 0
27 Cockatrices 25 25 20
28 Cows 1 5 0
29 Crawling Hands 5 0 0
30 Crocodiles 1 50 0
31 Dagannoths 1 75 0
32 Dark beasts 90 90 0
33 Dark warriors 1 0 0
34 Dogs 1 15 0
35 Drakes 84 0 0
36 Dust devils 65 70 0
37 Dwarves 1 6 0
38 Earth warriors 1 35 0
39 Elves 1 0 0
40 Ents 1 0 0
41 Fever spiders 42 40 0
42 Fire giants 1 65 0
43 Flesh Crawlers 1 15 0
44 Fossil Island Wyverns 66 60 0
45 Gargoyles 75 80 0
46 Ghosts 1 13 0
47 Ghouls 1 25 0
48 Goblins 1 0 0
49 Greater demons 1 75 0
50 Green dragons 1 52 0
51 Harpie Bug Swarms 33 45 0
52 Hellhounds 1 75 0
53 Hill Giants 1 25 0
54 Hobgoblins 1 20 0
55 Hydras 95 0 0
56 Ice giants 1 50 0
57 Ice warriors 1 45 0
58 Icefiends 1 20 0
59 Infernal Mages 45 40 0
60 Iron dragons 1 80 0
61 Jellies 52 57 0
62 Jungle horrors 1 65 0
63 Kalphites 1 15 0
64 Killerwatts 37 50 0
65 Kurasks 70 65 0
66 Lava dragons 1 0 0
67 Lesser demons 1 60 0
68 Lizardmen 1 0 0
69 Lizards 22 15 0
70 Magic axes 1 0 0
71 Mammoths 1 0 0
72 Minions of Scabaras 1 85 0
73 Minotaurs 1 7 0
74 Mithril dragons 1 0 0
75 Mogres 32 30 0
76 Molanisks 39 50 0
77 Monkeys 1 0 0
78 Moss giants 1 40 0
79 Mutated zygomites 57 60 0
80 Nechryaels 80 85 0
81 Ogres 1 40 0
82 Otherworldly beings 1 40 0
83 Pyrefiends 30 25 0
84 Rats 1 0 0
85 Red dragons 1 68 0
86 Revenants 1 0 0
87 Rockslugs 20 20 0
88 Rogues 1 0 0
89 Rune dragons 1 0 0
90 Scorpions 1 7 0
91 Sea snakes 40 50 0
92 Shades 1 30 0
93 Shadow warriors 1 60 0
94 Skeletal Wyverns 72 70 0
95 Skeletons 1 15 0
96 Smoke devils 93 85 0
97 Spiders 1 0 0
98 Spiritual creatures 63 60 0
99 Steel dragons 1 85 0
100 Suqahs 1 85 0
101 Terror dogs 40 60 0
102 Trolls 1 60 0
103 Turoths 55 60 0
104 TzHaar 1 0 0
105 Vampyres 1 35 0
106 Wall beasts 35 30 5
107 Waterfiends 1 75 0
108 Werewolves 1 60 0
109 Wolves 1 20 0
110 Wyrms 62 0 0
111 Zombies 1 10 0

File diff suppressed because one or more lines are too long

7
js/bootstrap.min.js vendored

File diff suppressed because one or more lines are too long

241
js/datatables.min.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

5
js/popper.min.js vendored

File diff suppressed because one or more lines are too long

View file

@ -1,320 +0,0 @@
String.prototype.capitalize = function () {
return this.charAt(0).toUpperCase() + this.slice(1);
}
function onlyUnique(value, index, self) {
return self.indexOf(value) === index;
}
function toggleQuestAll(source) {
checkboxes = document.getElementsByName('quest');
for (var i = 0, n = checkboxes.length; i < n; i++) {
checkboxes[i].checked = source.prop("checked");
}
if (source.prop("checked") == true) {
$('.quests').hide(100);
}
else {
$('.quests').show(100);
}
}
function setBlocklists() {
// generate blocklist options, currently unused for static html
// may be reused when updates to monsters.json require new html block options
$.getJSON("data/monsters.json", { format: "json" }, function (data) {
var content = '';
for (i = 0; i < data.length; i++) {
content += '<option value="' + data[i].monster + '">' + data[i].monster + '</option>'
}
$(".blocktask").each(function (index) {
$(this).append(content)
});
})
}
$(document).ready(function () {
// starting functions on page load
applyChanges('krystilia');
toggleQuestAll($('#toggleQuests'));
$('[data-toggle="tooltip"]').tooltip()
});
function filterTasks(data) {
index_list = []
for (i = 0; i < data.length; i++) {
switch (data[i].monster.toUpperCase()) {
// Slayer point unlocks
case 'RED DRAGONS':
if ($("#reddrags").prop("checked") === false) {
index_list.unshift(i)
}
break;
case 'MITHRIL DRAGONS':
if ($("#mithdrags").prop("checked") === false) {
index_list.unshift(i)
}
break;
case 'AVIANSIES':
if ($("#aviansies").prop("checked") === false) {
index_list.unshift(i)
}
break;
case 'TZHAAR':
if ($("#tzhaar").prop("checked") === false) {
index_list.unshift(i)
}
break;
case 'LIZARDMEN':
if ($("#lizardmen").prop("checked") === false) {
index_list.unshift(i)
}
break;
case 'BOSSES':
if ($("#bosses").prop("checked") === false) {
index_list.unshift(i)
}
break;
case 'FOSSIL ISLAND WYVERNS':
if ($("#bonevoyage").prop("checked") === false) {
index_list.unshift(i)
}
else if ($("#fossilwyverns").prop("checked") === true) {
index_list.unshift(i)
}
break;
// Quest task unlocks
case 'SPIRITUAL CREATURES':
if ($("#spiritcreatures").prop("checked") === false) {
index_list.unshift(i)
}
break;
case 'RUNE DRAGONS':
case 'ADAMANT DRAGONS':
if ($("#dragonslayer2").prop("checked") === false) {
index_list.unshift(i)
}
break;
case 'BRINE RATS':
if ($("#brinerats").prop("checked") === false) {
index_list.unshift(i)
}
break;
case 'DAGANNOTHS':
if ($("#dagannoths").prop("checked") === false) {
index_list.unshift(i)
}
break;
case 'DARK BEASTS':
if ($("#darkbeasts").prop("checked") === false) {
index_list.unshift(i)
}
break;
case 'DUST DEVILS':
case 'SMOKE DEVILS':
if ($("#dustdevils").prop("checked") === false) {
index_list.unshift(i)
}
break;
case 'MUTATED ZYGOMITES':
case 'OTHERWORLDLY BEINGS':
if ($("#lostcity").prop("checked") === false) {
index_list.unshift(i)
}
break;
case 'CAVE HORRORS':
case 'JUNGLE HORRORS':
if ($("#cabinfever").prop("checked") === false) {
index_list.unshift(i)
}
break;
case 'SKELETAL WYVERNS':
if ($("#skeletalwyverns").prop("checked") === false) {
index_list.unshift(i)
}
break;
case 'SEA SNAKES':
if ($("#seasnakes").prop("checked") === false) {
index_list.unshift(i)
}
break;
case 'FIRE GIANTS':
if ($("#firegiants").prop("checked") === false) {
index_list.unshift(i)
}
break;
case 'KILLERWATTS':
if ($("#killerwatts").prop("checked") === false) {
index_list.unshift(i)
}
break;
case 'ELVES':
if ($("#elves").prop("checked") === false) {
index_list.unshift(i)
}
break;
case 'FEVER SPIDERS':
if ($("#feverspiders").prop("checked") === false) {
index_list.unshift(i)
}
break;
case 'MOLANISKS':
if ($("#molanisks").prop("checked") === false) {
index_list.unshift(i)
}
break;
case 'SHADOW WARRIORS':
if ($("#shadowwarriors").prop("checked") === false) {
index_list.unshift(i)
}
break;
case 'GREEN DRAGONS':
case 'BLUE DRAGONS':
case 'BLACK DRAGONS':
case 'RED DRAGONS':
case 'BRONZE DRAGONS':
case 'IRON DRAGONS':
case 'STEEL DRAGONS':
if ($("#dragonslayer").prop("checked") === false) {
index_list.unshift(i)
}
break;
case 'MINIONS OF SCABARAS':
if ($("#scabaras").prop("checked") === false) {
index_list.unshift(i)
}
break;
case 'SUQAHS':
if ($("#suqahs").prop("checked") === false) {
index_list.unshift(i)
}
break;
case 'BANSHEES':
case 'CRAWLING HANDS':
case 'VAMPYRES':
case 'GHOULS':
case 'SHADES':
case 'WEREWOLVES':
case 'BLOODVELDS':
case 'ABERRANT SPECTRES':
case 'INFERNAL MAGES':
case 'NECHRYAELS':
case 'GARGOYLES':
if ($("#priestinperil").prop("checked") === false) {
index_list.unshift(i)
}
break;
case 'ABYSSAL DEMONS':
if ($("#priestinperil").prop("checked") === false &&
$("#fairytale2").prop("checked") === false) {
index_list.unshift(i)
}
break;
case 'MOGRES':
if ($("#mogres").prop("checked") === false) {
index_list.unshift(i)
}
}
// Task blocks
$(".blocktask").each(function (index) {
if ($(this).val().toUpperCase() == data[i].monster.toUpperCase()) {
index_list.unshift(i)
}
});
// Slayer requirement
if (data[i].slayer_req > $("#slayerlevel").val()) {
index_list.unshift(i)
}
// Defence requirement
if (data[i].defence_req > $("#defencelevel").val()) {
index_list.unshift(i)
}
// Combat requirement
if (data[i].combat_req > $("#combatlevel").val()) {
index_list.unshift(i)
}
}
unique_list = index_list.filter(onlyUnique);
for (var i in unique_list) {
// console.log(data[unique_list[i]])
data.splice(unique_list[i], 1)
}
return data
}
function sumWeights(data) {
var total = 0;
for (var i in data) {
total += data[i].taskweight
}
return total
}
var table, currentMaster;
function deleteOldDataTable() {
table = $('#master').DataTable()
table.destroy();
}
function setMasterTitle(master) {
$("#mastertitle").text(master.capitalize());
}
function applyChanges(master) {
currentMaster = master;
deleteOldDataTable();
setMasterTitle(master);
$.getJSON("data/" + master + ".json", function (data) {
var data = filterTasks(data),
totalweight = sumWeights(data);
$(document).ready(function () {
table = $('#master').DataTable({
"order": [[2, "desc"]],
"pageLength": 15,
"data": data,
"columns": [
{ data: 'monster' },
{ data: 'taskweight' },
{
data: null, render: function (data, type, row) {
return (row.taskweight / totalweight * 100).toFixed(2) + '%';
}
}
]
});
});
})
}

59
package.json Normal file
View file

@ -0,0 +1,59 @@
{
"name": "vue-slayweightcalc",
"version": "0.1.0",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint"
},
"dependencies": {
"acorn": "^6.4.1",
"bootstrap": "^4.4.1",
"bootstrap-vue": "^2.3.0",
"core-js": "^3.4.4",
"lodash": "^4.17.21",
"minimist": "^1.2.6",
"vue": "^2.6.10",
"vue-router": "^3.1.5"
},
"devDependencies": {
"@babel/polyfill": "^7.7.0",
"@vue/cli-plugin-babel": "^4.1.0",
"@vue/cli-plugin-eslint": "^4.1.0",
"@vue/cli-service": "^4.1.0",
"babel-eslint": "^10.0.3",
"bootstrap": "^4.4.1",
"eslint": "^5.16.0",
"eslint-plugin-vue": "^5.0.0",
"mutationobserver-shim": "^0.3.3",
"popper.js": "^1.16.0",
"portal-vue": "^2.1.6",
"sass": "^1.19.0",
"sass-loader": "^8.0.2",
"vue-cli-plugin-bootstrap-vue": "^0.6.0",
"vue-template-compiler": "^2.6.10"
},
"eslintConfig": {
"root": true,
"env": {
"node": true
},
"extends": [
"plugin:vue/essential",
"eslint:recommended"
],
"rules": {},
"parserOptions": {
"parser": "babel-eslint"
}
},
"browserslist": [
"> 1%",
"last 2 versions"
],
"peerDependencies": {
"jquery": "^3.4.1",
"webpack": "^5.0.04"
}
}

BIN
public/favicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8 KiB

16
public/index.html Normal file
View file

@ -0,0 +1,16 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="<%= BASE_URL %>favicon.png">
<title>SlayWeightCalc</title>
</head>
<body>
<noscript>
<strong>SlayerWeightCalc's functionality relies on JavaScript. Please enable it to continue.</strong>
</noscript>
<div id="app"></div>
</body>
</html>

48
src/App.vue Normal file
View file

@ -0,0 +1,48 @@
<template>
<div id="app">
<top-nav @clicked="showMenu"></top-nav>
<div class="container-fluid">
<div class="row">
<left-nav v-show="isDisabled"></left-nav>
<main-content></main-content>
</div>
</div>
</div>
</template>
<script>
import MainContent from './components/MainContent';
import LeftNav from './components/LeftNav';
import TopNav from './components/TopNav';
export default {
name: 'app',
components: {
MainContent,
LeftNav,
TopNav,
},
data() {
return {
isDisabled: false
}
},
methods: {
showMenu() {
this.isDisabled = !this.isDisabled;
}
}
}
</script>
<style>
#app {
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
body {
font-size: .875rem;
}
</style>

BIN
src/assets/Chaeldar.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
src/assets/Duradel.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
src/assets/Krystilia.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
src/assets/Mazchna.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
src/assets/Nieve.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
src/assets/Turael.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
src/assets/Vannaka.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
src/assets/account.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
src/assets/combat_icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 648 B

BIN
src/assets/defence_icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 165 B

BIN
src/assets/hiscores.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

BIN
src/assets/osrswiki.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

View file

@ -0,0 +1 @@
<svg fill="#000000" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50" width="50px" height="50px"><path d="M 23.980469 2.007813 C 20.128906 2.09375 16.410156 3.148438 13.316406 5 L 19 5 C 23.417969 5 29 6.625 29 12 C 29 14.90625 27.96875 18.25 25 20 C 25.355469 20.855469 25.644531 21.269531 26 22 C 26.65625 20.59375 29.125 19.046875 31 19 L 39 19 L 39 26 C 38.882813 26 38.855469 25.980469 38.828125 25.863281 C 38.40625 24.125 35.75 22 32.5 22 C 31 22 30 22.808594 30 24 C 30 25.386719 30.828125 26.023438 32 27 C 33.617188 28.347656 37.253906 30.773438 38.035156 31.234375 C 39.789063 32.265625 41.332031 33.734375 41.832031 35.738281 C 41.972656 36.308594 42.027344 36.90625 41.996094 37.5 L 42 37.5 L 42 38.605469 C 47.789063 31.75 49.484375 19.660156 41.988281 10.371094 C 37.164063 4.390625 30.394531 1.859375 23.980469 2.007813 Z M 10.714844 6.757813 C 5.570313 10.589844 2.007813 17.082031 2.007813 24 C 2.007813 27.925781 2.835938 32 5.050781 35.847656 C 6.660156 38.652344 8.800781 40.980469 11.425781 42.859375 C 14.042969 44.734375 16.933594 45.980469 20.085938 46.617188 C 21.40625 46.882813 23.265625 47 25 47 C 22.90625 45.625 21 43.40625 21 40 C 21 36.03125 23.742188 34 26 34 C 26.871094 34.023438 28 34.28125 28 35.5 C 28 37.5625 25.644531 38 25 38 C 24.4375 38 24 39.355469 24 40.5 C 24 42.273438 25.359375 43.433594 26.925781 44.160156 C 29.121094 45.179688 31.050781 45.1875 33.3125 44.375 C 34.347656 44.003906 35.261719 43.410156 35.902344 42.5 C 37.214844 40.640625 37.34375 38.53125 35.796875 36.652344 C 34.9375 35.613281 33.832031 34.71875 32.652344 34.0625 C 30.4375 32.835938 28.570313 31.605469 26.585938 30.011719 C 24.628906 28.4375 22.753906 26.792969 21.257813 24.761719 C 20.171875 23.289063 19.339844 21.699219 18.984375 19.882813 C 18.902344 19.46875 18.902344 19.46875 19.324219 19.40625 C 20.683594 19.203125 21.808594 18.566406 22.664063 17.496094 C 23.789063 16.089844 24 14.832031 24 13 C 24 10.792969 22.46875 8.59375 20.347656 7.527344 C 19.28125 6.992188 18.140625 6.867188 16.980469 7.1875 C 16.4375 7.339844 16 7.441406 16 8 L 16 29.5625 C 16 30.871094 16.835938 31.199219 17.984375 31.796875 C 18.070313 31.847656 18.160156 31.894531 18.25 31.945313 C 18.242188 31.964844 18.234375 31.980469 18.226563 32 L 9.03125 32 C 9.144531 31.878906 9.273438 31.808594 9.398438 31.738281 C 10.21875 31.277344 11 30.523438 11 29.5625 L 11 8 C 11 7.679688 10.804688 7.089844 10.714844 6.757813 Z"/></svg>

After

Width:  |  Height:  |  Size: 2.4 KiB

BIN
src/assets/slayer_icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 285 B

View file

@ -0,0 +1,223 @@
<template>
<section>
<div class="pt-3 pb-2 my-2 px-4">
<b-row>
<b-col>
<h1 class="h3 text-uppercase font-weight-bolder mb-4">Account Settings</h1>
</b-col>
<b-col class="flex-column">
<b-button-toolbar aria-label="Toolbar with button groups and input groups">
<b-button-group size="sm" class="mr-1">
<b-button @click="flipRemember"
:pressed="remember"
size="sm">
<svg v-if="remember" xmlns="http://www.w3.org/2000/svg" width=".8em" height=".8em" class="mr-1" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M9 21.035l-9-8.638 2.791-2.87 6.156 5.874 12.21-12.436 2.843 2.817z"/></svg>
<svg v-else xmlns="http://www.w3.org/2000/svg" width=".8em" height=".8em" class="mr-1" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M23.954 21.03l-9.184-9.095 9.092-9.174-2.832-2.807-9.09 9.179-9.176-9.088-2.81 2.81 9.186 9.105-9.095 9.184 2.81 2.81 9.112-9.192 9.18 9.1z"/></svg>
Remember
</b-button>
<b-button @click="serveConfig"><a ref="config-export" download="config.json"></a>Export</b-button>
</b-button-group>
<b-form-file class="w-auto"
v-model="configFile"
placeholder="Load settings.json"
accept=".json">
</b-form-file>
</b-button-toolbar>
</b-col>
</b-row>
<b-row class="shadow py-3 mb-5">
<b-col sm="12" ><h4>Stats</h4></b-col>
<b-col sm="6" md="4" v-for="statUnlock in configData.statUnlocks" v-bind:key="statUnlock.id">
<div class="input-group mb-3">
<div class="input-group-prepend">
<span class="input-group-text">
<img :src="require(`../assets/${statUnlock.image}`)" :title="statUnlock.name">
</span>
</div>
<b-form-input
class="form-control"
v-model="statUnlock.value.current"
debounce="500"
type="number"
:disabled="statUnlock.ignore === 'true'"
:min="statUnlock.value.min"
:max="statUnlock.value.max">
</b-form-input>
<div class="input-group-append" v-if="statUnlock.hasOwnProperty('ignore')">
<span class="input-group-text">
<b-form-checkbox
@change="ignoreStat(statUnlock, $event)"
:checked="statUnlock.ignore === 'true'"
v-b-tooltip.hover.right
:title="'Ignore '+statUnlock.name"></b-form-checkbox>
</span>
</div>
</div>
</b-col>
</b-row>
<b-row class="shadow py-3 mb-5">
<b-col>
<h4>Slayer Point Unlocks</h4>
<b-form-checkbox
class="mb-1"
v-for="pointUnlock in configData.pointUnlocks"
v-bind:key="pointUnlock.id"
v-model="pointUnlock.unlock"
:name="pointUnlock.name"
value="true"
unchecked-value="false"
>
<span class="mr-2">
<span v-if="pointUnlock.masters" v-b-tooltip.hover.right :title="masterListString(pointUnlock)">
{{ pointUnlock.name }}
<small class="text-monospace text-muted">{{ monsterPreText(pointUnlock) }}</small>
</span>
<span v-else>
{{ pointUnlock.name }}
<small class="text-monospace text-muted">{{ monsterPreText(pointUnlock) }}</small>
</span>
</span>
</b-form-checkbox>
</b-col>
<b-col>
<h4>Slayer Block List</h4>
<b-form-select
class="mt-1"
size="sm"
v-for="block in configData.blockList"
v-bind:key="block.id"
v-model="block.monster_ids"
:options="monsterData">
<template v-slot:first>
<b-form-select-option :value="null" disabled>-- Select an option to block --</b-form-select-option>
</template>
</b-form-select>
</b-col>
</b-row>
<b-row class="shadow py-3">
<b-col sm="12" ><h4>Quests Unlocks</h4>
<b-form-checkbox
@change="checkAll($event)"
class="mb-1">
<small class="text-monospace text-muted text-primary" >
Unlocked all
</small>
</b-form-checkbox>
</b-col>
<b-col md="6" xl="4" v-for="questUnlock in configData.questUnlocks" v-bind:key="questUnlock.id">
<b-form-checkbox
class="mb-1"
v-model="questUnlock.unlock"
:name="questUnlock.name"
value="true"
unchecked-value="false">
{{ questUnlock.name }} <br>
<small v-if="questUnlock.alternative_text" class="text-monospace text-muted" >
Unlocks <span class="text-info" v-b-tooltip.hover.right :title="monsterListString(questUnlock)">{{ questUnlock.alternative_text }}</span>
</small>
<small v-else class="text-monospace text-muted">{{ monsterListString(questUnlock) }}</small>
</b-form-checkbox>
</b-col>
</b-row>
</div>
</section>
</template>
<script>
import monster_json from '../data/monsters'
import master_json from '../data/masters'
export default {
name: "ConfigSection",
props: {
configData: Object,
},
data() {
return {
monsterData: monster_json,
mastersData: master_json,
configFile: null,
remember: null,
}
},
methods: {
monsterPreText(entry) {
let listString = this.monsterListString(entry);
if (entry.block) {
return 'Blocks ' + listString
} else {
return 'Unlocks ' + listString
}
},
monsterListString(entry) {
let monsterList = [];
entry['monster_ids'].forEach( id => {
monsterList.push(this.monsterData[id].text)
});
return monsterList.join(', ').replace(/,(?!.*,)/gmi, ' and');
},
masterListString(entry) {
let masterList = [];
entry['masters'].forEach( id => {
masterList.push(this.mastersData[id].name)
});
return 'Added to ' + masterList.join(', ').replace(/,(?!.*,)/gmi, ' and');
},
serveConfig() {
let data = "data:text/json;charset=utf-8," + encodeURIComponent(JSON.stringify(this.configData));
let node = this.$refs['config-export'];
node.setAttribute("href", data);
node.click();
},
flipRemember() {
localStorage.setItem('remember', (!(localStorage.getItem('remember') === 'true')).toString());
this.setRemember();
},
setRemember() {
if (localStorage.getItem('remember') === null) {
localStorage.setItem('remember', 'true');
}
this.remember = (localStorage.getItem('remember') === 'true');
},
readFile(file){
return new Promise((resolve, reject) => {
let fr = new FileReader();
fr.onload = () => {
this.$emit('update:configData', JSON.parse(fr.result));
};
fr.readAsText(file);
});
},
checkAll(value) {
let data = this.configData;
data.questUnlocks.forEach(quest=>{
quest.unlock = value;
});
},
ignoreStat(obj, value) {
this.configData.statUnlocks.filter(stat => stat.id === obj.id)[0].ignore = value.toString()
}
},
created() {
this.setRemember();
},
watch: {
configFile() {
if (window.File && window.FileReader && window.FileList && window.Blob) {
this.readFile(this.configFile);
} else {
alert('The File APIs are not fully supported in this browser.');
}
}
}
}
</script>
<style scoped>
</style>

113
src/components/LeftNav.vue Normal file
View file

@ -0,0 +1,113 @@
<template >
<nav class="col-md-2 d-md-block bg-light sidebar" @click="activate">
<div class="sidebar-sticky">
<ul class="nav flex-column mb-2">
<NavItem v-for="link in links" :isActive="activate(link.id)" :key="link.id" :title="link.title" :id="link.id" :icon_url="link.icon" :to="link.to"/>
</ul>
<h6 class="sidebar-heading d-flex justify-content-between align-items-center px-3 mt-4 mb-1 text-muted">
<span>Slayer Masters</span>
</h6>
<ul class="nav flex-column mb-2">
<NavItem v-for="master in masters" :isActive="activate(master.id)" :key="master.id" :title="master.name" :id="master.id" :icon_url="master.image" :to="'master'"/>
</ul>
<h6 class="sidebar-heading d-flex justify-content-between align-items-center px-3 mt-4 mb-1 text-muted">
<span>Other Links</span>
</h6>
<ul class="nav flex-column mb-2">
<NavItem v-for="link in extraLinks" :targetVal="'_blank'" :isActive="activate(link.id)" :key="link.id" :title="link.title" :id="link.id" :icon_url="link.icon" :url="link.url"/>
</ul>
</div>
</nav>
</template>
<script>
import master_json from "../data/masters";
import NavItem from "./NavItem";
export default {
name: "LeftNav",
components: {
NavItem
},
data() {
return {
links: [
{
id: 100,
icon: 'account.png',
title: 'Account settings',
to: 'config',
},
],
masters: master_json,
extraLinks: [
{
id: 101,
icon: 'osrswiki.png',
title: 'OSRS Wiki',
url: 'https://osrs.wiki/',
},
]
}
},
methods: {
activate(id) {
return this.$route.params.id == id;
},
}
}
</script>
<style scoped>
.sidebar {
position: fixed;
top: 0;
bottom: 0;
left: 0;
z-index: 100; /* Behind the navbar */
padding: 48px 0 0; /* Height of navbar */
box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
width: 250px;
}
.sidebar-sticky {
position: relative;
top: 0;
height: calc(100vh - 48px);
padding-top: .5rem;
overflow-x: hidden;
overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}
@supports ((position: -webkit-sticky) or (position: sticky)) {
.sidebar-sticky {
position: -webkit-sticky;
position: sticky;
}
}
.sidebar .nav-link {
font-weight: 500;
color: #333;
}
.sidebar .nav-link .feather {
margin-right: 4px;
color: #999;
}
.sidebar .nav-link.active {
color: #007bff;
}
.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
color: inherit;
}
.sidebar-heading {
font-size: .75rem;
text-transform: uppercase;
}
</style>

View file

@ -0,0 +1,91 @@
<template>
<main role="main" class="col-md-10 ml-sm-auto col-lg-10 px-4">
<router-view :configData.sync="mainConfig"></router-view>
</main>
</template>
<script>
export default {
name: 'MainContent',
data() {
return {
mainConfig: {
statUnlocks: [
{id: 0, name: 'Slayer level', filter: 'slayer_req', value: {min: 1, current: 99, max: 99}, image: 'slayer_icon.png'},
{id: 1, name: 'Combat level', filter: 'combat_req', value: {min: 3, current: 126, max: 126}, image: 'combat_icon.png', ignore: 'false'},
{id: 2, name: 'Defence level', filter: 'defence_req', value: {min: 1, current: 99, max: 99}, image: 'defence_icon.png'},
],
pointUnlocks: [
{id: 0, name: 'Seeing red', monster_ids: [83], unlock: 'false', masters: [5,6,7]},
{id: 1, name: 'I hope you mith me', monster_ids: [72], unlock: 'false', masters: [5,6,7]},
{id: 2, name: 'Watch the birdie', monster_ids: [4], unlock: 'false', masters: [4,5,6,7]},
{id: 3, name: 'Hot stuff', monster_ids: [102], unlock: 'false', masters: [4,6,7]},
{id: 4, name: 'Reptile got ripped', monster_ids: [66], unlock: 'false', masters: [4,5,6,7]},
{id: 5, name: 'Like a boss', monster_ids: [15], unlock: 'false', masters: [5,6,7]},
{id: 6, name: 'Stop the Wyvern', monster_ids: [42], unlock: 'false', block: 'true'},
{id: 7, name: 'Basilocked', monster_ids: [7], unlock: 'false', masters: [5,6,7]},
],
blockList: [
{id: 0, name: 'Block task (50 quest points)', monster_ids: null, block: true},
{id: 1, name: 'Block task (100 quest points)', monster_ids: null, block: true},
{id: 2, name: 'Block task (150 quest points)', monster_ids: null, block: true},
{id: 3, name: 'Block task (200 quest points)', monster_ids: null, block: true},
{id: 4, name: 'Block task (250 quest points)', monster_ids: null, block: true},
{id: 5, name: 'Block task (300 quest points)', monster_ids: null, block: true},
],
questUnlocks: [
{id: 0, name: 'Bone Voyage', monster_ids: [42], unlock: 'false'},
{id: 1, name: 'Cabin Fever', monster_ids: [60, 21], unlock: 'false'},
{id: 2, name: 'Contact!', monster_ids: [70], unlock: 'false'},
{id: 3, name: 'Death Plateau', monster_ids: [96], unlock: 'false'},
{id: 4, name: 'Death to the Dorgeshuun', monster_ids: [74], unlock: 'false'},
{id: 5, name: 'Desert Treasure (started)', monster_ids: [34, 94], unlock: 'false'},
{id: 6, name: 'Dragon Slayer', monster_ids: [48, 14, 83, 12, 17, 58, 97, 72], alternative_text: "Dragons", unlock: 'false'},
{id: 7, name: 'Dragon Slayer II', monster_ids: [2, 87], unlock: 'false'},
{id: 8, name: 'Elemental Workshop I', monster_ids: [92], unlock: 'false'},
{id: 9, name: 'Ernest the Chicken', monster_ids: [62], unlock: 'false'},
{id: 10, name: 'Fairytale II (without Priest in Peril)', monster_ids: [1], unlock: 'false'},
{id: 11, name: 'Horror from the Deep', monster_ids: [29], unlock: 'false'},
{id: 12, name: 'Legends\' Quest', monster_ids: [91], unlock: 'false'},
{id: 13, name: 'Lost City', monster_ids: [77, 80], unlock: 'false'},
{id: 14, name: 'Lunar Diplomacy (partial)', monster_ids: [98], unlock: 'false'},
{id: 15, name: 'Mourning\'s End Part II (started)', monster_ids: [30], unlock: 'false'},
{id: 16, name: 'Olaf\'s Quest (partial)', monster_ids: [16], unlock: 'false'},
{id: 17, name: 'Priest in Peril', monster_ids: [6, 27, 103, 45, 90, 106, 13, 0, 57, 78, 43, 1], alternative_text: "Morytania monsters", unlock: 'false'},
{id: 18, name: 'Regicide (started)', monster_ids: [37], unlock: 'false'},
{id: 19, name: 'Royal Trouble', monster_ids: [89], unlock: 'false'},
{id: 20, name: 'Rum Deal (started)', monster_ids: [39], unlock: 'false'},
{id: 21, name: 'Skippy and the Mogres (miniquest)', monster_ids: [73], unlock: 'false'},
{id: 22, name: 'Waterfall Quest', monster_ids: [40], unlock: 'false'},
],
}
}
},
methods: {
},
watch: {
mainConfig: {
handler() {
if (localStorage.getItem('remember') === 'true') {
localStorage.setItem('configData', JSON.stringify(this.mainConfig));
}
},
deep: true,
}
},
created() {
if (localStorage.getItem("configData") && localStorage.getItem('remember') === 'true') {
this.mainConfig = JSON.parse(localStorage.getItem("configData"));
}
else if (localStorage.getItem("configData") && localStorage.getItem('remember') === 'false') {
localStorage.removeItem("configData");
}
},
}
</script>
<style scoped>
[role="main"] {
padding-top: 48px;
}
</style>

View file

@ -0,0 +1,42 @@
<template>
<li class="nav-item">
<router-link class="nav-link" v-bind:class="{ active: isActive }" v-if="to" :to="{ name: to, params: { id: id }}">
<img class="mx-2 rounded-circle shadow" v-if="icon_url" :src="require(`../assets/${icon_url}`)" width="42" height="42">
<span class="h6">{{ title }}</span>
</router-link>
<a class="nav-link" :target="targetVal" v-bind:class="{ active: isActive }" v-if="url" :href="url" >
<img class="mx-2 rounded-circle shadow" v-if="icon_url" :src="require(`../assets/${icon_url}`)" width="42" height="42">
<span class="h6">{{ title }}</span>
</a>
</li>
</template>
<script>
export default {
name: "NavItem",
data() {
return {
}
},
props: {
id: Number,
icon_url: String,
title: String,
component: String,
url: String,
to: String,
isActive: Boolean,
targetVal: String,
},
}
</script>
<style scoped>
.active {
background: darkgray;
color: black;
cursor: default;
}
</style>

View file

@ -0,0 +1,245 @@
<template>
<section>
<div class="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 my-2">
<h1 class="h3 text-uppercase font-weight-bolder"><span v-if="currentMaster">{{currentMaster.name}}</span></h1>
</div>
<b-row>
<b-col lg="10" class="my-1">
<b-form-group
label="Filter"
label-cols-sm="1"
label-align-sm="right"
size="sm"
label-for="filterInput"
class="mb-0"
>
<b-input-group size="sm">
<b-form-input
v-model="filter"
type="search"
id="filterInput"
placeholder="Type to Search"
></b-form-input>
<b-input-group-append>
<b-button :disabled="!filter" @click="filter = ''">Clear</b-button>
</b-input-group-append>
</b-input-group>
</b-form-group>
</b-col>
<b-col lg="2" class="my-1" align="right">
<b-dropdown right text="Show/Hide Columns" size="sm" align="right" >
<b-dropdown-form v-for="field in fields"
:key="field.key">
<b-form-checkbox v-model="field.class" v-bind:value="'d-none'">{{ field.label }}</b-form-checkbox>
</b-dropdown-form>
</b-dropdown>
</b-col>
<b-col lg="12" class="my-1">
<b-form-group
label="Filter On"
label-cols-sm="1"
label-align-sm="right"
label-size="sm"
description="Leave all unchecked to filter on all data"
class="mb-0">
<b-form-checkbox-group v-model="filterOn" class="mt-1">
<b-form-checkbox
v-for="field in fields"
:key="field.key"
:value="field.key">
{{ field.label }}
</b-form-checkbox>
</b-form-checkbox-group>
</b-form-group>
</b-col>
<b-col sm="5" md="6" class="my-1">
<b-form-group
label="Per page"
label-cols-sm="6"
label-cols-md="4"
label-cols-lg="3"
label-align-sm="right"
label-size="sm"
label-for="perPageSelect"
class="mb-0"
>
<b-form-select
v-model="perPage"
id="perPageSelect"
size="sm"
:options="pageOptions"
></b-form-select>
</b-form-group>
</b-col>
<b-col sm="7" md="6" class="my-1">
<b-pagination
v-model="currentPage"
:total-rows="totalRows"
:per-page="perPage"
align="fill"
size="sm"
class="my-0"
></b-pagination>
</b-col>
</b-row>
<div class="table-responsive">
<b-table striped hover
:items="filtered_items"
:fields="fields"
:sort-by.sync="sortBy"
:sort-desc.sync="sortDesc"
:sort-direction="sortDirection"
:filter="filter"
:filterIncludedFields="filterOn"
:current-page="currentPage"
:per-page="perPage"
@filtered="onFiltered">
<template v-slot:cell(task_percentage)="data">
<span class="text-monospace">{{ data.value.toFixed(2) }}%</span>
</template>
</b-table>
</div>
</section>
</template>
<script>
import master_json from "../data/masters";
export default {
name: "TableSection",
props: {
configData: Object,
},
data() {
return {
mastersData: master_json,
currentMaster: null,
monstersData: null,
total_weight: 0,
sortDirection: 'desc',
sortDesc: true,
sortBy: 'task_percentage',
filter: null,
filterOn: [],
perPage: 15,
pageOptions: [10, 15, 25],
totalRows: 1,
currentPage: 1,
fields: [
{
key: 'id',
label: 'Monster ID',
sortable: true,
class: 'd-none',
},
{
key: 'monster',
label: 'Monster name',
sortable: true,
class: '',
},
{
key: 'combat_req',
label: 'Combat Requirement',
sortable: true,
class: 'd-none',
},
{
key: 'slayer_req',
label: 'Slayer Requirement',
sortable: true,
class: 'd-none',
},
{
key: 'defence_req',
label: 'Defence Requirement',
sortable: true,
class: 'd-none',
},
{
key: 'task_percentage',
label: 'Task chance',
sortable: true,
class: '',
},
],
filtered_items: [],
}
},
methods: {
reload() {
//set current Slayer Master
this.currentMaster = this.mastersData[this.$route.params.id];
this.monstersData = this.currentMaster.assignments;
//filter the list of Monsters and calculate task chances
this.filterData();
this.generateTaskWeights();
},
filterData() {
this.filtered_items = this.monstersData;
let removeIds = [];
//filter based on Stats
this.configData.statUnlocks.forEach(stat=>{
//for each stat requirement, remove those from list where the current stat value is greater or equal to the monsters requirement value.
this.filtered_items = _.filter(this.filtered_items, function(monster){ return (parseInt(stat.value.current) >= parseInt(monster[stat.filter])) || stat.ignore === 'true' } );
});
//filter based on Point Unlocks
this.configData.pointUnlocks.forEach(reward=>{
if (reward.unlock === 'true' && reward.block) {
removeIds = removeIds.concat(reward.monster_ids)
}
else if (reward.unlock === 'false' && !reward.block && reward.masters.includes(this.currentMaster.id)) {
removeIds = removeIds.concat(reward.monster_ids)
}
});
//filter based on Block List
removeIds = removeIds.concat(this.configData.blockList.map(item => item.monster_ids));
//filter based on Quest unlocks
removeIds = removeIds.concat(this.configData.questUnlocks.filter(quest => quest.unlock === 'false').flatMap(item => item.monster_ids));
//handle removal list
this.filtered_items = _.filter(this.filtered_items, function(monster){ return !removeIds.includes(parseInt(monster.id)) } );
//recalculate row length
this.totalRows = this.filtered_items.length
},
generateTaskWeights() {
//calculate total weight
this.total_weight = this.filtered_items.reduce(function(prev, cur) {
return prev + parseInt(cur.taskweight);
}, 0);
//add new entry with calculated task change
this.filtered_items.forEach(item => {
item.task_percentage = item.taskweight / this.total_weight * 100;
})
},
onFiltered(filteredItems) {
this.totalRows = filteredItems.length
this.currentPage = 1
},
},
created() {
this.reload();
},
watch: {
$route(to, from) {
this.reload();
}
}
}
</script>
<style scoped>
</style>

48
src/components/TopNav.vue Normal file
View file

@ -0,0 +1,48 @@
<template>
<nav class="navbar navbar-dark fixed-top bg-dark px-2 py-0 shadow" role="navigation" aria-label="main navigation">
<ul class="navbar-nav px-3 menu-icon">
<li class="nav-item text-nowrap">
<a class="nav-link" @click="emitMenu">
<svg height="32px" id="Layer_1" style="enable-background:new 0 0 32 32;" version="1.1" viewBox="0 0 32 32" width="32px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path fill="currentColor" d="M4,10h24c1.104,0,2-0.896,2-2s-0.896-2-2-2H4C2.896,6,2,6.896,2,8S2.896,10,4,10z M28,14H4c-1.104,0-2,0.896-2,2 s0.896,2,2,2h24c1.104,0,2-0.896,2-2S29.104,14,28,14z M28,22H4c-1.104,0-2,0.896-2,2s0.896,2,2,2h24c1.104,0,2-0.896,2-2 S29.104,22,28,22z"/></svg> </a>
</li>
</ul>
<div class="d-inline-block text-monospace text-white">Slayer Weight Calculator</div>
<ul class="navbar-nav px-3">
<li class="nav-item text-nowrap">
<a class="nav-link" href="https://github.com/bartvdbraak/slayweightcalc">
<svg xmlns="http://www.w3.org/2000/svg" height="28" class="m-1" viewBox="0 0 512 499.36" role="img" focusable="false"><title>GitHub</title><path fill="currentColor" fill-rule="evenodd" d="M256 0C114.64 0 0 114.61 0 256c0 113.09 73.34 209 175.08 242.9 12.8 2.35 17.47-5.56 17.47-12.34 0-6.08-.22-22.18-.35-43.54-71.2 15.49-86.2-34.34-86.2-34.34-11.64-29.57-28.42-37.45-28.42-37.45-23.27-15.84 1.73-15.55 1.73-15.55 25.69 1.81 39.21 26.38 39.21 26.38 22.84 39.12 59.92 27.82 74.5 21.27 2.33-16.54 8.94-27.82 16.25-34.22-56.84-6.43-116.6-28.43-116.6-126.49 0-27.95 10-50.8 26.35-68.69-2.63-6.48-11.42-32.5 2.51-67.75 0 0 21.49-6.88 70.4 26.24a242.65 242.65 0 0 1 128.18 0c48.87-33.13 70.33-26.24 70.33-26.24 14 35.25 5.18 61.27 2.55 67.75 16.41 17.9 26.31 40.75 26.31 68.69 0 98.35-59.85 120-116.88 126.32 9.19 7.9 17.38 23.53 17.38 47.41 0 34.22-.31 61.83-.31 70.23 0 6.85 4.61 14.81 17.6 12.31C438.72 464.97 512 369.08 512 256.02 512 114.62 397.37 0 256 0z"></path></svg>
</a>
</li>
</ul>
</nav>
</template>
<script>
export default {
name: "Navbar",
methods: {
emitMenu() {
this.$emit('clicked');
}
}
}
</script>
<style scoped>
.navbar {
padding: .75rem 1rem;
border-width: 0;
border-radius: 0;
}
.menu-icon {
display: none;
}
@media (max-width: 768px) {
.menu-icon {
display: block;
cursor: pointer;
}
}
</style>

2514
src/data/masters.json Normal file

File diff suppressed because it is too large Load diff

772
src/data/monsters.json Normal file
View file

@ -0,0 +1,772 @@
[
{
"value": 0,
"text": "Aberrant spectres",
"slayer_req": 60,
"combat_req": 65,
"defence_req": 0
},
{
"value": 1,
"text": "Abyssal demons",
"slayer_req": 85,
"combat_req": 85,
"defence_req": 0
},
{
"value": 2,
"text": "Adamant dragons",
"slayer_req": 1,
"combat_req": 0,
"defence_req": 0
},
{
"value": 3,
"text": "Ankous",
"slayer_req": 1,
"combat_req": 40,
"defence_req": 0
},
{
"value": 4,
"text": "Aviansies",
"slayer_req": 1,
"combat_req": 0,
"defence_req": 0
},
{
"value": 5,
"text": "Bandits",
"slayer_req": 1,
"combat_req": 0,
"defence_req": 0
},
{
"value": 6,
"text": "Banshees",
"slayer_req": 15,
"combat_req": 20,
"defence_req": 0
},
{
"value": 7,
"text": "Basilisks",
"slayer_req": 40,
"combat_req": 40,
"defence_req": 20
},
{
"value": 8,
"text": "Bats",
"slayer_req": 1,
"combat_req": 5,
"defence_req": 0
},
{
"value": 9,
"text": "Bears",
"slayer_req": 1,
"combat_req": 13,
"defence_req": 0
},
{
"value": 10,
"text": "Birds",
"slayer_req": 1,
"combat_req": 0,
"defence_req": 0
},
{
"value": 11,
"text": "Black demons",
"slayer_req": 1,
"combat_req": 80,
"defence_req": 0
},
{
"value": 12,
"text": "Black dragons",
"slayer_req": 1,
"combat_req": 80,
"defence_req": 0
},
{
"value": 13,
"text": "Bloodvelds",
"slayer_req": 50,
"combat_req": 50,
"defence_req": 0
},
{
"value": 14,
"text": "Blue dragons",
"slayer_req": 1,
"combat_req": 65,
"defence_req": 0
},
{
"value": 15,
"text": "Bosses",
"slayer_req": 1,
"combat_req": 0,
"defence_req": 0
},
{
"value": 16,
"text": "Brine rats",
"slayer_req": 47,
"combat_req": 45,
"defence_req": 0
},
{
"value": 17,
"text": "Bronze dragons",
"slayer_req": 1,
"combat_req": 75,
"defence_req": 0
},
{
"value": 18,
"text": "Catablepons",
"slayer_req": 1,
"combat_req": 35,
"defence_req": 0
},
{
"value": 19,
"text": "Cave bugs",
"slayer_req": 7,
"combat_req": 0,
"defence_req": 0
},
{
"value": 20,
"text": "Cave crawlers",
"slayer_req": 10,
"combat_req": 10,
"defence_req": 0
},
{
"value": 21,
"text": "Cave horrors",
"slayer_req": 58,
"combat_req": 85,
"defence_req": 0
},
{
"value": 22,
"text": "Cave krakens",
"slayer_req": 87,
"combat_req": 80,
"defence_req": 0
},
{
"value": 23,
"text": "Cave slimes",
"slayer_req": 17,
"combat_req": 15,
"defence_req": 0
},
{
"value": 24,
"text": "Chaos druids",
"slayer_req": 1,
"combat_req": 0,
"defence_req": 0
},
{
"value": 25,
"text": "Cockatrices",
"slayer_req": 25,
"combat_req": 25,
"defence_req": 20
},
{
"value": 26,
"text": "Cows",
"slayer_req": 1,
"combat_req": 5,
"defence_req": 0
},
{
"value": 27,
"text": "Crawling Hands",
"slayer_req": 5,
"combat_req": 0,
"defence_req": 0
},
{
"value": 28,
"text": "Crocodiles",
"slayer_req": 1,
"combat_req": 50,
"defence_req": 0
},
{
"value": 29,
"text": "Dagannoths",
"slayer_req": 1,
"combat_req": 75,
"defence_req": 0
},
{
"value": 30,
"text": "Dark beasts",
"slayer_req": 90,
"combat_req": 90,
"defence_req": 0
},
{
"value": 31,
"text": "Dark warriors",
"slayer_req": 1,
"combat_req": 0,
"defence_req": 0
},
{
"value": 32,
"text": "Dogs",
"slayer_req": 1,
"combat_req": 15,
"defence_req": 0
},
{
"value": 33,
"text": "Drakes",
"slayer_req": 84,
"combat_req": 0,
"defence_req": 0
},
{
"value": 34,
"text": "Dust devils",
"slayer_req": 65,
"combat_req": 70,
"defence_req": 0
},
{
"value": 35,
"text": "Dwarves",
"slayer_req": 1,
"combat_req": 6,
"defence_req": 0
},
{
"value": 36,
"text": "Earth warriors",
"slayer_req": 1,
"combat_req": 35,
"defence_req": 0
},
{
"value": 37,
"text": "Elves",
"slayer_req": 1,
"combat_req": 0,
"defence_req": 0
},
{
"value": 38,
"text": "Ents",
"slayer_req": 1,
"combat_req": 0,
"defence_req": 0
},
{
"value": 39,
"text": "Fever spiders",
"slayer_req": 42,
"combat_req": 40,
"defence_req": 0
},
{
"value": 40,
"text": "Fire giants",
"slayer_req": 1,
"combat_req": 65,
"defence_req": 0
},
{
"value": 41,
"text": "Flesh Crawlers",
"slayer_req": 1,
"combat_req": 15,
"defence_req": 0
},
{
"value": 42,
"text": "Fossil Island Wyverns",
"slayer_req": 66,
"combat_req": 60,
"defence_req": 0
},
{
"value": 43,
"text": "Gargoyles",
"slayer_req": 75,
"combat_req": 80,
"defence_req": 0
},
{
"value": 44,
"text": "Ghosts",
"slayer_req": 1,
"combat_req": 13,
"defence_req": 0
},
{
"value": 45,
"text": "Ghouls",
"slayer_req": 1,
"combat_req": 25,
"defence_req": 0
},
{
"value": 46,
"text": "Goblins",
"slayer_req": 1,
"combat_req": 0,
"defence_req": 0
},
{
"value": 47,
"text": "Greater demons",
"slayer_req": 1,
"combat_req": 75,
"defence_req": 0
},
{
"value": 48,
"text": "Green dragons",
"slayer_req": 1,
"combat_req": 52,
"defence_req": 0
},
{
"value": 49,
"text": "Harpie Bug Swarms",
"slayer_req": 33,
"combat_req": 45,
"defence_req": 0
},
{
"value": 50,
"text": "Hellhounds",
"slayer_req": 1,
"combat_req": 75,
"defence_req": 0
},
{
"value": 51,
"text": "Hill Giants",
"slayer_req": 1,
"combat_req": 25,
"defence_req": 0
},
{
"value": 52,
"text": "Hobgoblins",
"slayer_req": 1,
"combat_req": 20,
"defence_req": 0
},
{
"value": 53,
"text": "Hydras",
"slayer_req": 95,
"combat_req": 0,
"defence_req": 0
},
{
"value": 54,
"text": "Ice giants",
"slayer_req": 1,
"combat_req": 50,
"defence_req": 0
},
{
"value": 55,
"text": "Ice warriors",
"slayer_req": 1,
"combat_req": 45,
"defence_req": 0
},
{
"value": 56,
"text": "Icefiends",
"slayer_req": 1,
"combat_req": 20,
"defence_req": 0
},
{
"value": 57,
"text": "Infernal Mages",
"slayer_req": 45,
"combat_req": 40,
"defence_req": 0
},
{
"value": 58,
"text": "Iron dragons",
"slayer_req": 1,
"combat_req": 80,
"defence_req": 0
},
{
"value": 59,
"text": "Jellies",
"slayer_req": 52,
"combat_req": 57,
"defence_req": 0
},
{
"value": 60,
"text": "Jungle horrors",
"slayer_req": 1,
"combat_req": 65,
"defence_req": 0
},
{
"value": 61,
"text": "Kalphites",
"slayer_req": 1,
"combat_req": 15,
"defence_req": 0
},
{
"value": 62,
"text": "Killerwatts",
"slayer_req": 37,
"combat_req": 50,
"defence_req": 0
},
{
"value": 63,
"text": "Kurasks",
"slayer_req": 70,
"combat_req": 65,
"defence_req": 0
},
{
"value": 64,
"text": "Lava dragons",
"slayer_req": 1,
"combat_req": 0,
"defence_req": 0
},
{
"value": 65,
"text": "Lesser demons",
"slayer_req": 1,
"combat_req": 60,
"defence_req": 0
},
{
"value": 66,
"text": "Lizardmen",
"slayer_req": 1,
"combat_req": 0,
"defence_req": 0
},
{
"value": 67,
"text": "Lizards",
"slayer_req": 22,
"combat_req": 15,
"defence_req": 0
},
{
"value": 68,
"text": "Magic axes",
"slayer_req": 1,
"combat_req": 0,
"defence_req": 0
},
{
"value": 69,
"text": "Mammoths",
"slayer_req": 1,
"combat_req": 0,
"defence_req": 0
},
{
"value": 70,
"text": "Minions of Scabaras",
"slayer_req": 1,
"combat_req": 85,
"defence_req": 0
},
{
"value": 71,
"text": "Minotaurs",
"slayer_req": 1,
"combat_req": 7,
"defence_req": 0
},
{
"value": 72,
"text": "Mithril dragons",
"slayer_req": 1,
"combat_req": 0,
"defence_req": 0
},
{
"value": 73,
"text": "Mogres",
"slayer_req": 32,
"combat_req": 30,
"defence_req": 0
},
{
"value": 74,
"text": "Molanisks",
"slayer_req": 39,
"combat_req": 50,
"defence_req": 0
},
{
"value": 75,
"text": "Monkeys",
"slayer_req": 1,
"combat_req": 0,
"defence_req": 0
},
{
"value": 76,
"text": "Moss giants",
"slayer_req": 1,
"combat_req": 40,
"defence_req": 0
},
{
"value": 77,
"text": "Mutated zygomites",
"slayer_req": 57,
"combat_req": 60,
"defence_req": 0
},
{
"value": 78,
"text": "Nechryaels",
"slayer_req": 80,
"combat_req": 85,
"defence_req": 0
},
{
"value": 79,
"text": "Ogres",
"slayer_req": 1,
"combat_req": 40,
"defence_req": 0
},
{
"value": 80,
"text": "Otherworldly beings",
"slayer_req": 1,
"combat_req": 40,
"defence_req": 0
},
{
"value": 81,
"text": "Pyrefiends",
"slayer_req": 30,
"combat_req": 25,
"defence_req": 0
},
{
"value": 82,
"text": "Rats",
"slayer_req": 1,
"combat_req": 0,
"defence_req": 0
},
{
"value": 83,
"text": "Red dragons",
"slayer_req": 1,
"combat_req": 68,
"defence_req": 0
},
{
"value": 84,
"text": "Revenants",
"slayer_req": 1,
"combat_req": 0,
"defence_req": 0
},
{
"value": 85,
"text": "Rockslugs",
"slayer_req": 20,
"combat_req": 20,
"defence_req": 0
},
{
"value": 86,
"text": "Rogues",
"slayer_req": 1,
"combat_req": 0,
"defence_req": 0
},
{
"value": 87,
"text": "Rune dragons",
"slayer_req": 1,
"combat_req": 0,
"defence_req": 0
},
{
"value": 88,
"text": "Scorpions",
"slayer_req": 1,
"combat_req": 7,
"defence_req": 0
},
{
"value": 89,
"text": "Sea snakes",
"slayer_req": 40,
"combat_req": 50,
"defence_req": 0
},
{
"value": 90,
"text": "Shades",
"slayer_req": 1,
"combat_req": 30,
"defence_req": 0
},
{
"value": 91,
"text": "Shadow warriors",
"slayer_req": 1,
"combat_req": 60,
"defence_req": 0
},
{
"value": 92,
"text": "Skeletal Wyverns",
"slayer_req": 72,
"combat_req": 70,
"defence_req": 0
},
{
"value": 93,
"text": "Skeletons",
"slayer_req": 1,
"combat_req": 15,
"defence_req": 0
},
{
"value": 94,
"text": "Smoke devils",
"slayer_req": 93,
"combat_req": 85,
"defence_req": 0
},
{
"value": 95,
"text": "Spiders",
"slayer_req": 1,
"combat_req": 0,
"defence_req": 0
},
{
"value": 96,
"text": "Spiritual creatures",
"slayer_req": 63,
"combat_req": 60,
"defence_req": 0
},
{
"value": 97,
"text": "Steel dragons",
"slayer_req": 1,
"combat_req": 85,
"defence_req": 0
},
{
"value": 98,
"text": "Suqahs",
"slayer_req": 1,
"combat_req": 85,
"defence_req": 0
},
{
"value": 99,
"text": "Terror dogs",
"slayer_req": 40,
"combat_req": 60,
"defence_req": 0
},
{
"value": 100,
"text": "Trolls",
"slayer_req": 1,
"combat_req": 60,
"defence_req": 0
},
{
"value": 101,
"text": "Turoths",
"slayer_req": 55,
"combat_req": 60,
"defence_req": 0
},
{
"value": 102,
"text": "TzHaar",
"slayer_req": 1,
"combat_req": 0,
"defence_req": 0
},
{
"value": 103,
"text": "Vampyres",
"slayer_req": 1,
"combat_req": 35,
"defence_req": 0
},
{
"value": 104,
"text": "Wall beasts",
"slayer_req": 35,
"combat_req": 30,
"defence_req": 5
},
{
"value": 105,
"text": "Waterfiends",
"slayer_req": 1,
"combat_req": 75,
"defence_req": 0
},
{
"value": 106,
"text": "Werewolves",
"slayer_req": 1,
"combat_req": 60,
"defence_req": 0
},
{
"value": 107,
"text": "Wolves",
"slayer_req": 1,
"combat_req": 20,
"defence_req": 0
},
{
"value": 108,
"text": "Wyrms",
"slayer_req": 62,
"combat_req": 0,
"defence_req": 0
},
{
"value": 109,
"text": "Zombies",
"slayer_req": 1,
"combat_req": 10,
"defence_req": 0
}
]

37
src/main.js Normal file
View file

@ -0,0 +1,37 @@
/*
* Copyright (c) 2019, Bart van der Braak
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* @author Bart
*/
import '@babel/polyfill'
import 'mutationobserver-shim'
import 'lodash'
import Vue from 'vue'
import './plugins/bootstrap-vue'
import VueRouter from 'vue-router'
import App from './App.vue'
import ConfigSection from "./components/ConfigSection";
import TableSection from "./components/TableSection";
Vue.config.productionTip = false;
Vue.use(VueRouter);
const routes = [
{ path: '/', name: 'config', component: ConfigSection },
{ path: '/master/:id', name: 'master', component: TableSection },
{ path: '**', redirect: {name: 'config'}},
];
const router = new VueRouter({
mode: 'hash',
routes
});
new Vue({
router,
render: h => h(App),
}).$mount('#app');

7
src/plugins/bootstrap-vue.js vendored Normal file
View file

@ -0,0 +1,7 @@
import Vue from 'vue'
import BootstrapVue from 'bootstrap-vue'
import 'bootstrap/dist/css/bootstrap.min.css'
import 'bootstrap-vue/dist/bootstrap-vue.css'
Vue.use(BootstrapVue)

8434
yarn.lock Normal file

File diff suppressed because it is too large Load diff