eclage.txt 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. //===== rAthena Script =======================================
  2. //= General Eclage NPC.
  3. //===== By: ==================================================
  4. //= Dastgir
  5. //===== Current Version: =====================================
  6. //= 2.0
  7. //===== Compatible With: =====================================
  8. //= rAthena Project
  9. //===== Description: =========================================
  10. //= Eclage Town NPC
  11. //===== Additional Comments: =================================
  12. //= 1.0 Generic NPC place holders. [Euphy]
  13. //= 2.0 Converted from the official Aegis script. [Dastgir]
  14. //============================================================
  15. ecl_in02,96,22,3 script sign#prison_inn 545,{
  16. mes "[North] Prison";
  17. mes "[West] Clinic";
  18. close;
  19. }
  20. ecl_in01,8,71,5 script Eclage Guard#pri_inn 447,{
  21. mes "[Eclage Guard]";
  22. mes "This path will take you to the lower parts of Eclage. You'll find a prison and a clinic there.";
  23. close;
  24. }
  25. ecl_in02,164,56,3 script Receptionist#Laphine 835,{
  26. mes "[Receptionist]";
  27. mes "Welcome to Eclage Clinic.";
  28. next;
  29. switch (select("Save Location:Rest:Finish the conversation")) {
  30. case 1:
  31. mes "[Receptionist]";
  32. mes "Clinic has been set as your save point. Be careful though~";
  33. savepoint "ecl_in02",162,50,1,1;
  34. close;
  35. case 2:
  36. mes "[Receptionist]";
  37. mes "Restore your mind and body at our clinic. It's filled with Eclage's clean energy.";
  38. mes "We charge 1 Splendide Coin normally, but we offer a special discount for travelers. Your total is 5,000 zeny. ";
  39. next;
  40. switch (select("Pay with Splendide Coin:Pay with Zeny:Forget it")) {
  41. case 1:
  42. if (!countitem(6081)) {
  43. mes "[Receptionist]";
  44. mes "It seems like you don't have enough coins. Would you check your account again, please?";
  45. close;
  46. }
  47. mes "[Receptionist]";
  48. mes "Make yourself at home~";
  49. close2;
  50. delitem 6081,1; //6081
  51. percentheal 100,100;
  52. warp "ecl_in02",167,49;
  53. end;
  54. case 2:
  55. if (Zeny < 5000) {
  56. mes "[Receptionist]";
  57. mes "Looks like you don't have enough resources to proceed. Do you mind checking your account again?";
  58. close;
  59. }
  60. mes "[Receptionist]";
  61. mes "Make yourself at home~";
  62. close2;
  63. Zeny = Zeny - 5000;
  64. percentheal 100,100;
  65. warp "ecl_in02",167,49;
  66. end;
  67. case 3:
  68. close;
  69. }
  70. case 3:
  71. close;
  72. }
  73. }
  74. ecl_in02,135,45,5 script Injured Laphine 442,{
  75. mes "[Injured Laphine]";
  76. mes "Ooww...";
  77. mes "Where...am...I?";
  78. next;
  79. mes "[Doctor]";
  80. mes "You're at a clinic. Don't worry.";
  81. mes "We stopped the bleeding and cast emergency spells.";
  82. mes "You were bleeding a lot. That was close, you know.";
  83. next;
  84. mes "[Injured Laphine]";
  85. mes "......";
  86. mes "What, no, I...I don't feel anything...what's going on?";
  87. next;
  88. mes "[Doctor]";
  89. mes "Umm...the arrow damaged your wing pretty badly...";
  90. next;
  91. mes "[Injured Laphine]";
  92. mes "...what do you mean?";
  93. next;
  94. mes "[Doctor]";
  95. mes "Well...I was going to tell you after you recover, but you should know. You can't decorate the Yai anymore. ";
  96. mes "In other words, you injured your wing. The arrow went through the most critical part in the wing.";
  97. next;
  98. mes "[Injured Laphine]";
  99. mes "What? No way...please...doctor!! No!!";
  100. close;
  101. }
  102. ecl_in02,137,44,3 duplicate(Injured Laphine) Doctor Laphine#doctor 441