xmaveric
New member
Here is a modified version that works:
( I added the "v" on the first "void"... - Daychilde )
Code:
void go_fishing_until_worthless()
{
if ( item_amount( $item[ten-leaf clover]) < 1)
{
while ( item_amount( $item[worthless trinket]) +
item_amount( $item[worthless knick-knack]) +
item_amount( $item[worthless gewgaw])
< 1)
{
buy(1, $item[Chewing gum on a string]);
adventure(1, $location[Sewer with clovers]);
}
}
}
void get_clover()
{
if( item_amount( $item[ten-leaf clover]) < 1 )
{
go_fishing_until_worthless();
trade_hermit(1, $item[ten-leaf clover]);
}
}
void onecycle()
{
if( item_amount( $item[ten-leaf clover]) < 1 )
{
get_clover();
}
if( item_amount( $item[chewing gum on a string]) < 1 )
{
buy(1, $item[chewing gum on a string]);
}
adventure(1, $location[Sewer with clovers]);
}
void main()
{
while ( my_adventures() > 10 )
{
onecycle();
}
}
( I added the "v" on the first "void"... - Daychilde )