Results 1 to 4 of 4

Thread: Thanksgiving salesman

  1. #1
    Junior Member
    Join Date
    Mar 2013
    Posts
    8

    Default Thanksgiving salesman

    I am not able to figure out how to get a script to trade in cashews from the traveling Thanksgiving salesman. Anyone got a code snippet that does this?

  2. #2
    Developer
    Join Date
    Aug 2009
    Posts
    2,974

    Default

    https://wiki.kolmafia.us/index.php?title=Buy

    Code:
    buy($coinmaster[A traveling Thanksgiving salesman], 1, $item[can opener]);
    If you have the preference autoSatisfyWithCoinmasters set to true, you can also just use retrieve_item (or, in a CLI script, "acquire 1 can opener").

  3. #3
    Junior Member
    Join Date
    Mar 2013
    Posts
    8

    Default

    Thanks, that works, For some reason it didn't when I first tryed it. thought it was because the salesman isn't in the list of coinmasters (https://wiki.kolmafia.us/index.php?t...pes#coinmaster).

  4. #4
    Senior Member AlbinoRhino's Avatar
    Join Date
    May 2008
    Posts
    1,004

    Default

    If you type (note the 's' at the end):

    ash $coinmasters[]

    in the cli, it should give you an up-to-date list.

    and (no 's')

    ash $coinmaster[ANY_NAME_FROM_THAT_LIST]

    will give more relevant information for that particular coinmaster. (The 'nickname' field is what you use for the "coinmaster" CLI command.)

Posting Permissions

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