Skip to content

Commit

Permalink
Huey (#6223)
Browse files Browse the repository at this point in the history
  • Loading branch information
gc authored Nov 25, 2024
1 parent 9275691 commit c261454
Show file tree
Hide file tree
Showing 63 changed files with 4,282 additions and 2,795 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
timeout-minutes: 5
strategy:
matrix:
node_version: [20.15.0]
node_version: [20.18.1]
os: [ubuntu-latest]
concurrency:
group: ${{ github.ref_name }}-unittests
Expand All @@ -37,11 +37,11 @@ jobs:
with:
path: node_modules
key: ${{ runner.os }}-${{ matrix.node_version }}-${{ hashFiles('**/pnpm-lock.yaml') }}
- name: Install Dependencies
run: pnpm install --shamefully-hoist --frozen-lockfile
- name: Copy Configuration
run: |
cp .env.test .env
- name: Install Dependencies
run: pnpm install
- name: Build
run: pnpm monorepo:build
- name: Test
Expand Down
12 changes: 0 additions & 12 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
# Klasa
*.log
/config/private.js
/config/private.json
private.json
trivia-questions.json
dist/
bwd/
icon_cache/
.env
queries.txt
/logs

.yarn
Expand All @@ -27,16 +22,11 @@ node_modules/
# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

/coverage
*.cpuprofile

cache.json

tests/**/*.tsbuildinfo

.pnp.*
.yarn/*
!.yarn/patches
Expand All @@ -48,10 +38,8 @@ item/

tmp


robochimp
wiki.xml

.pnpm-store
*.tsbuildinfo
*/coverage
4 changes: 4 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
shamefully-hoist=true
hoist=true
link-workspace-packages=true
include-workspace-root=true
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ dist
coverage
node_modules
logs
licenses
licenses
pnpm-lock.yaml
2 changes: 2 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
"include": ["**/*.ts", "**/*.mts", "**/*.json", "**/*.test.ts", "**/*.mdx", "**/*.md", "**/*.mjs", "**/*.cjs"]
},
"vcs": {
"enabled": true,
"clientKind": "git",
"defaultBranch": "master"
},
"linter": {
Expand Down
2 changes: 1 addition & 1 deletion dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ ENTRYPOINT ["dumb-init", "--"]
FROM base AS dependencies
WORKDIR /usr/src/app

COPY package.json pnpm-workspace.yaml pnpm-lock.yaml ./
COPY package.json pnpm-workspace.yaml pnpm-lock.yaml .npmrc ./
COPY .env.test .env

RUN pnpm install --frozen-lockfile
Expand Down
3 changes: 2 additions & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"unist-util-visit-parents": "^6.0.1"
},
"devDependencies": {
"@types/markdown-it": "^14"
"@types/markdown-it": "^14",
"typescript": "^5.5.3"
}
}
356 changes: 176 additions & 180 deletions docs/src/content/docs/getting-started/wiki.md

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions docs/src/content/docs/osb/combat-achievements.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,8 @@ Rewards can be claimed by simply using [[/ca claim]] after completing a new tier
| Skotizo | Demonic Weakening | 1 in 5 chance per kill |
| Tempoross | Tempoross Champion | 10x Tempoross KC. |
| Tempoross | The Lone Angler | 1 in 25 chance per kill |
| TheHueycoatl | You're a wizard | 1 in 10 chance per kill |
| TheHueycoatl | Hueycoatl Champion | 1x The Hueycoatl KC |
| Wintertodt | Leaving No One Behind | 1 in 50 chance per kill |
| Wintertodt | Can We Fix It? | 1 in 6 chance per kill |
| Wintertodt | Wintertodt Champion | 10x Wintertodt KC. |
Expand Down Expand Up @@ -241,6 +243,9 @@ Rewards can be claimed by simply using [[/ca claim]] after completing a new tier
| Tempoross | Why Cook? | 1 in 5 chance per kill |
| The Nightmare | Nightmare Adept | 1x The Nightmare KC |
| Theatre of Blood: Entry Mode | Theatre of Blood: SM Adept | 1x Theatre of Blood KC. |
| TheHueycoatl | I'm your son | 1 in 1 chance per kill |
| TheHueycoatl | Pillar Lover | 1 in 25 chance per kill |
| TheHueycoatl | Hueycoatl Adept | 10x The Hueycoatl KC |
| Tombs of Amascut | Movin' on up | 1 in 1 chance per kill |
| Tombs of Amascut: Entry Mode | Confident Raider | 1x Tombs of Amascut KC. |
| Tombs of Amascut: Entry Mode | Novice Tomb Explorer | 1x Tombs of Amascut KC. |
Expand Down Expand Up @@ -356,6 +361,9 @@ Rewards can be claimed by simply using [[/ca claim]] after completing a new tier
| Theatre of Blood: Entry Mode | No-Pillar | 1 in 13 chance per kill |
| Theatre of Blood: Entry Mode | Pass It On | 1 in 13 chance per kill |
| Theatre of Blood: Entry Mode | Don't Look at Me! | 1 in 22 chance per kill |
| TheHueycoatl | Hueycoatl Veteran | 25x The Hueycoatl KC |
| TheHueycoatl | Perfect Hueycoatl | 1 in 50 chance per kill |
| TheHueycoatl | Hueycoatl Speed-Trialist | 1 in 50 chance per kill |
| Thermonuclear Smoke Devil | Hazard Prevention | 1 in 15 chance per kill |
| Thermonuclear Smoke Devil | Thermonuclear Veteran | 20x Thermonuclear smoke devil KC |
| Thermonuclear Smoke Devil | Spec'd Out | 1 in 5 chance per kill |
Expand Down Expand Up @@ -510,6 +518,8 @@ Rewards can be claimed by simply using [[/ca claim]] after completing a new tier
| Theatre of Blood | Perfect Nylocas | 1 in 55 chance per kill |
| Theatre of Blood: Entry Mode | Theatre of Blood: SM Speed-Chaser | 1 in 10 chance per kill |
| Theatre of Blood: Hard Mode | Hard Mode? Completed It | 1 in 55 chance per kill |
| TheHueycoatl | Is it a bird? | 1 in 1 chance per kill |
| TheHueycoatl | Hueycoatl Speed-Chaser | 1 in 70 chance per kill |
| Tombs of Amascut | Better get movin' | 1 in 55 chance per kill |
| Tombs of Amascut | Tomb Raider | 50x Tombs of Amascut KC. |
| Tombs of Amascut | Chompington | 1 in 25 chance per kill |
Expand Down Expand Up @@ -629,6 +639,7 @@ Rewards can be claimed by simply using [[/ca claim]] after completing a new tier
| Theatre of Blood: Hard Mode | Personal Space | 1 in 22 chance per kill |
| Theatre of Blood: Hard Mode | Royal Affairs | 1 in 44 chance per kill |
| Theatre of Blood: Hard Mode | Harder Mode II | 1 in 55 chance per kill |
| TheHueycoatl | Hueycoatl Speed-Runner | 1 in 100 chance per kill |
| Tombs of Amascut: Expert Mode | All Praise Zebak | 1 in 22 chance per kill |
| Tombs of Amascut: Expert Mode | Amascut's Remnant | Items Must Be in CL: 1x Cursed phalanx |
| Tombs of Amascut: Expert Mode | Expert Tomb Raider | Complete the Tombs of Amascut (Expert mode) 25 times. |
Expand Down
139 changes: 139 additions & 0 deletions docs/src/content/docs/osb/monsters.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3878,6 +3878,145 @@ Wildy gear boosts:
</Tabs>
---

## The Hueycoatl

<Tabs>
<TabItem label="Information">
- You can view the drops for this monster on the osrs wiki: [The Hueycoatl](https://oldschool.runescape.wiki/w/The%20Hueycoatl)

- You can send your minion to kill this monster using: [[/k name\:The Hueycoatl]]

- You can check your KC using: [[/minion kc name\:The Hueycoatl]]

- You can check the KC leaderboard using: [[/lb kc monster\:The Hueycoatl]]

- You can check your collection log using: [[/cl name\:The Hueycoatl]]

- You can check the collection log leaderboard using: [[/lb cl cl\:The Hueycoatl]]

</TabItem>
<TabItem label="Costs">
- Requires food in your bank to kill, the amount needed is heavily reduced based on your gear/experience.

**Item Cost**

- [[Super restore(4)]] or [[Prayer potion(4)]]

- [[Divine super combat potion(4)]]

- [[Cooked karambwan]]

</TabItem>
<TabItem label="Requirements">
[[qp\:100]]

[[prayer\:43]] [[attack\:70]] [[strength\:70]] [[defence\:70]] [[hitpoints\:70]]

**Required Quests**

- Children of the Sun

</TabItem>
<TabItem label="Boosts">
<details>
<summary>Item in Bank Boosts</summary>
These boosts are applied from just being in your bank, and do not need to be equipped (but can also be equipped). The best boost you can use will automatically be used.

You can have one of the following boosts:

- 4% boost for [[Dragon claws]]

---

</details>
<details>
<summary>Equipped Item Boosts</summary>
To get these boosts, you need the item equipped in the right setup. The best boost you can use will automatically be used.

Melee gear boosts:

- 10% boost for [[Dragon hunter lance]]

- 9% boost for [[Inquisitor's mace]]

- 9% boost for [[Soulreaper axe]]

- 9% boost for [[Abyssal bludgeon]]

---

Melee gear boosts:

- 5% boost for [[Avernic defender]]

---

Melee gear boosts:

- 4% boost for [[Amulet of rancour]]

- 2% boost for [[Amulet of torture]]

---

Melee gear boosts:

- 4% boost for [[Infernal cape]]

- 2% boost for [[Fire cape]]

---

Melee gear boosts:

- 4% boost for [[Ferocious gloves]]

- 2% boost for [[Barrows gloves]]

---

Melee gear boosts:

- 2% boost for [[Inquisitor's hauberk]]

- 2% boost for [[Torva platebody]]

- 2% boost for [[Bandos chestplate]]

---

Melee gear boosts:

- 2% boost for [[Inquisitor's plateskirt]]

- 2% boost for [[Torva platelegs]]

- 2% boost for [[Bandos tassets]]

---

Melee gear boosts:

- 2% boost for [[Primordial boots]]

---

</details>
<details>
<summary>Degradeable/Chargeable Item Boosts</summary>
These boosts are for items which degrade or have charges.

Melee gear boosts:

- 10% boost for [[Scythe of vitur]]

---

</details>
</TabItem>
</Tabs>
---

## The Leviathan

<Tabs>
Expand Down
8 changes: 4 additions & 4 deletions docs/src/plugins/items.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ import { visitParents } from 'unist-util-visit-parents';

import bsoItemsJson from '../../../data/bso_items.json';
import commandsJson from '../../../data/osb.commands.json';
import { SkillsArray } from '../../../src/lib/skilling/types';
import { authorsMap } from './authors';
import { SkillsArray } from '../../../src/lib/skilling/types.js';
import { authorsMap } from './authors.js';

const bsoItems = Object.entries(bsoItemsJson);

const imageExtensions = ['png', 'jpg', 'jpeg', 'gif', 'webp'];

export function remarkItems(options: any) {
export function remarkItems(_options: any) {
return (tree: any) => {
visitParents(tree, 'text', (node, parents) => {
visitParents(tree, 'text', (node, _parents) => {
const value = collapseWhiteSpace(node.value, { style: 'html', trim: true });
const matches = [...value.matchAll(/\[\[([\s\S]*?)\]\]/g)].map(i => i[1]);
if (matches.length === 0) return;
Expand Down
2 changes: 1 addition & 1 deletion docs/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"extends": "astro/tsconfigs/strict"
"extends": "../tsconfig.base.json"
}
Loading

0 comments on commit c261454

Please sign in to comment.