bookofthedevil.txt 2.5 KB

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