mosk_dun.txt 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225
  1. //===== rAthena Script =======================================
  2. //= Moscovia Dungeon Warp Script
  3. //===== By: ==================================================
  4. //= Kisuka, $ephiroth
  5. //===== Current Version: =====================================
  6. //= 2.0
  7. //===== Compatible With: =====================================
  8. //= rAthena Project
  9. //===== Description: =========================================
  10. //= Warp Points for Moscovia Dungeon
  11. //===== Additional Comments: =================================
  12. //= 1.0 Initial version [$ephiroth]
  13. //= 1.1, 1.2 Updated from jA [$ephiroth]
  14. //= 1.3 Added warp npcs. Removed place holder warps. [Kisuka]
  15. //= 1.4 Fixed cords on milestone 1-3. [Kisuka]
  16. //= 2.0 Clean-up. [Capuche]
  17. //============================================================
  18. mosk_fild02,190,257,0 warp moscoviawarp0401 1,1,mosk_dun01,189,45
  19. mosk_dun01,189,42,0 warp moscoviawarp0501 1,1,mosk_fild02,190,254
  20. mosk_in,215,36,0 warp2 babayagaout 1,1,mosk_dun02,53,217
  21. mosk_dun02,53,220,4 script #babayagain WARPNPC,1,1,{
  22. end;
  23. OnTouch:
  24. if (mos_nowinter == 11) {
  25. donpcevent "Soldier1#mos::OnEnable";
  26. donpcevent "Soldier2#mos::OnEnable";
  27. donpcevent "Soldier3#mos::OnEnable";
  28. mes "[Soldier]";
  29. mes "Halt right there!";
  30. next;
  31. mes "[Soldier]";
  32. mes "We have information";
  33. mes "that you've been secretly";
  34. mes "communicating with";
  35. mes "Baba Yaga, the Horrible.";
  36. next;
  37. mes "[Soldier]";
  38. mes "If you have something to say,";
  39. mes "speak to the Csar.";
  40. mes "Come with us.";
  41. close2;
  42. donpcevent "Soldier1#mos::OnInit";
  43. donpcevent "Soldier2#mos::OnInit";
  44. donpcevent "Soldier3#mos::OnInit";
  45. set mos_nowinter,12;
  46. warp "mosk_in",125,92;
  47. end;
  48. }
  49. else if (mos_nowinter == 12 || mos_nowinter == 13) {
  50. donpcevent "Soldier1#mos::OnEnable";
  51. donpcevent "Soldier2#mos::OnEnable";
  52. donpcevent "Soldier3#mos::OnEnable";
  53. mes "[Soldier]";
  54. mes "We expected";
  55. mes "that you would appear again.";
  56. mes "What is your business with the Csar?";
  57. next;
  58. if(select("Run away.:Explain the situation.") == 1) {
  59. mes "["+strcharinfo(0)+"]";
  60. mes "I should get out of here...";
  61. close2;
  62. warp "mosk_dun02",100,100;
  63. }
  64. else {
  65. mes "-I explain what happend until now.-";
  66. next;
  67. mes "[Soldier]";
  68. mes "If you have something to say, speak";
  69. mes "to the Csar.";
  70. mes "If you leave to this place,";
  71. mes "you will be considered as our enemy.";
  72. close2;
  73. }
  74. donpcevent "Soldier1#mos::OnInit";
  75. donpcevent "Soldier2#mos::OnInit";
  76. donpcevent "Soldier3#mos::OnInit";
  77. end;
  78. }
  79. else {
  80. warp "mosk_in",215,41;
  81. end;
  82. }
  83. }
  84. mosk_dun02,53,215,3 script Soldier1#mos 4_M_RUSKNIGHT,{
  85. mes "[Soldier]";
  86. mes "We're the Csar's soldiers.";
  87. mes "We're called out for emergencies,";
  88. mes "don't disturb us anymore.";
  89. close;
  90. OnInit:
  91. hideonnpc strnpcinfo(0);
  92. end;
  93. OnEnable:
  94. hideoffnpc strnpcinfo(0);
  95. end;
  96. }
  97. mosk_dun02,50,217,3 duplicate(Soldier1#mos) Soldier2#mos 4_M_RUSKNIGHT
  98. mosk_dun02,56,217,5 duplicate(Soldier1#mos) Soldier3#mos 4_M_RUSKNIGHT
  99. mosk_dun01,170,164,3 script Milestone#1 HIDDEN_NPC,{
  100. mes "- There is writing on a big rock. -";
  101. next;
  102. mes "^3131FF- Those who serve the Sun will die, Go to the North. -^000000";
  103. close;
  104. }
  105. mosk_dun01,207,276,3 script Milestone#1-2 HIDDEN_NPC,{
  106. mes "- There is writing on a big rock. -";
  107. next;
  108. mes "^3131FF- Those who advance may get hurt but are courageous of heart and those who move back will remain safe.";
  109. mes "If you have courage, step forward. Otherwise, step backward. -^000000";
  110. next;
  111. if(select("Step forward.:Stay.") == 1) {
  112. mes "- You follow the way before you. -";
  113. close2;
  114. warp "mosk_dun02",165,30;
  115. end;
  116. }
  117. mes "- You won't advance. -";
  118. close;
  119. }
  120. mosk_dun01,264,191,3 script Milestone#1-3 HIDDEN_NPC,{
  121. mes "- There is writing on a big rock. -";
  122. next;
  123. mes "^3131FF- Those who advance may get hurt but are brave of heart and those who move back will remain safe.";
  124. mes "If you are brave, then take a step forward. Otherwise, step back. -^000000";
  125. next;
  126. if(select("Step forward.:Stay.") == 1) {
  127. mes "- You follow the way before you. -";
  128. close2;
  129. warp "mosk_dun03",117,36;
  130. end;
  131. }
  132. mes "- You decide to stay. -";
  133. close;
  134. }
  135. mosk_dun02,168,28,3 script Milestone#2-1 HIDDEN_NPC,{
  136. mes "- There is writing on a big rock. -";
  137. next;
  138. mes "^3131FF- Those who advance may get hurt but are valorous of heart and those who move back will remain safe.";
  139. mes "If you valorous, then take a step forward. Otherwise, step back. -^000000";
  140. next;
  141. if(select("Go back.:Stay.") == 1) {
  142. mes "- You sense danger and decide to go back -";
  143. close2;
  144. warp "mosk_dun01",201,269;
  145. end;
  146. }
  147. mes "- You decided to stay. -";
  148. close;
  149. }
  150. mosk_dun02,268,117,3 script Milestone#2-3 HIDDEN_NPC,{
  151. mes "- There is writing on a big rock. -";
  152. next;
  153. mes "^3131FF- Those who step forward will gain honor but may die, those who step backward will have courage but may still get hurt.";
  154. mes "If you are truly brave, step forward. Otherwise, step back -^000000";
  155. next;
  156. if(select("Step forward.:Stay.") == 1) {
  157. mes "- You bravely step forward. -";
  158. close2;
  159. warp "mosk_dun03",32,135;
  160. end;
  161. }
  162. mes "- You decided to stay. -";
  163. close;
  164. }
  165. mosk_dun03,27,131,3 script Milestone#3-2 HIDDEN_NPC,{
  166. mes "- There is writing on a big rock. -";
  167. next;
  168. mes "^3131FF- Those who stay may die but will gain honor, those who go back may get hurt but will gain courage.";
  169. mes "Those who have courage will go back, otherwise step forward and stay. -^000000";
  170. next;
  171. if(select("Go back.:Stay.") == 1) {
  172. mes "- You sense danger and decide to go back -";
  173. close2;
  174. warp "mosk_dun02",262,118;
  175. end;
  176. }
  177. mes "- You decide to stay. -";
  178. close;
  179. }
  180. mosk_dun03,119,46,3 script Milestone#3-1 HIDDEN_NPC,{
  181. mes "There is writing on a big rock.";
  182. next;
  183. mes "^3131FF- Those who stay may die but will gain honor, those who go back may get hurt but will gain courage.";
  184. mes "Those who are afraid of the death will go back, otherwise step forward and stay. -^000000";
  185. next;
  186. if(select("Go back.:Stay.") == 1) {
  187. mes "- You sense danger and decide to go back -";
  188. close2;
  189. warp "mosk_dun01",257,190;
  190. end;
  191. }
  192. mes "- You decided to stay. -";
  193. close;
  194. }
  195. mosk_dun01,194,43,3 script Milestone#1-1 HIDDEN_NPC,{
  196. mes "- There is writing on a big rock. -";
  197. next;
  198. mes "- If you want to protect your life, go back -";
  199. close;
  200. }
  201. mosk_fild02,198,53,3 script Ship#mos_dun HIDDEN_NPC,{
  202. mes "- You find a ship at anchor. -";
  203. next;
  204. if(select("Take the ship and go back to the village.:Explore more.") == 1) {
  205. mes "- You board the ship and pull at the oars. -";
  206. close2;
  207. warp "moscovia",140,54;
  208. end;
  209. }
  210. mes "- That unknown area arouses your interest. -";
  211. close;
  212. }