A Aeres New member Apr 9, 2019 #1 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?
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?
H heeheehee Developer Staff member Apr 9, 2019 #2 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").
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").
A Aeres New member Apr 10, 2019 #3 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?title=Data_Types#coinmaster).
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?title=Data_Types#coinmaster).
AlbinoRhino Active member Apr 10, 2019 #4 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.)
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.)