Page 1 of 10 1 2 3 ... LastLast
Results 1 to 10 of 92

Thread: Chamois - Use it automatically!

  1. #1
    Minion Bale's Avatar
    Join Date
    Jun 2008
    Posts
    13,287

    Default Chamois - Use it automatically!

    Here's a perfected chamois script. It will calculate the expected damage from Covered in Slime based on your slime resistance and level of slime.

    It then compares this to your current HP and max HP. If you need healing to survive the slime, it will heal you. If the expected damage is greater than max HP, it will use a chamois. This is guaranteed to use the minimal number of chamois without getting you beaten up (as long as you can kill the slime).

    Put chamois.ash in your /scripts directory. It is called by your mood
    Trigger On: When an effect is gained
    Check for: Coated in Slime
    Command: call chamois.ash


    Changelog:
    v1.1 - Adds support for KolMafia eventually having monster data for slimes.
    v1.2 - Adds support for using Hot Tub to remove slime.
    v1.3 - Now reports on number of remaining chamoix.
    v1.4 - Fixed restoration bug.
    v1.5 - Fixed effect name since mafia is picky about that now.
    Attached Files
    Last edited by Bale; 05-05-2012 at 06:05 AM.
    If people like my scripts, please send me stuffed Hodgmen.
    Universal Recovery, OCD Inventory Control, CounterChecker, newLife, ChIT.


  2. #2
    Senior Member Tom Sawyer's Avatar
    Join Date
    Jun 2007
    Posts
    120

    Default

    Bale This rocks the world

    Takes the tedium out of the run

    I see it sends you a kmail so you should know lots are using this one

  3. #3
    Minion Bale's Avatar
    Join Date
    Jun 2008
    Posts
    13,287

    Default

    I see it sends you a kmail so you should know lots are using this one
    Originally Posted by Tom Sawyer View Post
    Not so many -- so far only 7 people, counting you. Still, you did just bring a smile to my face by letting me know that at least one person liked it.

    By the way, here's an undocumented feature: If you want to set a minimum level of slime at which it will alway use a chamois, there's a variable at the beginning of the script you can set. That way it will always chamois at (for instance) 6 turns of slime, instead of trying to heal. I figure that might be nice for very casual runs where you aren't worried about maximizing chamois for a future speed run.
    If people like my scripts, please send me stuffed Hodgmen.
    Universal Recovery, OCD Inventory Control, CounterChecker, newLife, ChIT.


  4. #4
    Senior Member
    Join Date
    May 2008
    Posts
    203

    Default

    Sounds very useful, I'll definitely be using it once I start slime killing (read, when I have more than 30 mins a day to play)

  5. #5
    Junior Member
    Join Date
    Jun 2009
    Posts
    12

    Default

    I registered to download it, and now to thank you.

    This is wonderful - takes a lot of the tedium out of the slime tube.

  6. #6
    Junior Member
    Join Date
    Mar 2009
    Posts
    23

    Default

    Oooh, looks nice. Thanks!
    Kingdom of Loathing name: Goo Goo

  7. #7

    Default

    Works like a charm, and is a real time-saver. Thanks.

  8. #8

    Default

    Love the script Bale. Thanks.

  9. #9
    Junior Member
    Join Date
    Jun 2009
    Posts
    1

    Default

    Best script ever! I asked around /hardcore to see if anyone knew how to do this and they directed me to you...havent been defeated in over 100 adv of sliming now =)

    thx Bale

  10. #10
    Junior Member
    Join Date
    Jun 2009
    Posts
    1

    Default

    This is fantastic - especially for people like me who can't program to save their life. Thank you thank you thank you!

Similar Threads

  1. Feature Track chamois drops
    By stannius in forum Bug Reports
    Replies: 4
    Last Post: 05-24-2011, 11:14 PM
  2. Slimetube chamois
    By moooo566 in forum Community Support
    Replies: 1
    Last Post: 04-22-2010, 07:59 PM
  3. Do NOT automatically uneffect Cunctatitis
    By Mrfred in forum Community Support
    Replies: 2
    Last Post: 04-07-2010, 05:27 AM
  4. Automatically reequipping a mask
    By LeapingLarry in forum Scripting Discussion
    Replies: 4
    Last Post: 10-30-2009, 05:57 PM
  5. Mushroom Fields Automatically
    By efilnikufecin in forum Item Handling Scripts
    Replies: 0
    Last Post: 04-07-2006, 10:37 PM

Posting Permissions

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