PDA

View Full Version : acidparade.ash : the acid parade farmer



halfvoid
07-20-2010, 10:52 PM
acidparade.ash: ver 1.1

Maximizes your +item% and uses all your adventures, maintaining 10 turns of In Your Cups and adventuring in The Electric Lemonade Acid Parade.

Thanks, and feedback / suggestions for improvements are more than welcome.

(072010) ver. 1.0 : initial release.
(072010) ver. 1.1 : best familiar and infinite loop fix.

Bale
07-20-2010, 11:06 PM
That can get you caught in an endless loop. And please note that you can run out of adventures getting "In Your Cups" and not have an adventure left for the "Electric Acid Parade". Fix it like this:


cli_execute ("maximize item");

while (my_adventures() > 0)
{
while (have_effect($effect[In Your Cups]) < 10 && my_adventures() > 0)
{
visit_url("inv_use.php?pwd&whichitem=4613&teacups=1");
}
if(my_adventures() > 0)
adventure ( 1, $location[Electric Lemonade Acid Parade] );
}

icon315
07-20-2010, 11:06 PM
maybe use zlib's best familiar feature

use_familiar(best_fam("item"));

halfvoid
07-21-2010, 12:09 AM
Updated with both suggestions. I've never used best familiar before so hopefully i implemented it right.