Skip to content

Simplify novelty skeleton and add scaffolding for yellow ray priorities#62

Open
Ignose wants to merge 1 commit intoPantocyclus:mainfrom
Ignose:resource-simplification
Open

Simplify novelty skeleton and add scaffolding for yellow ray priorities#62
Ignose wants to merge 1 commit intoPantocyclus:mainfrom
Ignose:resource-simplification

Conversation

@Ignose
Copy link
Copy Markdown
Contributor

@Ignose Ignose commented Nov 16, 2025

…zation

Comment thread src/tasks/runstart.ts
!haveFreeSkeletonBanish())),
do: $location`The Skeleton Store`,
do: () => {
const force = pickForceSource(skeletonZone);
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If a user has both the peridot and cartography, this seems to return peridot for the first adventure and map the monsters for the second through fourth.

Comment thread src/tasks/runstart.ts Outdated
return {
...baseOutfit(false),
shirt: useParkaSpit ? $item`Jurassic Parka` : undefined,
acc2: $item`cursed monkey's paw`,
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The ability to monkey slap seems to have been removed here

Comment on lines +54 to +57
export function yellowRayPossible(): boolean {
if (have($effect`Everything Looks Yellow`)) return false;
return yellowRaySources.find((s) => s.available()) !== undefined;
}
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

YR support seems to have been added here but was not used. Is this intended? (Also, we do use other YR sources within the script such as the candelabra and spitball)

Comment thread src/tasks/runstart.ts
shirt: useParkaSpit ? $item`Jurassic Parka` : undefined,
acc2: $item`cursed monkey's paw`,
familiar: chooseFamiliar(false),
offhand: $item`Roman Candelabra`,
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can avoid equipping the Candelabra if we have ELY active

Comment thread src/tasks/runstart.ts
},
{
name: "Map Novelty Tropical Skeleton",
name: "Novelty Tropical Skeleton (Unified)",
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm fine with leaving "(Unified)" out of the task name. It will not be apparent to the user what this means if they do not know about the code history

Comment thread src/tasks/runstart.ts
if (haveEquipped($item`miniature crystal ball`)) equip($slot`familiar`, $item.none);
}
// fallback prep
if (!force) {
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fallback should be an else instead of a if (!force) to fully cover all the conditional branches

Comment thread src/tasks/runstart.ts Outdated
if (haveEquipped($item`miniature crystal ball`)) equip($slot`familiar`, $item.none);
}
if (get("_snokebombUsed") === 0) attemptRestoringMpWithFreeRests(50);
if (haveEquipped($item`miniature crystal ball`)) equip($slot`familiar`, $item.none);
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The miniature crystal ball seems to be in all the conditional branches, is there a reason why we do not want to pull it outside instead?

Comment thread src/tasks/runstart.ts
Comment on lines +955 to +957
if (have($item`Roman Candelabra`) && !have($effect`Everything Looks Yellow`))
equip($slot`offhand`, $item`Roman Candelabra`);
else unbreakableUmbrella();
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we do eventually check for ELY prior to equipping the candelabra in the outfit part of the code, then we can do a simple/similar check for equipping the unbreakable umbrella here. This probably also can then be pulled out of the conditional branches

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants