Page 1 of 2 1 2 LastLast
Results 1 to 10 of 16

Thread: Triva Master Buff

  1. #1
    Junior Member
    Join Date
    Jan 2010
    Posts
    6

    Default Triva Master Buff

    I wrote this tiny script to make getting the Triva Master Buff quicker then doing the cli commands.

    Why would anybody want this?

    Mall price comparison.
    Triva Master(+100% to all stats) for 30 adventures = 1000 meat
    Gr8tness(100% to all stats) for 5-15 adventures = 1489 meat

    Best case for Gr8ness(Sauceror with Impetuous Sauciness) still makes it almost 3x more for the same affect. Yes this will change once people start using the buff more, but even after the script makes it easier to get the affect so it will still be kind of useful.

    Updates
    -2: replaced if/buy loop with retrieve_item
    Attached Files
    Last edited by slag; 03-21-2012 at 04:10 PM.

  2. #2

    Default

    You could use retrieve_item instead of buy, and then you wouldn't have to see if there's already one in inventory. It would also respect people's decision to use the closet, stash, or mall.

    Another thing that could be added is checking for the individual effects before using the corresponding item.

    Looks like a useful script for stat buffing.

  3. #3
    Junior Member
    Join Date
    Jan 2010
    Posts
    6

    Default

    Yep. retrieve_item is better. Plenty for me to learn still I guess.

    I'm not sure how much more useful checking for the affects would be. Only case I can think of where that might be useful is someone who has the board game and auto uses the cards he/she generates a day as part of a log in script. That kind of seems like a waste to me since it would give +30% to stats for 1 adv. Most people are probably mall/auto selling the cards, or just letting them accumulate. The other case would be where someone stacked one affect, but in that case getting to triva master kills there X adventures of the +10% all stats anyways.

  4. #4
    Senior Member adeyke's Avatar
    Join Date
    Feb 2009
    Location
    Bühlerzell, Germany
    Posts
    202

    Default

    Thanks for reminding me that the trivia master buff exists and is so cheap. It should be quite helpful for me. I decided to modify my copy of the script to check for the presence of the effect. This usually won't do anything (and it doesn't cause any extra server hits), but it's a nice safety check.

    (BTW, there's an I in "trivia").

  5. #5
    Developer
    Join Date
    Nov 2008
    Location
    Paris, France
    Posts
    4,510

    Default

    Not exactly related to this, but r10822 adds "use 1 Trivial Avocations Card: What?, 1 Trivial Avocations Card: When?, 1 Trivial Avocations Card: Who?, 1 Trivial Avocations Card: Where?" to Trivia master in statuseffects.txt, so that it now appears in the maximizer (and the mood manager will autofill the Command line for it).
    Try the Nemesis Quest Script or the FamiliarFeeder interface.
    *shakes KoLMafia tech support magic 8-ball* Update mafia to the latest daily .JAR!
    NEW Dad ASCENSION STARTED 20120730
    ------------------------------
    Welcome to Parenthood, Noob

  6. #6
    Junior Member
    Join Date
    Jan 2010
    Posts
    6

    Default

    Not exactly related to this, but r10822 adds "use 1 Trivial Avocations Card: What?, 1 Trivial Avocations Card: When?, 1 Trivial Avocations Card: Who?, 1 Trivial Avocations Card: Where?" to Trivia master in statuseffects.txt, so that it now appears in the maximizer (and the mood manager will autofill the Command line for it).
    Originally Posted by slyz View Post
    So your saying an old update already makes mafia do this?

  7. #7
    Senior Member Theraze's Avatar
    Join Date
    Mar 2010
    Posts
    8,741

    Default

    New update.

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

    Default

    Brand new update. This is not the first script to be released just before mafia adds native functionality to either supplement or supersede it.
    If people like my scripts, please send me stuffed Hodgmen.
    Universal Recovery, OCD Inventory Control, CounterChecker, newLife, ChIT.


  9. #9
    Developer Veracity's Avatar
    Join Date
    Mar 2006
    Location
    The Unseelie Court
    Posts
    11,316

    Default

    I like to wait until somebody makes a script to do something that makes me say "whoa - I could make KoLmafia do that and not have to use a script" and then make it so.

    Ph'nglui mglw'nafh Cthulhu
    R'lyeh wgah-nagl fhtagn.

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

    Default

    Fun Fact: Veracity, one of the two people most responsible for the ASH programming language, does not like to use ASH scripts.
    If people like my scripts, please send me stuffed Hodgmen.
    Universal Recovery, OCD Inventory Control, CounterChecker, newLife, ChIT.


Similar Threads

  1. master relays
    By bordemstirs in forum Scripting Discussion
    Replies: 18
    Last Post: 12-11-2012, 02:19 AM
  2. Feature - Implemented Coin Master API
    By Veracity in forum Bug Reports
    Replies: 21
    Last Post: 07-06-2011, 06:52 AM
  3. Feature - Implemented Mr. Store should be a Coin Master
    By Veracity in forum Bug Reports
    Replies: 18
    Last Post: 06-19-2011, 08:25 PM
  4. Replies: 0
    Last Post: 06-17-2011, 06:50 PM
  5. Feature - Implemented Master Relay Override
    By bumcheekcity in forum Bug Reports
    Replies: 69
    Last Post: 09-17-2010, 10:56 AM

Posting Permissions

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