Presto Ragu
Member
I saw cjswimmers, and figured I would include mine as an alternate.
NOTE: I have not tested it fully since the report that the adventure command sending a boolean result would not cause mafia to abort out.
	
	
	
		
				
			NOTE: I have not tested it fully since the report that the adventure command sending a boolean result would not cause mafia to abort out.
		Code:
	
	if( my_level() >= 9)
{
	if( adventure( 1, $location[the orc chasm]))
	{
		int drunklimit;
		drunklimit = 15;
		if( have_skill( $skill[liver of steel]))
		{
			drunklimit = 20;
		}
		if( item_amount( $item[bridge]) < 1)
		{
			if( item_amount( $item[abridged dictionary]) < 1 && my_adventures() > 0)
			{
				cli_execute( "outfit swashbuckling getup");
			}
			while( item_amount( $item[abridged dictionary]) < 1 && my_adventures() > 0 && my_inebriety() < drunklimit)
			{
				adventure( 1, $location[pirate cove]);
			}
			cli_execute( "outfit adventure");
			if( item_amount( $item[abridged dictionary]) > 0)
			{
				cli_execute( "untinker abridged dictionary");
			}
		}
		if( item_amount( $item[bridge]) > 0 && my_adventures() > 0)
		{
			adventure( 1, $location[the orc chasm]);
		}
	}
	if( adventure( 1, $location[valley beyond orc chasm])
	{
		while( item_amount( $item[334 scroll]) < 4 && my_adventures() > 0)
		{
			adventure( 1, $location[valley beyond orc chasm]);
		}
		while( item_amount( $item[30669 scroll]) < 2 && my_adventures() > 0)
		{
			adventure( 1, $location[valley beyond orc chasm]);
		}
		while( item_amount( $item[33398 scroll]) < 1 && my_adventures() > 0)
		{
			adventure( 1, $location[valley beyond orc chasm]);
		}
		if( item_amount( $item[334 scroll]) >= 4 && item_amount( $item[30669 scroll]) >= 2 && item_amount( $item[33398 scroll]) >= 1)
		{
			create( 1, $item[31337 scroll]);
			create( 1, $item[64735 scroll]);
			use( 1, $item[31337 scroll]);
			use( 1, $item[hermit script]);
			use( 1, $item[stat script]);
			use( 1, $item[64735 scroll]);
		}
	}
}