mosk_dun.txt 7.8 KB

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