I made this a long time ago and was wondering if it would still be usable... I dont know how much has changed in the 2-3 years.
Code:
void shop()
{
if (have_bartender() == false){
print("You need a new bartender");
buy(1, $item[bartender-in-the-box] );
use(1, $item[bartender-in-the-box] );
}
else if(have_bartender() == true){
print("You have a Bartender");
}
}
void spleen()
{
if(my_spleen_use() != 15){
while ( item_amount( $item[twinkly wad] ) < 15 )
buy(15, $item[twinkly wad] );
use(15, $item[twinkly wad]);
}
}
void eatstuff()
{
if(my_fullness() == 0){
while ( item_amount( $item[stinky hi mein] ) < 3 )
buy(3, $item[stinky hi mein] );
eat(3, $item[stinky hi mein]);
}
}
void drinkstuff()
{
if(my_inebriety() == 0){
while ( item_amount( $item[milk of magnesium] ) < 1 )
buy(1, $item[milk of magnesium] );
use(1, $item[milk of magnesium]);
while ( item_amount( $item[lime] ) < 4 )
buy(4, $item[lime] );
while ( item_amount( $item[grog] ) < 4 )
buy(4, $item[grog] );
while ( item_amount( $item[Ram's Face Lager] ) < 1 )
buy(1, $item[Ram's Face Lager] );
create(1, $item[grogtini]);
drink(1, $item[grogtini]);
create(1, $item[grogtini]);
drink(1, $item[grogtini]);
create(1, $item[grogtini]);
drink(1, $item[grogtini]);
create(1, $item[grogtini]);
drink(1, $item[Ram's Face Lager]);
}
}
void farming()
{
if(my_inebriety() > 19){
abort();
}
while ( item_amount( $item[soft green echo eyedrop antidote] ) < 10 )
buy(3, $item[soft green echo eyedrop antidote] );
while ( item_amount( $item[scroll of drastic healing] ) < 10 )
buy(3, $item[scroll of drastic healing] );
equip ($slot[weapon], $item[meatspout staff]);
adventure(my_adventures(), $location[Giant's castle] );
equip ($slot[weapon], $item[sword behind inappropriate prepositions]);
drink(1, $item[grogtini]);
}
void sellstuff()
{
use( item_amount( $item[Warm Subject gift certificate]), $item[Warm Subject gift certificate]);
autosell( ( item_amount( $item[Angry Farmer Candy])), $item[Angry Farmer Candy]);
autosell( ( item_amount( $item[awful poetry journal])), $item[awful poetry journal]);
autosell( ( item_amount( $item[rave whistle])), $item[rave whistle]);
autosell( ( item_amount( $item[chaos butterfly])), $item[chaos butterfly]);
autosell( ( item_amount( $item[disturbing fanfic])), $item[disturbing fanfic]);
autosell( ( item_amount( $item[furry fur])), $item[furry fur]);
autosell( ( item_amount( $item[giant needle])), $item[giant needle]);
autosell( ( item_amount( $item[heavy D])), $item[heavy D]);
autosell( ( item_amount( $item[Mick's IcyVapoHotness Rub])), $item[Mick's IcyVapoHotness Rub]);
autosell( ( item_amount( $item[original G])), $item[original G]);
autosell( ( item_amount( $item[plot hole])), $item[plot hole]);
autosell( ( item_amount( $item[probability potion])), $item[probability potion]);
autosell( ( item_amount( $item[procrastination potion])), $item[procrastination potion]);
autosell( ( item_amount( $item[thin black candle])), $item[thin black candle]);
autosell( ( item_amount( $item[wolf mask])), $item[wolf mask]);
}
void main()
{
shop();
spleen();
eatstuff();
drinkstuff();
farming();
sellstuff();
}
Last edited by a moderator: