// CounterKeeper v1.1
// Thanks to those whose work has been absorbed to make this:
// jasonharper, StormCrow42, Alhifar, Ankorite, antimarty and Miser.
// Revisioned and reconstructed by Bale.
// To use:
// Download zarqon's zlib: http://kolmafia.us/showthread.php?t=2072
// set counterScript = CounterKeeper.ash
// set wormwoodGoal = objective
// objective can be any wormwood prize or stat. (eg. moxie51 or cancan skirt)
// You can add 51 or 1 to a stat to limit the turns you spend on your stat adventures.
// This script is very good at figuring out what you mean, so you can just type "cancan", "skirt" or "pants".
// Supported Counters:
// - Fortune Cookie: If you're not in hardcore it will get the available semi-rare with highest mall price.
// - Wormwood: Will automatically get the wormwood goal of your choice. You can set the goal in CLI with:
// set wormwoodGoal = xxx
// where xxx is a stat or item. (Optionally add 951, 51 or 1 to limit the turns spent on stats.)
// - Dance Card: Will adventure in Ballroom, if you're not already there and use another dance card.
// - Get Steel Organ: Will adventure in the Friar's Gate and then try to use the organ, if possible.
// - Dude Ranch Vacation, Tropical Island Vacation, Ski Resort Vacation:
// Will abort automatic adventuring and alert you that the vacation is ready to produce a tower item,
// but it will not adventure there automatically so you can purposefully schedule those 3 turns.