Cobb's Knob (ASH)

cjswimmer

Member
Code:
void Quest_CobbKnob()
	{
	cli_execute("conditions clear");
	while( item_amount($item[knob goblin harem pants]) == 0
				 || item_amount($item[knob goblin harem veil]) == 0
				 || item_amount($item[knob goblin perfume]) == 0
				 || item_amount($item[Cobb's Knob Lab Key]) == 0)
  	{
  if ( item_amount($item[knob goblin harem pants]) == 0 )	{ add_item_condition( 1, $item[knob goblin harem pants] ); }
  if ( item_amount($item[knob goblin harem veil]) == 0 ) { add_item_condition( 1, $item[knob goblin harem veil] ); }
  if ( item_amount($item[knob goblin perfume]) == 0 )	{ add_item_condition( 1, $item[knob goblin perfume] ); }
  if ( item_amount($item[Cobb's Knob Lab Key]) == 0 ) { add_item_condition( 1, $item[Cobb's Knob Lab Key] ); }
  adventure(my_adventures(), $location[Knob Goblin Harem] );
  cli_execute("conditions clear");
  }
	equip( $item[knob goblin harem pants] );
	equip( $item[knob goblin harem veil] );
	use( 1, $item[Knob Goblin perfume]);
	//set the MCD here if you want
	adventure(1, $location[The King's Chamber]);
	}
 
Why do you equate everything to 0? Wouldn't it be better to check if (itemQuantity<1)?

Also, what about clovering your perfume?

Just saying...
 
Back
Top