Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow multiple tiny tempors & Add rope to buyables #5396

Merged
merged 9 commits into from
Nov 25, 2023
6 changes: 6 additions & 0 deletions src/lib/data/buyables/buyables.ts
Original file line number Diff line number Diff line change
Expand Up @@ -739,6 +739,12 @@ const noveltyFood: Buyable[] = [
];

const Buyables: Buyable[] = [
{
name: 'Rope',
aliases: ['rope'],
gpCost: 100,
ironmanPrice: 25
},
{
name: 'Fishing Bait',
aliases: ['fishing bait'],
Expand Down
2 changes: 1 addition & 1 deletion src/lib/simulation/tempoross.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Bank } from 'oldschooljs';
import LootTable from 'oldschooljs/dist/structures/LootTable';

const replaceItems = ['Fish barrel', 'Tackle box', 'Big harpoonfish', 'Tiny tempor'];
const replaceItems = ['Fish barrel', 'Tackle box', 'Big harpoonfish'];

const PoolCasketTable = new LootTable()
.add('Rune med helm', 1, 9)
Expand Down
13 changes: 13 additions & 0 deletions tests/unit/snapshots/banksnapshots.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@

exports[`OSB Buyables 1`] = `
[
{
"aliases": [
"rope",
],
"gpCost": 100,
"ironmanPrice": 25,
"itemCost": Bank {
"bank": {},
"frozen": false,
},
"name": "Rope",
"outputItems": undefined,
},
{
"aliases": [
"fishing bait",
Expand Down