-
Notifications
You must be signed in to change notification settings - Fork 66
Shrunken Head Meat% #2547
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
Shrunken Head Meat% #2547
Conversation
* Use rhino1.8.0, it's been in babel for 3 months and mafia for longer (loathers#2481) * Mimic egg equity (loathers#2479) * Mimic egg equity Add a quest that donates 3 mimic eggs a if a incomplete monster can be reminisced * Fix donate task, make reentrant * Update freeEggDonation.ts * Update freeEggDonation.ts * update packages Revert "update packages" This reverts commit 053d93f801b15019fd36867272b61e8907acbfa5. update packages * time cop id * Update mimic egg already have check to lambda * Update mimic already have check to consider free * Only donate findDonateMonster * Mimic tweaks (loathers#2485) * Move some end of day tasks to FinishUpQuest (loathers#2487) * Open MayDay™ supply package * Autosell Melting Junk * Buy one-day ticket to Dinseylandfill * donation.count is out of 100 * Lower max by days since update (loathers#2489) * Lower max by days since update To prevent donating near max monsters if status is out of date * lower to older than 6 hours * Testing Mobius Ring - Full PR Soon (loathers#2474) * Used for testing mobius ring - will be a full PR... eventually * Prettier * Improve the choice adventure, set the groundwork for a later true valuer * Document pairs; value choices at half their pairs value * Fix some const issues, update lint plugin (to no avail) * Prettier and garbo-lib updates, I guess * Updated kolmafia in case we need paradoxicity * Actual rates, solve LOV problem * We have cooked * prettier * restructure choice adventure script (#20) * re-add encounterMap fix linting * Remove lint blockers * prettier * fix packages * better generic handling for choices * fix build * fix mapping for pills * peridot error catching * Add more exceptions to the big switch --------- Co-authored-by: neil <[email protected]> Co-authored-by: horrible little slime <[email protected]> * fix for green pixie absinthe minded (loathers#2491) * Everfull Darts (loathers#2490) * add darts to choice adventure script * darts * remove redundant functions from choice resources file * prevent red ray collision * fix peridot xpath (loathers#2494) * fix xpath for peridot choice * move logic to resource file * format * blank out choice adventure script for grimace maps * allied radio backpack (loathers#2493) * use the ARB to get radios * add wildsun boon to daily potions * fix packages post-merge * remove ARB from dailyItems * fix: better Mobius valuation (loathers#2496) * fix: value resolutions by their bases * fix: choice names * fix: actually value the resolution, not the original again * fuck it we're updating live * just the best anapests (loathers#2503) * abort on unexpected fight during digitize * don't equip the randle if we plan to redigitize * just the WORST anapests * format * Anapests is shruggable (loathers#2504) * Mafia does special lights out handling (loathers#2501) * Mafia does special lights out handling * List in order of choice number * Salty busk Alternate Form (loathers#2502) * salty Busk * marginalFamWeightValue is in % meat drop * Use extra busks in potionSetup * Do not use busks when buffing for cockroaches * Update libram * Drink beers in a loop if we can busk * Break loop if we already have salty mouth * neil suggestion --------- Co-authored-by: neil <[email protected]> * don't error on ambiguous folds (loathers#2492) * Increase aggregate cost safety (loathers#2507) * Allow Candelabra runaway when throwing darts (loathers#2505) * allow candle runaways, and always attempt if guaranteed bullseye * trailing commas * check if we have spring shoes before equipping * use trySkill in case one isn't equipped * Add clock to diet (loathers#2512) * egg donation tweaks (loathers#2513) * Delevel if the monster is scaling or stronger * allow using cheap escape if free is unavailable * Check CombatLoversLocket.reminiscesLeft() * Take eggnet priority into account for valuation * fix egg donation * cap price of busks at effect price (loathers#2516) * cap price of busks at effect price * fmt * move comment * Optimize busk check (loathers#2518) * optimize busk check * Only include potions * Abort on failing to gain effect from using resin (loathers#2519) * engine history & halt (loathers#2526) * engine history & halt * Update config.ts * Use freeRunConstraints for mimicEscape (loathers#2532) * Skip last fortune consult wait (loathers#2543) * Just having a warbear LP-ROM burner isn't enough to record with it (loathers#2544) * Having a warbear burner isn't enough to record with it * lint, oops * set errorOnAmbiguousFold every time, not just during simdiet (loathers#2541) * Sweat bullets at some sandworms (loathers#2539) * Sweat bullets at some sandworms * 26 not 23 * Equip BCZ * Make suggested changes * Add sweat equity, account for ROI. * More general solution * Update packages/garbo/src/lib.ts Co-authored-by: neil <[email protected]> * Prettier * If not args.ascend and moxie class, just stay above 26 * Add myDaycount filter too * new bcz resource file * lint --------- Co-authored-by: neil <[email protected]> * libram to 11.11 (loathers#2548) --------- Co-authored-by: Samuel Gaus <[email protected]> Co-authored-by: Joe Kirchoff <[email protected]> Co-authored-by: neil <[email protected]> Co-authored-by: horrible little slime <[email protected]> Co-authored-by: Chris Midgley <[email protected]> Co-authored-by: Shiverwarp <[email protected]> Co-authored-by: crexworthy <[email protected]> Co-authored-by: Adwin Shi <[email protected]>
…/Ignose/garbage-collector into shrunken-head-for-fun-and-profit
| prepare: () => { | ||
| const monster = shrunkenHeadMonster(); | ||
| propertyManager.setChoice(1557, `1&bandersnatch=${monster.id}`); | ||
| }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just make this a choices
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wait why does this exist at all, there are no other references to the peridot
| }, | ||
| completed: () => get("shrunkenHeadZombieAbilities").includes("Meat"), | ||
| do: () => CombatLoversLocket.reminisce($monster`Witchess Rook`), | ||
| spendsTurn: true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
???
| export function shrunkenHeadLocation(): Location { | ||
| if (myPath() !== Path.none || !have($item`Peridot of Peril`)) { | ||
| return Location.none; | ||
| } | ||
| if ( | ||
| canAdventure($location`The Penultimate Fantasy Airship`) && | ||
| !PeridotOfPeril.zonesToday().includes( | ||
| $location`The Penultimate Fantasy Airship`, | ||
| ) | ||
| ) { | ||
| return $location`The Penultimate Fantasy Airship`; | ||
| } | ||
| if ( | ||
| canAdventure($location`The Castle in the Clouds in the Sky (Top Floor)`) && | ||
| !PeridotOfPeril.zonesToday().includes( | ||
| $location`The Castle in the Clouds in the Sky (Top Floor)`, | ||
| ) | ||
| ) { | ||
| return $location`The Castle in the Clouds in the Sky (Top Floor)`; | ||
| } | ||
|
|
||
| return Location.none; | ||
| } | ||
|
|
||
| export function shrunkenHeadMonster(): Monster { | ||
| if (shrunkenHeadLocation() === $location`The Penultimate Fantasy Airship`) { | ||
| return $monster`MagiMechTech MechaMech`; | ||
| } | ||
|
|
||
| if ( | ||
| shrunkenHeadLocation() === | ||
| $location`The Castle in the Clouds in the Sky (Top Floor)` | ||
| ) { | ||
| return $monster`Goth Giant`; | ||
| } | ||
|
|
||
| return Monster.none; | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| export function shrunkenHeadLocation(): Location { | |
| if (myPath() !== Path.none || !have($item`Peridot of Peril`)) { | |
| return Location.none; | |
| } | |
| if ( | |
| canAdventure($location`The Penultimate Fantasy Airship`) && | |
| !PeridotOfPeril.zonesToday().includes( | |
| $location`The Penultimate Fantasy Airship`, | |
| ) | |
| ) { | |
| return $location`The Penultimate Fantasy Airship`; | |
| } | |
| if ( | |
| canAdventure($location`The Castle in the Clouds in the Sky (Top Floor)`) && | |
| !PeridotOfPeril.zonesToday().includes( | |
| $location`The Castle in the Clouds in the Sky (Top Floor)`, | |
| ) | |
| ) { | |
| return $location`The Castle in the Clouds in the Sky (Top Floor)`; | |
| } | |
| return Location.none; | |
| } | |
| export function shrunkenHeadMonster(): Monster { | |
| if (shrunkenHeadLocation() === $location`The Penultimate Fantasy Airship`) { | |
| return $monster`MagiMechTech MechaMech`; | |
| } | |
| if ( | |
| shrunkenHeadLocation() === | |
| $location`The Castle in the Clouds in the Sky (Top Floor)` | |
| ) { | |
| return $monster`Goth Giant`; | |
| } | |
| return Monster.none; | |
| } | |
| const SHRUNKEN_HEAD_LOCATIONS = new Map([ | |
| [$location`The Penultimate Fantasy Airship`, $monster`MagiMechTech MechaMech`], | |
| [$location`The Castle in the Clouds in the Sky (Top Floor)`, $monster`Goth Giant`], | |
| ]); | |
| export function shrunkenHeadLocation(): Location | null { | |
| return [...SHRUNKEN_HEAD_LOCATIONS.keys()].find((location) => PeridotOfPeril.canImperil(location)) ?? null; | |
| } | |
| export function shrunkenHeadMonster(): Monster | null { | |
| return SHRUNKEN_HEAD_LOCATIONS.get(shrunkenHeadLocation() ?? $location.none) ?? null; | |
| } |
| } | ||
|
|
||
| function shrunkenHeadMonsterValue(): number { | ||
| if (shrunkenHeadMonster() === $monster`MagiMechTech MechaMech`) return 0.52; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess probably also put these values in the SHRUNKEN_HEAD_LOCATIONS? that seems most sensible
|
no idea what the iotm actually does so that's just based on the code |
No description provided.