Skip to content

Commit

Permalink
fix some packs
Browse files Browse the repository at this point in the history
  • Loading branch information
nwjgit committed Aug 6, 2024
1 parent fed4468 commit bcefd62
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 103 deletions.
104 changes: 4 additions & 100 deletions src/lib/data/creatables/armorPacks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2164,29 +2164,6 @@ export const armorAndItemPacks: Createable[] = [
[itemID('Mystic set (dusk)')]: 1
}
},
// {
// name: "Unpack dagon'hai robes set",
// inputItems: {
// [itemID("Dagon'hai robes set")]: 1
// },
// outputItems: {
// [itemID("Dagon'hai hat")]: 1,
// [itemID("Dagon'hai robe top")]: 1,
// [itemID("Dagon'hai robe bottom")]: 1
// },
// noCl: true
// },
// {
// name: "Dagon'hai robes set",
// inputItems: {
// [itemID("Dagon'hai hat")]: 1,
// [itemID("Dagon'hai robe top")]: 1,
// [itemID("Dagon'hai robe bottom")]: 1
// },
// outputItems: {
// [itemID("Dagon'hai robes set")]: 1
// }
// },
{
name: 'Unpack ancestral robes set',
inputItems: {
Expand Down Expand Up @@ -2361,82 +2338,6 @@ export const armorAndItemPacks: Createable[] = [
[itemID('Book of war page set')]: 1
}
},
// twisted relichunter
// {
// name: 'Unpack twisted relichunter (t1) armour set',
// inputItems: {
// [itemID('Twisted relichunter (t1) armour set')]: 1
// },
// outputItems: {
// [itemID('Twisted hat (t1)')]: 1,
// [itemID('Twisted coat (t1)')]: 1,
// [itemID('Twisted trousers (t1)')]: 1,
// [itemID('Twisted boots (t1)')]: 1
// },
// noCl: true
// },
// {
// name: 'Twisted relichunter (t1) armour set',
// inputItems: {
// [itemID('Twisted hat (t1)')]: 1,
// [itemID('Twisted coat (t1)')]: 1,
// [itemID('Twisted trousers (t1)')]: 1,
// [itemID('Twisted boots (t1)')]: 1
// },
// outputItems: {
// [itemID('Twisted relichunter (t1) armour set')]: 1
// }
// },
// {
// name: 'Unpack twisted relichunter (t2) armour set',
// inputItems: {
// [itemID('Twisted relichunter (t2) armour set')]: 1
// },
// outputItems: {
// [itemID('Twisted hat (t2)')]: 1,
// [itemID('Twisted coat (t2)')]: 1,
// [itemID('Twisted trousers (t2)')]: 1,
// [itemID('Twisted boots (t2)')]: 1
// },
// noCl: true
// },
// {
// name: 'Twisted relichunter (t2) armour set',
// inputItems: {
// [itemID('Twisted hat (t2)')]: 1,
// [itemID('Twisted coat (t2)')]: 1,
// [itemID('Twisted trousers (t2)')]: 1,
// [itemID('Twisted boots (t2)')]: 1
// },
// outputItems: {
// [itemID('Twisted relichunter (t2) armour set')]: 1
// }
// },
// {
// name: 'Unpack twisted relichunter (t3) armour set',
// inputItems: {
// [itemID('Twisted relichunter (t3) armour set')]: 1
// },
// outputItems: {
// [itemID('Twisted hat (t3)')]: 1,
// [itemID('Twisted coat (t3)')]: 1,
// [itemID('Twisted trousers (t3)')]: 1,
// [itemID('Twisted boots (t3)')]: 1
// },
// noCl: true
// },
// {
// name: 'Twisted relichunter (t3) armour set',
// inputItems: {
// [itemID('Twisted hat (t3)')]: 1,
// [itemID('Twisted coat (t3)')]: 1,
// [itemID('Twisted trousers (t3)')]: 1,
// [itemID('Twisted boots (t3)')]: 1
// },
// outputItems: {
// [itemID('Twisted relichunter (t3) armour set')]: 1
// }
// },
// holiday
{
name: 'Unpack partyhat set',
Expand Down Expand Up @@ -2572,6 +2473,10 @@ const armorSetsSrc: { unpacked: Bank; packed: Item }[] = [
{
unpacked: new Bank().add('Masori mask (f)').add('Masori body (f)').add('Masori chaps (f)'),
packed: getOSItem('Masori armour set (f)')
},
{
unpacked: new Bank().add('Sunfire fanatic helm').add('Sunfire fanatic cuirass').add('Sunfire fanatic chausses'),
packed: getOSItem('Sunfire fanatic armour set')
}
];

Expand All @@ -2581,7 +2486,6 @@ for (const set of armorSetsSrc) {
inputItems: set.unpacked,
outputItems: new Bank().add(set.packed.id, 1),
type: 'pack',
noCl: true
});
armorAndItemPacks.push({
name: `Unpack ${set.packed.name}`,
Expand Down
41 changes: 39 additions & 2 deletions tests/unit/snapshots/banksnapshots.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -17553,7 +17553,6 @@ exports[`OSB Creatables 1`] = `
"frozen": false,
},
"name": "Dagon'hai robes set",
"noCl": true,
"outputItems": Bank {
"bank": {
"24333": 1,
Expand Down Expand Up @@ -17593,7 +17592,6 @@ exports[`OSB Creatables 1`] = `
"frozen": false,
},
"name": "Masori armour set (f)",
"noCl": true,
"outputItems": Bank {
"bank": {
"27355": 1,
Expand Down Expand Up @@ -17622,6 +17620,45 @@ exports[`OSB Creatables 1`] = `
},
"type": "unpack",
},
{
"cantHaveItems": undefined,
"inputItems": Bank {
"bank": {
"28933": 1,
"28936": 1,
"28939": 1,
},
"frozen": false,
},
"name": "Sunfire fanatic armour set",
"outputItems": Bank {
"bank": {
"29424": 1,
},
"frozen": false,
},
"type": "pack",
},
{
"cantHaveItems": undefined,
"inputItems": Bank {
"bank": {
"29424": 1,
},
"frozen": false,
},
"name": "Unpack Sunfire fanatic armour set",
"noCl": true,
"outputItems": Bank {
"bank": {
"28933": 1,
"28936": 1,
"28939": 1,
},
"frozen": false,
},
"type": "unpack",
},
{
"cantHaveItems": undefined,
"inputItems": Bank {
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/snapshots/clsnapshots.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Chompy Birds (19)
Commander Zilyana (8)
Corporeal Beast (7)
Crazy archaeologist (3)
Creatables (665)
Creatables (668)
Creature Creation (7)
Cyclopes (8)
Dagannoth Kings (10)
Expand Down

0 comments on commit bcefd62

Please sign in to comment.