Jump to content

Speed Pots Minigame


Recommended Posts


  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  633
  • Reputation:   78
  • Joined:  11/14/11
  • Last Seen:  

Script Name:Speed Pots Minigame

Description: A simple speed pots minigame where each NPC will required you to talk to the other npc's and also the fourth NPC you will be talking to will give you the reward. For Example: I talked to Speed Gonzales and then it wants me to talk to Speedy Gonzalvo, Speedy Gonzalvo it wants me to talk to Speedy Gonzaga, Speedy Gonzaga itwants me to talk to Speedy Gambatte, since Speedy Gambatte is the fourth NPC, it will give you the speed pots.

(Note: The NPC you will be talking to will assign to the following NPC's: Speedy Gonzaga/Gonzalvo/Gonzales/Gambatter randomly but not itself.)

Version:1.0

Others Message: Sorry if the names sound stupid :P and my english too.

//====================================================================================
//Script Name: Speed Pots Minigames
//SVN: Tested in rAthena r156513
//Developed By: JayPee Mateo
//Version: 1.0
//Description: Just a simple Speed Pots Minigame
//====================================================================================
lighthalzen,235,313,4 script Speedy Gonzales 48,{
set .npcname$,"[speedy Gonzales]";
setarray .npclist$[0],"Speedy Gonzalvo","Speedy Gonzaga","Speedy Gambatte";

if(@speedpotstart == 0) set @speedpotstart,1;
else if(@assignNPC$ == "Speedy Gonzales" ) set @speedpotstart,@speedpotstart+1;

mes .npcname$;
if(@speedpotstart<4 && @signedNPC$ != "Speedy Gonzales")
{
set @signedNPC$,"Speedy Gonzales";
set @assignNPC$,.npclist$[rand(0,2)];
mes "Go and see "+@assignNPC$;
}
else if(@speedpotstart>=4)
{
mes "Here you go!";
set @speedpotstart,0;
set @signedNPC$,"";
set @assignNPC$,"";
getitem 12016,1;
}
else
mes "Go and see "+@assignNPC$;

close;
}

lighthalzen,260,129,3 script Speedy Gonzaga 69,{
set .npcname$,"[speedy Gonzaga]";
setarray .npclist$[0],"Speedy Gonzalvo","Speedy Gonzales","Speedy Gambatte";

if(@speedpotstart == 0) set @speedpotstart,1;
else if(@assignNPC$ == "Speedy Gonzaga" )set @speedpotstart,@speedpotstart+1;

mes .npcname$;
if(@speedpotstart<4 && @signedNPC$ != "Speedy Gonzaga")
{
set @signedNPC$,"Speedy Gonzaga";
set @assignNPC$,.npclist$[rand(0,2)];
mes "Go and see "+@assignNPC$;
}
else if(@speedpotstart>=4)
{
mes "Here you go!";
set @speedpotstart,0;
set @signedNPC$,"";
set @assignNPC$,"";
getitem 12016,1;
}
else
mes "Go and see "+@assignNPC$;

close;
}

lighthalzen,234,117,2 script Speedy Gonzalvo 50,{
set .npcname$,"[speedy Gonzalvo]";
setarray .npclist$[0],"Speedy Gonzaga","Speedy Gonzales","Speedy Gambatte";

if(@speedpotstart == 0) set @speedpotstart,1;
else if(@assignNPC$ == "Speedy Gonzalvo" )set @speedpotstart,@speedpotstart+1;

mes .npcname$;
if(@speedpotstart<4 && @signedNPC$ != "Speedy Gonzalvo")
{
set @signedNPC$,"Speedy Gonzalvo";
set @assignNPC$,.npclist$[rand(0,2)];
mes "Go and see "+@assignNPC$;
}
else if(@speedpotstart>=4)
{
mes "Here you go!";
set @speedpotstart,0;
set @signedNPC$,"";
set @assignNPC$,"";
getitem 12016,1;
}
else
mes "Go and see "+@assignNPC$;


close;
}


lighthalzen,35,282,1 script Speedy Gambatte 51,{
set .npcname$,"[speedy Gambatte]";
setarray .npclist$[0],"Speedy Gonzaga","Speedy Gonzales","Speedy Gonzalvo";

if(@speedpotstart == 0) set @speedpotstart,1;
else if(@assignNPC$ == "Speedy Gambatte" )set @speedpotstart,@speedpotstart+1;

mes .npcname$;
if(@speedpotstart<4 && @signedNPC$ != "Speedy Gambatte")
{
set @signedNPC$,"Speedy Gambatte";
set @assignNPC$,.npclist$[rand(0,2)];
mes "Go and see "+@assignNPC$;
}
else if(@speedpotstart>=4)
{
mes "Here you go!";
set @speedpotstart,0;
set @signedNPC$,"";
set @assignNPC$,"";
getitem 12016,1;
}
else
mes "Go and see "+@assignNPC$;

close;
}

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  236
  • Reputation:   12
  • Joined:  03/07/12
  • Last Seen:  

Oh I know this :P

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...