Page 2 of 3 FirstFirst 1 2 3 LastLast
Results 11 to 20 of 22

Thread: vcon - Veracity's consumable library

  1. #11
    Developer fronobulax's Avatar
    Join Date
    Feb 2009
    Location
    Central Virginia, USA
    Posts
    4,155

    Default

    Philosophy Question.

    I understand the importance of semi-rares in run, especially HC. But out of run is it not true that a SR is just an economic decision? If I need it, I can buy it, right? So if I eat a fortune cookie to ensure I can get a SR, isn't that the same as saying the profit from a fortune cookie is the mall price of the most expensive SR? If so then it is theoretically possible that reserving space for a fortune cookie (or eating one) is less profitable than using the space for something else?

    I understand vcon is focused on aftercore but I am pondering how/if/when it replaces or supplements EatDrink for me.

  2. #12
    Developer Veracity's Avatar
    Join Date
    Mar 2006
    Location
    The Unseelie Court
    Posts
    11,426

    Default

    Yes, farming semirares in after core is an economic decision.

    A fortune cookie is size 1 and provides one adventure. Eat it with milk, you get 2 adventures. (And zarqon's irritation at using milk to eat a single item notwithstanding, if your MPA (or VOA) is more than the cost of milk, it is profitable to do so to gain a single adventure.)

    So, if you eat a fortune cookie and get 1 (or 2) adventures from it, in order to get semirare numbers rather than eating a better size 1 food and getting 6 (or 7) adventures, the opportunity cost of farming the semirare rather than just buying it is 5 adventures from eating the low quality food plus at least one adventure collecting the semirare - and you are not guaranteed to get a single definitive number from the fortune cookie.

    If you can sell a semirare for more than 6 times your MPA, then sure, collect them. Otherwise, just buy them if you want.

    Lucky Lindy is a better choice, probably, but even so, I'm not interested in semirare farming with my characters.

    YMMV.

  3. #13
    Senior Member zarqon's Avatar
    Join Date
    Nov 2007
    Location
    Seoul, Korea
    Posts
    3,582

    Default

    Heh, my being irked by the milk was due to 1) losing out on the semirare I'd taken some pains to provide for, and b) ending up using two milks for breakfast, which is not so profitable as using just one.

    Anyway, if you're not interested in semirare farming I understand. Fortune cookies are almost certainly less profitable than just meat farming, but Lucky Lindies may or may not be more profitable. For me, my MPA with VMF hovers around 3400, so taking a 3-turn loss on the drink and then spending a turn farming a 16-18k semirare is still profitable. I'll figure out how to handle it on my end -- and using your spiffing library, to boot, for which I hope I don't sound ungrateful.
    Sig by JakAtk
    My scripts: Prefref Plus | Skillref Plus | One-Click Wossna | Om*****st (??) | Psychose-a-Matic | RandBot
    Combat suite: Best Between Battle | Mercenary Mood | SmartStasis | BatMan | BatMan RE
    For script authors: ASH Wiki | ZLib | BatBrain | CLI Links | Drag-n-Drop Inventories | CanAdv | Script Registry | Map Manager
    If you appreciate my work, help me become BAT KING OF THE WORLD! Thanks to all donators!

  4. #14
    Developer Veracity's Avatar
    Join Date
    Mar 2006
    Location
    The Unseelie Court
    Posts
    11,426

    Default

    You can get 3 speakeasy drinks a day and Lucky Lindys always give you a precise burp, rather than crappy-quality fortune cookies giving you up to 3 possible numbers. I'll think about putting semirare farming via Lucky Lindy into VMF. That's part of the consumption strategy, and therefore belongs there, rather than in vcon. Considering you'll be able to get from one to three semirares per day, it would involve reserving some liver space to accommodate later Lucky Lindys.

    If I do that, who knows: perhaps you'll not need to do your consumption before running VMF.

  5. #15
    Senior Member zarqon's Avatar
    Join Date
    Nov 2007
    Location
    Seoul, Korea
    Posts
    3,582

    Default

    That would be splendid!

    By the way, I noted the new mall_prices() functions you added recently and have been enjoying how they speed things up.
    Last edited by zarqon; 09-25-2018 at 08:00 PM.
    Sig by JakAtk
    My scripts: Prefref Plus | Skillref Plus | One-Click Wossna | Om*****st (??) | Psychose-a-Matic | RandBot
    Combat suite: Best Between Battle | Mercenary Mood | SmartStasis | BatMan | BatMan RE
    For script authors: ASH Wiki | ZLib | BatBrain | CLI Links | Drag-n-Drop Inventories | CanAdv | Script Registry | Map Manager
    If you appreciate my work, help me become BAT KING OF THE WORLD! Thanks to all donators!

  6. #16
    Developer Veracity's Avatar
    Join Date
    Mar 2006
    Location
    The Unseelie Court
    Posts
    11,426

    Default

    Note the new commit where, if we bulk-update 1000 items of mall prices via mall_prices(), it writes mallprices.txt once, rather than 1000 times.

    That is a huge speedup. It reduces the user-perceived runtime by 10s of seconds.

    I also direct you to the update I made to VeracityMeatFarm.ash, described over in its own thread, where I add semirare processing via Lucky Lindy.

    Things I could do:

    - do it with fortune cookies (not too hard)
    - suit up appropriately for The Sea, The 8-bit Realm, etc. (easy)
    - full "can adventure" type stuff for semirare locations. (annoying, medium hardness)
    - full support for "which choice to take for semirares" (annoying, not necessary, since you can specify that in KoLmafia GUI)

    What I have now is sufficient for my own use cases - although I might consider fortune cookies for my multis who don't have a VIP lounge key or a clan with a speakeasy.

    Let me know which things are critical for your use cases.

    Over in the VMF thread, please. Thanks.

  7. #17
    Developer Veracity's Avatar
    Join Date
    Mar 2006
    Location
    The Unseelie Court
    Posts
    11,426

    Default

    Interesting. vcon says that "bowl of maggots" is the most cost-effective 2-full food.
    Indeed it is - since the one and only store in the mall who has it for sale prices it at 100 Meat.
    The catch is that there is a limit of 1 on it, and, even though mall_price returns the price of the 5th cheapest item, you literally cannot buy 5 of it.

    I have to think about this.

  8. #18
    Developer Veracity's Avatar
    Join Date
    Mar 2006
    Location
    The Unseelie Court
    Posts
    11,426

    Default

    Today's results:

    Code:
    ******Best Food by Size******
    food[1] is bag of QWOP (1280 cost per size) (7290 profit per size)
    food[2] is This Charming Flan (1500 cost per size) (7927 profit per size)
    food[3] is hamlet sandwich (425 cost per size) (7287 profit per size)
    food[4] is spectral pickle (1375 cost per size) (8480 profit per size)
    food[5] is sleazy hi mein (883 cost per size) (7858 profit per size)
    food[6] is fleetwood mac 'n' cheese (225 cost per size) (8487 profit per size)
    food[10] is deluxe layer cake (297 cost per size) (7415 profit per size)
    food[100] is pie man was not meant to eat (17 cost per size) (2554 profit per size)
    
    ******Best Booze by Size******
    booze[1] is elemental caipiroska (784 cost per size) (9500 profit per size)
    booze[2] is Tequiz Navidad (1089 cost per size) (8766 profit per size)
    booze[3] is perfect cosmopolitan (1066 cost per size) (9503 profit per size)
    booze[4] is hacked gibson (1335 cost per size) (7663 profit per size)
    booze[5] is mulled berry wine (999 cost per size) (5856 profit per size)
    booze[6] is Psychotic Train wine (400 cost per size) (5170 profit per size)
    
    ROBORTENDER[1] is elemental caipiroska (784 cost per size) (9500 profit per size)
    MEDIUM[2] is Shot of the Living Dead (475 cost per size) (6809 profit per size)
    PERFECT[3] is perfect cosmopolitan (1066 cost per size) (9503 profit per size)
    SHC[4] is Gordon Bennett (300 cost per size) (6556 profit per size)
    I have to think what to do about that "bag of QWOP". If your CCS uses spells, it doesn't matter, but if you attack, you'll want to "uneffect QWOPed up".

    It may very well be the most "profitable" awesome or EPIC food, but it has a side effect that even KoL consideres to be malignant, in that the Hot Tub will remove it.

    I'd say "it is up to the user of the script to decide whether or not to consider a food" - but if you reject it, this library does not provide a second choice.

    A workaround I inserted for my characters who use attack is to put in a mood trigger to remove the effect, but perhaps the script should reject consumables which cause a malignant effect, just as it rejects items that have both fullness and drunkenness.

  9. #19
    Developer
    Join Date
    Aug 2009
    Posts
    2,813

    Default

    Your MPA seems awfully low (< 2k) for QWOP to be your best food by size. Is this on a low-skilled multi?

    FWIW, I actually have an additional layer of pruning in my consumption script (an earlier version of which I think I posted on these forums) that would come into play here -- QWOP totally dominates hamlet sandwich because it'd be better to fill up that same space using QWOP (and QWOP's fullness evenly divides hamlet sandwich's).

  10. #20
    Developer Veracity's Avatar
    Join Date
    Mar 2006
    Location
    The Unseelie Court
    Posts
    11,426

    Default

    Revision 116 adds a set of malignant effects which are unacceptable for a consumable to grant.
    For the moment, that includes only "QWOPped up".

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •