Recent content by juyes

  1. J

    auto BHH and friends

    There seem to be two possible places. In your Mood Setup, you can add when I run low on On the Trail, olfact monster goal. I tend to use that one, but there is also a Custom Combat option if you click the special box and check one time automatic olfaction. With the latter, if you use a custom...
  2. J

    Access to dusty output via script?

    Thanks, this was extremely helpful. The values of the lastDusty properties do seem to be the glyph number! I don't suppose you happen to know when those properties get set? Can I could on them being there if you could id the bottles, or would running the cli command dusty first help to set them...
  3. J

    Access to dusty output via script?

    I was toying with improving EatDrink.ash by adding dusty wine bottle support, but I am stuck. It seemed like using the cli 'dusty' command combined a matcher should be able to identify the bottles, but I don't know how to get the output of the cli command into a string. Which leads to 2...
  4. J

    Universal Recovery Script

    Yes, I'm sure, and I'll explain how I think about sort. Firts, the syntax for sort is: sort map by expression map: is any map that associates keys (indices) with returned values expression: is an expression evaluated for each item in map To do the sort, mafia considers each item in the map...
  5. J

    Universal Recovery Script

    Strongest does make the most sense so that you can use your big healing items when you have room to. Thanks for the link, I had already stumbled upon that excellent post by Jason when I was wondering why the sort list seemed backwards. I'm assuming you mean -maxval[value] in this particular...
  6. J

    Universal Recovery Script

    One question. The comment at the top of choose_inventory says "sorted by strongest first.", but the sort seems to be ascending order so that the weakest items are first. Which way is it supposed to be? I bought several different doc healing items and used the following debugging code to find...
  7. J

    Universal Recovery Script

    Hey Bale, Alright, I think I solved the MP issues, and the efficiency of it does rely on the fact that the MP target is usually less than 100%. It works by picking the most efficient npc mp restorer, and then using it to over-heal past your target but not past your max mp. The HP code is...
  8. J

    Universal Recovery Script

    I look forward to your improvements, especially the brimstone logic. And please do consider some of the maps, because I can tell you are interested in easier to read and maintain code from your jump to the switch statement. In my ongoing experiment, I finally got things working enough to test...
  9. J

    Universal Recovery Script

    No problem, you can always change your mind later. Ironically I did it in the first place because it was more unaesthetic for me to watch it recalulate thousands of averages that never changed. Overall it doesn't change the map much, and you could just change aveheal and keep the function if you...
  10. J

    Universal Recovery Script

    Yes, please feel free to borrow any ideas, because I wouldn't even have known where to start without your script. Here are the relevent sections for the read_use_flag stuff. At the top, with all the other configuration info I added. // Disable these items if unchecked under hp recovery in...
  11. J

    Universal Recovery Script

    Hey Bale, I finally found to time to play with this. The way I am thinking the healing logic would change, is first to value healing efficiency (hp per mp, or mp per meat) above everything else, and second to waste as little as hp and mp restoration as possible even when using skills. The only...
  12. J

    Universal Recovery Script

    Great Script I first of all wanted to tell you that I really like this script. I can definitely tell you have put a lot of thought into how healing should really be done. For instance, it was not at all obvious to me why you want to heal from inventory first in hardcore. After all, I mostly...
Top