Pastebin

New pastes are no longer accepted · Stats

Latest Pastes

Wraith Key Quest (fixed)

Main
{
	questname 	"Wraith Key Quest"
	version		1.0
}

State Begin
{
	desc		"Talk to Wraith Guardian"
	action		AddNpcChat( 26 , "Hello" );
	action		AddNpcText( 26 , "Would you like to get a wraith key?" );
	action		AddNpcInput( 26 , 1 , "Yes");
	action		AddNpcInput( 26 , 2 , "No ty i'm a puss");

	rule 		InputNpc( 1 ) goto Yes
	rule 		InputNpc( 2 ) goto Quit
}

State Yes
{
	action		AddNpcChat( 26 , "Now go kill a Reaper and then Come back to me." );
	KilledNpcs(9, 1) goto Ninja
}

State Quit
{
action		AddNpcChat( 26 , "Wow You really are a puss good bye" );
action restart()
}

State Ninja
{
	action		AddNpcChat( 26 , "Now go kill a Anundo Leader and then Come back to me." );
	
	rule KilledNpcs(120, 1) goto Octo
}

State Octo
{
	action		AddNpcChat( 26 , "Now go kill Octo and then Come back to me." );
	
	rule KilledNpcs(118, 1) goto Apozen
}

State Apozen
{
	action		AddNpcChat( 26 , "Now go kill Apozen and then Come back to me." );
	
	rule KilledNpcs(142, 1) goto Piggy
}

State Piggy
{
	action		AddNpcChat( 26 , "Now go get me 100 piggy." );
	
	rule GotItems(483, 100) goto Snake
}

State Snake
{
	action		RemoveItem(483, 100);
	action		AddNpcChat( 26 , "Now go get me 100 Snake Teeth." );
	
	rule GotItems(453, 100) goto Tenba
}

State Tenba
{
	action		RemoveItem(453, 100);
	action		AddNpcChat( 26 , "Now go get me 100 Tenba Bags." );
	
	rule GotItems(477, 100) goto Imp
}

State Imp
{
	action		RemoveItem(477, 100);
	action		AddNpcChat( 26 , "Now go get me 100 Imp Stings." );
	
	rule GotItems(400, 100) goto Wurm
}

State Wurm
{
	action		RemoveItem(400, 100);
	action		AddNpcChat( 26 , "Now go get me 100 Wurm Heads." );
	
	rule GotItems(321, 100) goto Dragon
}

State Dragon
{
	action		RemoveItem(321, 100);
	action		AddNpcChat( 26 , "Now go get me 10 Dragon Wings." );
	
	rule GotItems(321, 100) goto Player
}

State Player
{
	action		AddNpcChat( 26 , "Now go kill 500 players." );
	
	rule KilledPlayers(500) goto Reward
}

State Reward
{
	action  	AddNpcChat(26, "Well you have my congrats now you get a Wraith Key");
	action 		GiveItem(242, 1);
	action 		End();
}