bear_hat.txt 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. //===== eAthena Script =======================================
  2. //= Bear Hat Quest
  3. //===== By: ==================================================
  4. //= Halca (1.0)
  5. //= Mass Zero (1.1)
  6. //===== Current Version: =====================================
  7. //= 1.3
  8. //===== Compatible With: =====================================
  9. //= Any eAthena Version.
  10. //===== Description: =========================================
  11. //= Seperate Bear hat quest.
  12. //===== Additional Comments: =================================
  13. //= 1.2 Fixed wrong labels, added missing text, added missing
  14. //= items check [Lupus]
  15. //= 1.3 Fixed possible exploit [Lupus]
  16. //============================================================
  17. xmas.gat,152,176,3 script Bora 826,{
  18. mes "[Bora]";
  19. mes "Don't bears have such a cute expression on their faces?";
  20. mes "And I bet you wouldn't mind one of those cute expressions yourself!";
  21. next;
  22. mes "[Bora]";
  23. mes "Well, I can make you a Bear Hat!";
  24. next;
  25. menu "Yes, make me one now!",-,"What are the requirements?",M_REQ,"No, thanks.",M_EXIT;
  26. If ((countitem(5030) < 1) || (countitem(7213) < 100) || (countitem(7217) < 100) || (countitem(7167) < 300)) GOTO L_NOITEM;//Items: Panda Hat, Pin Cusion, Spool of Thread, Strange Piece of Iron,
  27. mes "[Bora]";
  28. mes "Yay! now I can make my famous Bear Hat!";
  29. mes "Now, give me your items!";
  30. delitem 5030,1;//Items: Panda Hat,
  31. delitem 7213,100;//Items: Pin Cusion,
  32. delitem 7217,100;//Items: Spool of Thread,
  33. delitem 7167,300;//Items: Strange Piece of Iron,
  34. next;
  35. mes "[Bora]";
  36. mes "Now I will give you the hat!";
  37. next;
  38. getitem 5059,1;//Items: Bear Hat,
  39. mes "[Bora]";
  40. mes "Thanks, and bye!";
  41. close;
  42. M_REQ:
  43. mes "[Bora]";
  44. mes "Bring me...";
  45. mes "1 Panda Hat,";
  46. mes "100 Pin Cusion,";
  47. mes "100 Spool of Thread";
  48. mes "300 Strange Pieces of Iron.";
  49. next;
  50. mes "[Bora]";
  51. mes "For the Pin Cusion (Stabbing Needles) and Spool of Thread,";
  52. mes "Hyzoloists in Niflheim drop those, I believe.";
  53. close;
  54. L_NOITEM:
  55. mes "[Bora]";
  56. mes "Sorry, I want all the items I asked.";
  57. mes "Please dont try to cheat me.";
  58. close;
  59. M_EXIT:
  60. mes "[Bora]";
  61. mes "Okay, well, byebye!";
  62. close;
  63. }