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

More divine water options #6013

Merged
merged 3 commits into from
Aug 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 1 addition & 17 deletions src/lib/data/creatables/bsoItems.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1192,23 +1192,7 @@ const dragonBoneCreatables: Createable[] = [
}
];

const divineWaterBones = [
'Bones',
'Big bones',
'Jogre bones',
'Babydragon bones',
'Dragon bones',
'Wyrm bones',
'Wyvern bones',
'Drake bones',
'Lava dragon bones',
'Hydra bones',
'Dagannoth bones',
'Superior dragon bones',
'Abyssal dragon bones',
'Frost dragon bones',
'Royal dragon bones'
];
const divineWaterBones = bones.map(bone => bone.name);

function divineWaterInputItems(user: MUser, preferredBone?: Bone) {
const userBank = user.bank;
Expand Down
10 changes: 9 additions & 1 deletion src/lib/data/creatablesTable.txt
Original file line number Diff line number Diff line change
Expand Up @@ -828,16 +828,24 @@
| Revert masori chaps | 1x Masori chaps | 3x Masori components | 0 |
| Divine water | Unknown/Dynamic | 1x Divine water | 0 |
| Divine water (Bones) | Unknown/Dynamic | 1x Divine water | 0 |
| Divine water (Wolf bones) | Unknown/Dynamic | 1x Divine water | 0 |
| Divine water (Monkey bones) | Unknown/Dynamic | 1x Divine water | 0 |
| Divine water (Bat bones) | Unknown/Dynamic | 1x Divine water | 0 |
| Divine water (Big bones) | Unknown/Dynamic | 1x Divine water | 0 |
| Divine water (Jogre bones) | Unknown/Dynamic | 1x Divine water | 0 |
| Divine water (Zogre bones) | Unknown/Dynamic | 1x Divine water | 0 |
| Divine water (Shaikahan bones) | Unknown/Dynamic | 1x Divine water | 0 |
| Divine water (Babydragon bones) | Unknown/Dynamic | 1x Divine water | 0 |
| Divine water (Dragon bones) | Unknown/Dynamic | 1x Divine water | 0 |
| Divine water (Wyrm bones) | Unknown/Dynamic | 1x Divine water | 0 |
| Divine water (Dragon bones) | Unknown/Dynamic | 1x Divine water | 0 |
| Divine water (Wyvern bones) | Unknown/Dynamic | 1x Divine water | 0 |
| Divine water (Drake bones) | Unknown/Dynamic | 1x Divine water | 0 |
| Divine water (Fayrg bones) | Unknown/Dynamic | 1x Divine water | 0 |
| Divine water (Lava dragon bones) | Unknown/Dynamic | 1x Divine water | 0 |
| Divine water (Raurg bones) | Unknown/Dynamic | 1x Divine water | 0 |
| Divine water (Hydra bones) | Unknown/Dynamic | 1x Divine water | 0 |
| Divine water (Dagannoth bones) | Unknown/Dynamic | 1x Divine water | 0 |
| Divine water (Ourg bones) | Unknown/Dynamic | 1x Divine water | 0 |
| Divine water (Superior dragon bones) | Unknown/Dynamic | 1x Divine water | 0 |
| Divine water (Abyssal dragon bones) | Unknown/Dynamic | 1x Divine water | 0 |
| Divine water (Frost dragon bones) | Unknown/Dynamic | 1x Divine water | 0 |
Expand Down
92 changes: 90 additions & 2 deletions tests/unit/snapshots/banksnapshots.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -23897,6 +23897,39 @@ exports[`BSO Creatables 1`] = `
"frozen": false,
},
},
{
"cantHaveItems": undefined,
"inputItems": "function",
"name": "Divine water (Wolf bones)",
"outputItems": Bank {
"bank": {
"50599": 1,
},
"frozen": false,
},
},
{
"cantHaveItems": undefined,
"inputItems": "function",
"name": "Divine water (Monkey bones)",
"outputItems": Bank {
"bank": {
"50599": 1,
},
"frozen": false,
},
},
{
"cantHaveItems": undefined,
"inputItems": "function",
"name": "Divine water (Bat bones)",
"outputItems": Bank {
"bank": {
"50599": 1,
},
"frozen": false,
},
},
{
"cantHaveItems": undefined,
"inputItems": "function",
Expand All @@ -23922,7 +23955,7 @@ exports[`BSO Creatables 1`] = `
{
"cantHaveItems": undefined,
"inputItems": "function",
"name": "Divine water (Babydragon bones)",
"name": "Divine water (Zogre bones)",
"outputItems": Bank {
"bank": {
"50599": 1,
Expand All @@ -23933,7 +23966,18 @@ exports[`BSO Creatables 1`] = `
{
"cantHaveItems": undefined,
"inputItems": "function",
"name": "Divine water (Dragon bones)",
"name": "Divine water (Shaikahan bones)",
"outputItems": Bank {
"bank": {
"50599": 1,
},
"frozen": false,
},
},
{
"cantHaveItems": undefined,
"inputItems": "function",
"name": "Divine water (Babydragon bones)",
"outputItems": Bank {
"bank": {
"50599": 1,
Expand All @@ -23952,6 +23996,17 @@ exports[`BSO Creatables 1`] = `
"frozen": false,
},
},
{
"cantHaveItems": undefined,
"inputItems": "function",
"name": "Divine water (Dragon bones)",
"outputItems": Bank {
"bank": {
"50599": 1,
},
"frozen": false,
},
},
{
"cantHaveItems": undefined,
"inputItems": "function",
Expand All @@ -23974,6 +24029,17 @@ exports[`BSO Creatables 1`] = `
"frozen": false,
},
},
{
"cantHaveItems": undefined,
"inputItems": "function",
"name": "Divine water (Fayrg bones)",
"outputItems": Bank {
"bank": {
"50599": 1,
},
"frozen": false,
},
},
{
"cantHaveItems": undefined,
"inputItems": "function",
Expand All @@ -23985,6 +24051,17 @@ exports[`BSO Creatables 1`] = `
"frozen": false,
},
},
{
"cantHaveItems": undefined,
"inputItems": "function",
"name": "Divine water (Raurg bones)",
"outputItems": Bank {
"bank": {
"50599": 1,
},
"frozen": false,
},
},
{
"cantHaveItems": undefined,
"inputItems": "function",
Expand All @@ -24007,6 +24084,17 @@ exports[`BSO Creatables 1`] = `
"frozen": false,
},
},
{
"cantHaveItems": undefined,
"inputItems": "function",
"name": "Divine water (Ourg bones)",
"outputItems": Bank {
"bank": {
"50599": 1,
},
"frozen": false,
},
},
{
"cantHaveItems": undefined,
"inputItems": "function",
Expand Down