Bitchin Meatcar (ASH)

cjswimmer

Member
Code:
void Quest_MeatCar()
	{
	//I need to change this to test for a muscle zodiac sign to just buy the parts
	int ToolboxCount;
	cli_execute("guild.php?place=paco");
	cli_execute("town_right.php?place=untinker");
	while( item_amount($item[spring]) == 0
		 || item_amount($item[sprocket]) == 0
		 || item_amount($item[cog]) == 0
		 || item_amount($item[empty meat tank]) == 0
		 || item_amount($item[tires]) == 0
		 || item_amount($item[rusty screwdriver]) == 0)
	    {
	       adventure(1, $location[Degrassi Knoll] );
	       ToolboxCount = item_amount( $item[Gnollish toolbox]);
	       if( ToolboxCount > 0)
	       		use( ToolboxCount, $item[Gnollish toolbox]);			
	    }
	if( item_amount( $item[hermit permit]) < 1)
	       		buy( 1, $item[hermit permit]);
	while( item_amount($item[worthless gewgaw]) 
       		+ item_amount($item[worthless knick-knack]) 
       		+ item_amount($item[worthless trinket]) < 1 )
		{
		if( item_amount( $item[chewing gum on a string]) < 1) {	buy( 1, $item[chewing gum on a string]); }
		adventure(1, $location[Market Sewer (Unlucky)] );
	  }
	trade_hermit( 1, $item[sweet rims]);
	create(1, $item[bitchin' meatcar]);
	}
 

macman104

Member
Alright, well, I've got a thing for the checking your sign, so I'll post em here for you. This will adventure at cobb's knob for the 108 meat. If you want to change that you can. Thanks much to cjs for providing me with the skeleton for the sewer and meat car script.

Code:
void GetMeatCar()
{
	council();
	string SignType;
	
	if(my_zodiac() == $zodiac[mongoose] || my_zodiac() == $zodiac[wallaby] || my_zodiac() == $zodiac[vole])
	{
		SignType = "Muscle";
	}
	
	if(SignType == "Muscle")
	{
		if(my_meat() >= 108)
		{
			buy(1, $item[spring]);
			buy(1, $item[sprocket]);
			buy(1, $item[cog]);
			buy(1, $item[empty meat tank]);
			buy(1, $item[tires]);
		}
		else
		{
			while(my_meat() < 108)
			{
				adventure(1, $location[outskirts of cobb's knob]);
			}
		}
	}
	else
	{
		int ToolboxCount;
		while(item_amount($item[spring]) == 0 || item_amount($item[sprocket]) == 0 || item_amount($item[cog]) == 0 || item_amount($item[empty meat tank]) == 0 || item_amount($item[tires]) == 0)
		{
			adventure(1, $location[Degrassi Knoll]);
			while(item_amount($item[Gnollish toolbox]) > 0)
			{
				use(1, $item[Gnollish toolbox]);
			}
		}
	}
	if(item_amount($item[hermit permit]) < 1)
	{
		buy(1, $item[hermit permit]);
	}
	
	while(item_amount($item[worthless gewgaw]) + item_amount($item[worthless knick-knack]) + item_amount($item[worthless trinket]) < 1)
	{
		if(item_amount($item[chewing gum on a string]) < 1)
		{ 
			buy(1, $item[chewing gum on a string]);
		}
		adventure(1, $location[Market Sewer (Unlucky)] );
	}
	trade_hermit(1, $item[sweet rims]);
	create(1, $item[bitchin' meatcar]);
	
	council();
}
 
Top