bookofthedevil.txt 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. //===== eAthena Script =======================================
  2. //= Baphomet Jr. taming item quest.
  3. //===== By: ==================================================
  4. //= eAthena Dev Team
  5. //===== Current Version: =====================================
  6. //= 1.2
  7. //===== Compatible With: =====================================
  8. //= eAthena 1.0
  9. //===== Description: =========================================
  10. //= Book of Devil (MISC_QUEST | 256)
  11. //===== Additional Comments: =================================
  12. //= 1.0 ????
  13. //= 1.1 Optimized Book of Devil quest. used bit-wise var. [Lupus]
  14. //= 1.2 Fixed name collision with 'Little Boy' in cities/lutie.txt [Ai4rei]
  15. //============================================================
  16. //=============================================================
  17. //Quest for Book of Devil
  18. //=============================================================
  19. niflheim,184,199,5 script Little Girl#02 793,{
  20. mes "[Sairin]";
  21. if(MISC_QUEST & 256){
  22. mes "Thanks again!";
  23. close;
  24. }
  25. if(@niflheimlost == 2){
  26. mes "You found him?";
  27. mes "Oh thank you!";
  28. mes "Please, take this as a token of my appreciation.";
  29. getitem 642,1;//Items: Book of Devil,
  30. set MISC_QUEST,MISC_QUEST | 256;
  31. set @niflheimlost,0;
  32. close;
  33. }
  34. if(@niflheimlost == 1){
  35. M_YES:
  36. set @niflheimlost,1;
  37. mes "Please find him and tell him where I am! I saw him last in Niflheim Field, the first one...";
  38. close;
  39. }
  40. mes "Sir, will you please help me?";
  41. if(BaseJob==Job_Novice){
  42. mes "Oh... you are lost, too...";
  43. close;
  44. }
  45. next;
  46. menu "Yes",-, "No",M_NO;
  47. mes "[Sairin]";
  48. mes "My friend and I went for a hike and ended up wandering into a strange field.";
  49. next;
  50. mes "[Sairin]";
  51. mes "Suddenly, I found a doll. I picked it up, and it turned into a ghost!";
  52. next;
  53. mes "[Sairin]";
  54. mes "I screamed and ran as fast as I could. When I stopped running, I ended up in this strange town..";
  55. next;
  56. mes "[Sairin]";
  57. mes "No one here will help me, and there are ghosts everywhere! Could you help me find my friend?";
  58. next;
  59. menu "Sure",M_YES, "No",M_NO;
  60. M_NO:
  61. close;
  62. }
  63. nif_fild01,213,268,5 script Little Boy#02 797,{
  64. if(MISC_QUEST & 256){
  65. L_DONE:
  66. set @niflheimlost,2;
  67. mes "[Marius]";
  68. mes "Thank you for helping us!";
  69. close;
  70. }
  71. if(@niflheimlost == 2) goto L_PART2;
  72. if(@niflheimlost == 1){
  73. mes "[Marius]";
  74. mes "Who are you?";
  75. mes "...";
  76. mes "You found Sairin?";
  77. mes "She ran to Niflheim?";
  78. next;
  79. L_PART2:
  80. mes "[Marius]";
  81. mes "Could you tell her that I am on my way?";
  82. mes "I am a little slow, and its very important that she knows.";
  83. next;
  84. menu "Yes",L_DONE, "No",-;
  85. close;
  86. }
  87. mes "[Marius]";
  88. mes "Sairin... where are you?";
  89. close;
  90. }