Jump to content
  • 0
toohot22

refiner Quest

Question

Hi All

 

Would someone be so kind to script a npc for me please heres the details

 

Map: prontera

where: anywhere i can change

look: any same as above

Name: Refiner Quest

 

Quest:

The players are to find the following items to make the following things


50 Rough Eluniums (757) or 10 Eluniums (985) and they will get  1 Enriched Elunium. (7619)


50 Rough Oridecon (756) or 10 Oridecon (984) and they will get 1 Enriched Oridecon (7620)

 

thanks inadvance

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


// Rough / Ori/Elu to Enriched Refiners

//============================================================

- script Refiner_Quest#ref -1,{

mes "[Refiner Quest]";

mes "If you bring me 50";

mes "Rough Oridecon or 50 Rough Elunium";

mes "or 10 Elunium or 10 Oridecon";

mes "I can exchange them for";

mes "Enriched Elunium or Enriched Oridecon.";

next;

switch(select("Rough Oridecon to Enriched Oridecon.:Oridecon to Enriched Oridecon.:Rough Elunium to Enriched Elunium.:Elunium to Enriched Elunium.:No thanks.")) {

case 1:

setarray [email protected][0],756,50,7620; //Rough Oridecon -> Enriched Oridecon

break;

case 2:

setarray [email protected][0],984,10,7620; //Oridecon -> Enriched Oridecon

break;

case 3:

setarray [email protected][0],757,50,7619; //Rough Elunium -> Enriched Elunium

break;

case 4:

setarray [email protected][0],985,10,7619; //Elunium -> Enriched Elunium

break;

case 5:

mes "[Refiner Quest]";

mes "Hmm...";

close;

}

if (countitem([email protected][0]) >= [email protected][1]) {

delitem [email protected][0],[email protected][1];

getitem [email protected][2],1;

mes "[Refiner Quest]";

mes "Ok! Here is your "+getitemname([email protected][2])+".";

mes "Take it and use it well.";

close;

}

mes "[Refiner Quest]";

mes "You better not be trying";

mes "to cheat me because you";

mes "don't have";

mes ""+getitemname([email protected][0])+".";

close;

}

prt_in,85,71,5    duplicate(Refiner_Quest#ref)    Refiner Quest#prt    826

Edited by Shakto
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
Answer this question...

×   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...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.