Difference between revisions of "Autosell"

From Kolmafia
Jump to navigation Jump to search
imported>MapleMario
(New page: '''boolean autosell( int quantity, item it )'''<br /> Autosells the given items. <p><pre># small scriptlet (taken from my aftercore.ash)) that autosells all of your Castle combat items #...)
 
imported>StDoodle
m (moved Autosell() to Autosell)
(No difference)

Revision as of 22:02, 2 March 2010

boolean autosell( int quantity, item it )
Autosells the given items.

# small scriptlet (taken from my aftercore.ash)) that autosells all of your Castle combat items
# ... unless you have more than 1000 of each, which you shouldn't, unless you're collecting.
void castlesell() {

	use(1000, $item[Warm Subject gift certificate]);
	autosell(1000, $item[heavy D]);
	autosell(1000, $item[original G]);
	autosell(1000, $item[disturbing fanfic]);
	autosell(1000, $item[furry fur]);
	autosell(1000, $item[wolf mask]);
	autosell(1000, $item[awful poetry journal]);
	autosell(1000, $item[thin black candle]);
	autosell(1000, $item[chaos butterfly]);
	autosell(1000, $item[plot hole]);
	autosell(1000, $item[probability potion]);
	autosell(1000, $item[procrastination potion]);
	autosell(1000, $item[angry farmer candy]);
	autosell(1000, $item[giant needle]);
	autosell(1000, $item[Mick's IcyVapoHotness Rub]);
	autosell(1000, $item[rave whistle]);

}