Code Monkey home page Code Monkey logo

consume.ash's People

Contributors

malibu-stacey avatar mattgiltaji avatar soolar avatar taltamir avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

consume.ash's Issues

Consider deep dish / calzone / pizza of legend

These have some of the best per-fullness adventure gain, but it seems they're not being considered atm, presumably because they're once-per-ascension.

If nothing else, there should be an ASCEND flag akin to garbo that includes items like this.

Optimize spleen cleaning a little better

Currently, if the best spleen consumable is, for example, a size 10 blood-drive sticker, the diet will have one of those followed by the remaining 5 or however much spleen space filled up. Then it will clean out organs with sliders and pickle juice (if your valueOfAdventure is appropriate for that) and do the same.

It would be better to chew a blood-drive sticker, then eat two sliders, then chew another, then eat a slider and drink a pickle juice, then chew another, then drink two more pickle juice, chew another, and so on, only using non-blood-drive sticker spleenies once there's absolutely no other option.

Feature Request: Switch familiar back after doing a NIGHTCAP

When performing a command like CONSUME SIM VALUE 5400 NIGHTCAP it successfully generates a set of instructions which will perform the correct overdrinking and nightcapping based on the presumed value per adventure. It takes advantage of having the Stooper familiar by switching to it and drinking a 1-drunkenness drink before drinking the nightcap. At the end though, it does not switch back to whatever familiar was being used. This is not necessarily a problem, but it introduces the need to manually switch back to my previous familiar (In this case a lefty holding a +adv off-hand item).

Handle PVP fight generating items

Set up a variable for valueOfPvpFight or something along those lines, and consider such items. Special mention goes to shot of kardashian gin.

Getting a scripit error

The script won't run the error i'm getting is
Calling undefined user function: get_fites (CONSUME.ash, line 262)   at evaluate_consumables (CONSUME.ash:262)   at main (CONSUME.ash:1262
idk why its doing i'm trying this on latest build of kol witich is r20585.

Handle some untradeable items

They're not tradeable, so using them will have to just be a preference, rather than based on mall value.

Main targets:

  • distention pill
  • synthetic dog hair pill
  • LOV Extraterrestrial Chocolate

Organ limits don't appear to work

> get valueOfAdventure

3400

> CONSUME ORGANS 15 21 14

Your ideal diet: acquire 1 milk of magnesium; acquire 3 Ol' Scratch's salad fork; acquire 7 Frosty's frosty mug; acquire 3 extra-greasy slider; acquire 2 chocolate pasta spoon; acquire 6 beastly paste; acquire 5 octolus oculus; acquire 7 perfect cosmopolitan; acquire 1 Gnollish sangria; acquire 3 Special Seasoning; checkpoint; cast 2 The Ode to Booze; use milk of magnesium; maximize hp,10cold res,10hot res; drink Gnollish sangria; chew 3 beastly paste; chew 2 octolus oculus; eat 3 Ol' Scratch's salad fork; eat 3 extra-greasy slider; drink 7 Frosty's frosty mug; drink 7 perfect cosmopolitan; chew 3 beastly paste; chew 3 octolus oculus; use 2 chocolate pasta spoon; familiar Hobo Monkey; outfit checkpoint;
This should cost roughly 352,994 meat
Adventure yield should be roughly 394-442
That's an average profit of 1,111,356
Including adventures you already have, you should profit 1,651,956 today
In total, you're filling up 15 fullness, 22 liver, and 29 spleen

Note that 'chew 3 beastly paste; chew 3 octolus oculus' will give 15 spleen; the diet ends with that line so it's guaranteed to result in 15 spleen used total at the end. Perhaps I'm misinterpreting how the limit is meant to work? It appears to be a limit applied prior to spleen cleaning.

CONSUME assumes adv gain from milk of magnesium even if it is not being used

CONSUME script accounts for the 5 extra adventures even if the diet actions don't end up including milk of magnesium (eg. when you're eating on an extreme budget).

This leads to incorrect estimates of adventure gain. You can test it out by hand crafting a diet like so:

record Diet
actions => aggregate DietAction [int]
  0 => record DietAction
    it => sausage without a cause
    sk => none
    organ => 1
    space => 10
    tools => aggregate item [int]
    mayo => none
    cleanings => aggregate OrganCleaning [int]
    shrug => none
  1 => record DietAction
    it => fusilli marrownarrow
    sk => none
    organ => 1
    space => 5
    tools => aggregate item [int]
    mayo => none
    cleanings => aggregate OrganCleaning [int]
    shrug => none
counts => aggregate int [item]
  fusilli marrownarrow => 1
  sausage without a cause => 1
lastmayo => none
nightcap => false

When you print this diet out, it will say "Adventure yield should be roughly 71-74" whereas it should say "Adventure yield should be roughly 66-69".

The 5 extra adventures should only be included if the diet contains a 'milk of magnesium' action, not simply because the Diet contains DietActions of the stomach.

Probably also affects 'potion of the field gar' handling as well.

CONSUME is trying to chew Breathetastic™ Premium Canned Air

Starting today, CONSUME has been trying to chew Premium Canned Air for absolutely ridiculous negative profits. Not sure what happened and how to fix.

> set valueOfAdventure=2000

> set CONSUME.BASEMEAT=0

> CONSUME SIM

Your ideal diet: acquire 3 Breathetastic™ Premium Canned Air; chew 3 Breathetastic™ Premium Canned Air;
This should cost roughly 2.249.997 meat
Adventure yield should be roughly 60-75
That's an average profit of -2.114.997
Including adventures you already have, you should profit -2.114.997 today
In total, you're filling up 0 fullness, 0 liver, and 15 spleen

Aside from that, thanks for the great script! Love it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.