Skip to content
This repository was archived by the owner on Aug 11, 2021. It is now read-only.

Commit 96b447e

Browse files
committed
Add Ruined Nursery without Bombs trick
1 parent 9c6dbd9 commit 96b447e

File tree

4 files changed

+12
-2
lines changed

4 files changed

+12
-2
lines changed

src/common/data/settingsDetails.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,13 @@ export const details: SettingsDetails = {
364364
description: `You can reach the Spider Ball track before defeating Flaahgra by abusing standable terrain, jumping to the track, and morphing.`,
365365
difficulty: Difficulty.NORMAL
366366
},
367+
ruinedNurseryWithoutBombs: {
368+
name: 'Ruined Nursery without Bombs',
369+
description: `You can space jump and morph near the item, and enter the tunnel to obtain it without bombs.
370+
371+
Boost Ball can also be used, but is part of the Boost through Bomb Tunnels trick option instead of this option.`,
372+
difficulty: Difficulty.HARD
373+
},
367374
shoreTunnelEscapeWithoutSpaceJump: {
368375
name: 'Shore Tunnel Escape without Space Jump Boots',
369376
description: `You can double bomb jump or slope jump out of the lava pit without the Space Jump Boots.`,

src/electron/models/prime/regions/chozoRuins.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ export function chozoRuins(): RegionObject[] {
4545
{
4646
name: 'Ruined Nursery',
4747
locations: {
48-
[PrimeLocation.RUINED_NURSERY]: (items: PrimeItemCollection) => items.canLayBombs()
48+
[PrimeLocation.RUINED_NURSERY]: (items: PrimeItemCollection, settings: PrimeRandomizerSettings) => {
49+
return items.canLayBombs() || (settings.tricks.ruinedNurseryWithoutBombs && items.has(PrimeItem.SPACE_JUMP_BOOTS));
50+
}
4951
},
5052
exits: {
5153
'Ruined Gallery': () => true,

src/electron/models/prime/tricks.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ export class Tricks extends SettingsFlags {
4545
removeXrayReqs = false;
4646
rootCaveArborChamberWithoutGrapple = false;
4747
ruinedFountainItemFlaahgraSkip = false;
48+
ruinedNurseryWithoutBombs = false;
4849
shoreTunnelEscapeWithoutSpaceJump = false;
4950
spiderlessShafts = false;
5051
suitlessMagmoorRun = false;

test/models/prime/randomizerSettings.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ describe('PrimeRandomizerSettings', () => {
2929
alcoveNoItems: true
3030
}
3131
});
32-
const expected = 'KDJOJK-2D91XAFQV9MTQVAGICCXOXQF4-UQ3UEU2I5SNC9D47UV4-4XDKKFEK4XS';
32+
const expected = 'KDJOJK-2D91XAFQV9MTQVAGICCXOXQF4-UQ3UEU2I5SNC9D47UV4-9UR54UT49VK';
3333
const result = settings.toSettingsString();
3434

3535
expect(result).to.equal(expected);

0 commit comments

Comments
 (0)