tha_statues.txt 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269
  1. //===== rAthena Script =======================================
  2. //= Custom Thanatos Tower Quest
  3. //===== By: ==================================================
  4. //= Bibilol, Moryagorn
  5. //===== Current Version: =====================================
  6. //= 1.1
  7. //===== Compatible With: =====================================
  8. //= rAthena Project
  9. //===== Description: =========================================
  10. //= Custom Thanatos Tower Quest
  11. //===== Additional Comments: =================================
  12. //= 1.1 Fixed wrong NPC names in their dialogues, added
  13. //= Justin84's gems check in Sox NPC [Lupus]
  14. //============================================================
  15. //Statue (NPC)(U: UP, D: DOWN, R: RIGHT, L: LEFT) :
  16. // Explain Npc
  17. tha_t08,69,106,4 script Statue 111,{
  18. mes "You can read on the back of the statue:";
  19. mes "'By the spirit of olds, the walls are closed";
  20. mes "Upper floors or foreign taboo";
  21. mes "By the order of the Statues you will find the way";
  22. mes "Which perhaps a day will bring you to me.";
  23. mes ".....Thanatos '";
  24. close;
  25. }
  26. //Tha_t09 :
  27. //(Thalos)(U,L)-->tha_t09,17,158,4
  28. //(Mediane)(D,R)-->tha_t09,84,99,4
  29. //Script:
  30. tha_t09,17,158,4 script Thalos 111,{
  31. if(TSQ_CHK == 1) goto done;
  32. mes "[Thalos]";
  33. mes "You must find the 2nd Statue now.";
  34. set TSQ_CHK,1;
  35. close;
  36. done:
  37. mes "[Thalos]";
  38. mes "Go search the 2nd Statue!";
  39. close;
  40. }
  41. tha_t09,84,99,4 script Mediane 111,{
  42. if(TSQ_CHK != 1) goto nook;
  43. mes "[Mediane]";
  44. mes "Okay, i am warping you to the next floor now.";
  45. next;
  46. set TSQ_CHK,0;
  47. warp "tha_t10", 165, 138;
  48. close;
  49. nook:
  50. mes "[Mediane]";
  51. mes "You must talk with the Spirit in the 1st Statue.";
  52. close;
  53. }
  54. //Tha_t10 :
  55. //(Melkor)(U)-->tha_t10,130,159,4
  56. //(Zebrus)(D,R)-->tha_t10,160,98,4
  57. //(Veriaelle)(D,L)-->tha_t10,99,97,4
  58. //Script:
  59. tha_t10,130,159,4 script Melkor 111,{
  60. if(TSQ_CHK == 1) goto done;
  61. mes "[Melkor]";
  62. mes "You must find the other Spirits now.";
  63. mes "We are 3.";
  64. set TSQ_CHK,1;
  65. close;
  66. done:
  67. mes "[Melkor]";
  68. mes "Go Search, They are in this floor.";
  69. close;
  70. }
  71. tha_t10,160,98,4 script Zebrus 111,{
  72. if(TSQ_CHK != 1) goto nook;
  73. mes "[Zebrus]";
  74. mes "Keep on this way, There is one Spirit left";
  75. set TSQ_CHK,2;
  76. close;
  77. nook:
  78. mes "[Zebrus]";
  79. mes "You seems to be lost, Go back and talk to Melkor.";
  80. next;
  81. set TSQ_CHK,0;
  82. close;
  83. }
  84. tha_t10,99,97,4 script Veriaelle 111,{
  85. if(TSQ_CHK != 2) goto nook;
  86. mes "[Veriaelle]";
  87. mes "Okay, i am warping you to the next floor.";
  88. next;
  89. set TSQ_CHK,0;
  90. warp "tha_t11", 86, 38;
  91. close;
  92. nook:
  93. mes "[Veriaelle]";
  94. mes "You seems to be lost, Go back and talk to Melkor.";
  95. next;
  96. set TSQ_CHK,0;
  97. close;
  98. }
  99. //Tha_t11 :
  100. //(Throtre)(U,L)-->tha_t11,16,85,4
  101. //(Klermaz)(D,R)-->tha_t11,85,16,4
  102. //(Mihane)(D,L)-->tha_t11,16,16,4
  103. //(Seranes)(U,R)-->tha_t11,85,85,4
  104. //Script:
  105. tha_t11,16,85,4 script Throtre 111,{
  106. if(TSQ_CHK == 1) goto done;
  107. mes "[Throtre]";
  108. mes "You got my authorization for the next floor";
  109. mes "However, you must show how strong you are to the other Spirits";
  110. set TSQ_CHK,1;
  111. close;
  112. done:
  113. mes "[Throtre]";
  114. mes "Go search, They Can't leave this floor.";
  115. close;
  116. }
  117. tha_t11,85,16,4 script Klermaz 111,{
  118. if(TSQ_CHK != 1) goto nook;
  119. mes "[Klermaz]";
  120. mes "Hmm it seems that Throtre allowed you to pass.";
  121. mes "Well then you have my blessing, 2 Spirits remaining.";
  122. set TSQ_CHK,2;
  123. close;
  124. nook:
  125. mes "[Klermaz]";
  126. mes "You seems to be lost, Go back and talk to Throtre.";
  127. next;
  128. set TSQ_CHK,0;
  129. close;
  130. }
  131. tha_t11,16,16,4 script Mihane 111,{
  132. if(TSQ_CHK != 2) goto nook;
  133. mes "[Mihane]";
  134. mes "Keep on this way, Only 1 Left.";
  135. set TSQ_CHK,3;
  136. close;
  137. nook:
  138. mes "[Mihane]";
  139. mes "Sorry, You must start over from the begining.";
  140. next;
  141. set TSQ_CHK,0;
  142. close;
  143. }
  144. tha_t11,85,85,4 script Seranes 111,{
  145. if(TSQ_CHK != 3 ) goto nook;
  146. mes "[Seranes]";
  147. mes "Perfect, it seems that the other spirits grants you the access.";
  148. mes "I am warping you to the next floor.";
  149. next;
  150. set TSQ_CHK,0;
  151. warp "tha_t12", 129, 58;
  152. close;
  153. nook:
  154. mes "[Seranes]";
  155. mes "You did not follow the good order, starts again from the begining.";
  156. next;
  157. set TSQ_CHK,0;
  158. close;
  159. }
  160. //Tha_t12 ( M: Middle):
  161. //(Nox)(D,L)-->tha_t12,103,18,4
  162. //(Vox)(R)-->tha_t12,162,58,4
  163. //(Hox)(L)-->tha_t12,96,57,4
  164. //(Dox)(D,R)-->tha_t12,153,17,4
  165. //(Sox)(U)-->tha_t12,128,88,4
  166. //Script:
  167. tha_t12,103,18,4 script Nox 111,{
  168. if(TSQ_CHK == 1 ) goto done;
  169. mes "[Nox]";
  170. mes "Fine, 4 Spirits left.";
  171. set TSQ_CHK,1;
  172. close;
  173. done:
  174. mes "[Nox]";
  175. mes "Go search, They can't leave this floor.";
  176. close;
  177. }
  178. tha_t12,162,58,4 script Vox 111,{
  179. if(TSQ_CHK != 1 ) goto nook;
  180. mes "[Vox]";
  181. mes "Keep on this way, 3 Spirits remaining !";
  182. set TSQ_CHK,2;
  183. close;
  184. nook:
  185. mes "[Vox]";
  186. mes "Sorry, Go back and talk to Nox.";
  187. next;
  188. set TSQ_CHK,0;
  189. close;
  190. }
  191. tha_t12,96,57,4 script Hox 111,{
  192. if(TSQ_CHK != 2 ) goto nook;
  193. mes "[Hox]";
  194. mes "You are on the good way, 2 Spirits remaining !";
  195. set TSQ_CHK,3;
  196. close;
  197. nook:
  198. mes "[Hox]";
  199. mes "Sorry, Go back and talk to Vox.";
  200. next;
  201. set TSQ_CHK,0;
  202. close;
  203. }
  204. tha_t12,153,17,4 script Dox 111,{
  205. if(TSQ_CHK != 3 ) goto nook;
  206. mes "[Dox]";
  207. mes "Perfect, 1 Spirit left.";
  208. set TSQ_CHK,4;
  209. close;
  210. nook:
  211. mes "[Dox]";
  212. mes "Sorry, Go back and talk to Hox.";
  213. next;
  214. set TSQ_CHK,0;
  215. close;
  216. }
  217. tha_t12,128,88,4 script Sox 111,{
  218. if(TSQ_CHK != 4 ) goto nook;
  219. mes "[Sox]";
  220. mes "You have just passed the test successfully.";
  221. next;
  222. mes "[Sox]";
  223. mes "You have to give me Red Magic Stone, Yellow Magic Stone, Blue Magic Stone & Green Magic Stone.";
  224. next;
  225. if(countitem(7426) < 1 || countitem(7427) < 1 || countitem(7428) < 1 || countitem(7429) < 1) goto nostone;
  226. delitem 7426,1;
  227. delitem 7427,1;
  228. delitem 7428,1;
  229. delitem 7429,1;
  230. mes "[Sox]";
  231. mes "I will now warp you to steps of Fate.";
  232. mes "Good-bye.";
  233. next;
  234. set TSQ_CHK,0;
  235. warp "thana_step", 186, 223;
  236. close;
  237. nostone:
  238. mes "[Sox]";
  239. mes "Oh well, seems you don't have enough stones.";
  240. close;
  241. nook:
  242. mes "[Sox]";
  243. mes "Sorry, Go back and talk to Dox.";
  244. next;
  245. set TSQ_CHK,0;
  246. close;
  247. }