toohot22 Posted March 17, 2013 Share Posted March 17, 2013 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 Quote Link to comment Share on other sites More sharing options...
Shakto Posted March 17, 2013 Share Posted March 17, 2013 (edited) // 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 March 17, 2013 by Shakto Quote Link to comment Share on other sites More sharing options...
toohot22 Posted March 17, 2013 Author Share Posted March 17, 2013 Thank you for this works well Quote Link to comment Share on other sites More sharing options...
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