magicalhatquest.txt 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. //===== eAthena Script =======================================
  2. //= Wizard Hat Custom Quest
  3. //===== By: ==================================================
  4. //= Who
  5. //===== Current Version: =====================================
  6. //= 1.1
  7. //===== Compatible With: =====================================
  8. //= eAthena
  9. //===== Description: =========================================
  10. //= Wizard Hat quest. Harmless, doesn't screw game balance.
  11. //===== Additional Comments: =================================
  12. //= 1.1 Reversed ingreadients and the quest result due to
  13. //= treasue boxes drops fix [Lupus]
  14. //============================================================
  15. geffen,126,107,5 script Wizard Hat Dude 51,{
  16. mes "[Wizard Hat Dude]";
  17. mes "Huh! What do you want?";
  18. mes "Ohh, I see, you want me to make you something.";
  19. emotion e_what;
  20. next;
  21. mes "[Wizard Hat Dude]";
  22. mes "Well if you want this Wizard Hat here is a list of the items I need you to go out and get them for me:";
  23. mes "1 Magican Hat";
  24. mes "1 Bathory Card";
  25. mes "and 200,000z for my efforts";
  26. next;
  27. mes "[Wizard Hat Dude]";
  28. mes "Are you ready for me to make this magical item?";
  29. next;
  30. menu "Sure am!",-,"These requirements are unfathomable!",M_RIPOFF;
  31. mes "[Wizard Hat Dude]";
  32. if(countitem(5045) < 1 || countitem(4119) < 1 || Zeny < 200000) goto L_NotEnough;
  33. delitem 5045,1;
  34. delitem 4119,1;
  35. set Zeny,Zeny-200000;
  36. mes "Wow! You are brave indeed!";
  37. emotion e_no1;
  38. next;
  39. mes "[Wizard Hat Dude]";
  40. mes "Enjoy your Wizard Hat!";
  41. getitem 2252,1;
  42. close;
  43. L_NotEnough:
  44. mes ". . .I'm sorry .. You don't have enough money and items ..";
  45. mes "I can't afford to make this if you don't bring all materials needed. Please understand this is to benefit heroes such as yourself!";
  46. emotion e_sry;
  47. close;
  48. M_RIPOFF:
  49. mes "[Wizard Hat Dude]";
  50. mes "What I had to go through was more unfathomable..";
  51. mes "If you succeed in getting these items, you will have incredible strength!";
  52. emotion e_hmm;
  53. close;
  54. }