Jump to content
  • 0

refiner Quest


toohot22

Question


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  56
  • Reputation:   0
  • Joined:  11/05/12
  • Last Seen:  

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

  • 1

  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  402
  • Reputation:   89
  • Joined:  02/07/13
  • Last Seen:  


// 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 .@i[0],756,50,7620; //Rough Oridecon -> Enriched Oridecon

break;

case 2:

setarray .@i[0],984,10,7620; //Oridecon -> Enriched Oridecon

break;

case 3:

setarray .@i[0],757,50,7619; //Rough Elunium -> Enriched Elunium

break;

case 4:

setarray .@i[0],985,10,7619; //Elunium -> Enriched Elunium

break;

case 5:

mes "[Refiner Quest]";

mes "Hmm...";

close;

}

if (countitem(.@i[0]) >= .@i[1]) {

delitem .@i[0],.@i[1];

getitem .@i[2],1;

mes "[Refiner Quest]";

mes "Ok! Here is your "+getitemname(.@i[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(.@i[0])+".";

close;

}

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

Edited by Shakto
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  56
  • Reputation:   0
  • Joined:  11/05/12
  • Last Seen:  

Thank you for this works well

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