louyang.txt 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350
  1. //===== rAthena Script =======================================
  2. //= Louyang City NPC's
  3. //===== By: ==================================================
  4. //= Vidar (1.0)
  5. //= Mass Zero (1.1)
  6. //= Dino9021, roughly translated by Celest (1.2)
  7. //= Mass Zero (1.3)
  8. //= MasterOfMuppets (2.0)
  9. //= rAthena Dev Team
  10. //===== Current Version: =====================================
  11. //= 2.9
  12. //===== Compatible With: =====================================
  13. //= rAthena SVN
  14. //===== Description: =========================================
  15. //= [Aegis Conversion]
  16. //= Louyang Town Script
  17. //===== Additional Comments: =================================
  18. //= 2.9 Rescripted to Aegis 10.3 Standards. [L0ne_W0lf]
  19. //============================================================
  20. // Louyang Transportaion
  21. //============================================================
  22. alberta,246,40,3 script Girl#0lou 815,{
  23. mes "[Girl]";
  24. mes "La la la la~";
  25. mes "I feel so good today~";
  26. mes "I'm in the mood to go";
  27. mes "on a picnic somewhere~";
  28. mes "La la la la~";
  29. next;
  30. switch(select("About Louyang.:Go to Louyang.:Cancel.")) {
  31. case 1:
  32. mes "[Girl]";
  33. mes "Oh, are you";
  34. mes "interested in Louyang?";
  35. mes "It's a nice place to";
  36. mes "visit for travelers.";
  37. next;
  38. mes "[Girl]";
  39. mes "Louyang has a long history";
  40. mes "with stories of ancient magic and warriors. It's also rumored that many evil beasts roam the";
  41. mes "Louyang area.";
  42. next;
  43. mes "[Girl]";
  44. mes "You can find cure-all medicines, mysterious occurrences, and";
  45. mes "martial artists all in one place!";
  46. next;
  47. mes "[Girl]";
  48. mes "I used to train in the martial arts every morning back when I was in Louyang. I might not look like it, but I'm pretty strong!";
  49. next;
  50. mes "[Girl]";
  51. mes "If you want to visit";
  52. mes "Louyang, feel free to";
  53. mes "tell me. Just give me";
  54. mes "some Zeny and we'll go~";
  55. close;
  56. case 2:
  57. mes "[Girl]";
  58. mes "I'll guide you to";
  59. mes "Louyang right away.";
  60. mes "For my service, I am";
  61. mes "accepting 10,000 Zeny.";
  62. next;
  63. mes "[Girl]";
  64. mes "So, are you ready?";
  65. next;
  66. if (select("Yes!:No.") == 1) {
  67. if (Zeny > 9999) {
  68. mes "[Girl]";
  69. mes "Okay~";
  70. mes "Ready!";
  71. mes "Have fun!";
  72. close2;
  73. set zeny,zeny-10000;
  74. warp "lou_fild01",190,101;
  75. end;
  76. }
  77. mes "[Girl]";
  78. mes "...";
  79. mes "You don't seem";
  80. mes "to have 10,000 Zeny...";
  81. mes "Go get some money first!";
  82. close;
  83. }
  84. mes "[Girl]";
  85. mes "Oh...";
  86. mes "It's so disappointing";
  87. mes "to hear you say that.";
  88. mes "Well, have a good day!";
  89. close;
  90. case 3:
  91. mes "[Girl]";
  92. mes "Oh...";
  93. mes "Have a good day!";
  94. close;
  95. }
  96. }
  97. lou_fild01,190,100,7 script Girl#1lou 815,{
  98. mes "[Girl]";
  99. mes "Would you";
  100. mes "like to go back";
  101. mes "to Alberta?";
  102. next;
  103. if (select("Go back to Alberta.:Cancel.") == 1) {
  104. mes "[Girl]";
  105. mes "I hope to";
  106. mes "see you again!";
  107. mes "Bye bye!";
  108. close2;
  109. warp "alberta",236,40;
  110. end;
  111. }
  112. mes "[Girl]";
  113. mes "If you like this";
  114. mes "area, why don't you";
  115. mes "stay and enjoy the";
  116. mes "the food and the sights!";
  117. next;
  118. if (Sex) {
  119. mes "[Girl]";
  120. mes "And by sights...";
  121. mes "I mean girls!";
  122. mes "Tee hee~";
  123. }
  124. else {
  125. mes "[Girl]";
  126. mes "And the boys here";
  127. mes "aren't bad looking~";
  128. }
  129. close;
  130. }
  131. // Generic Louyang NPCs
  132. //============================================================
  133. louyang,297,167,2 script Muscular Woman#lou 815,{
  134. if (!Sex) {
  135. mes "[Zhi Ching Li]";
  136. mes "All the members of the Maiden Palace, including myself and our master, are all female.";
  137. next;
  138. mes "[Zhi Ching Li]";
  139. mes "Recently we've had a hard time recruiting new members, so I came here to check if there's any woman who wishes to join us.";
  140. emotion e_dots;
  141. close;
  142. }
  143. mes "[Zhi Ching Li]";
  144. mes "...";
  145. next;
  146. mes "[Zhi Ching Li]";
  147. mes "...";
  148. mes "......";
  149. next;
  150. mes "[Zhi Ching Li]";
  151. mes "Please leave me";
  152. mes "alone, I'm busy.";
  153. close;
  154. }
  155. louyang,274,136,4 script Powerful-looking guy#lou 819,{
  156. mes "[Akiira]";
  157. mes "I am practicing my 'Claw of Dragon.' I not only need to use the power of my fists, I must also condition myself spiritually.";
  158. next;
  159. mes "[Akiira]";
  160. mes "Every martial art requires";
  161. mes "spiritual training since the";
  162. mes "mind controls the body.";
  163. mes "If you've trained yourself spiritually, you can easily";
  164. mes "use any part of the body!";
  165. next;
  166. mes "[Akiira]";
  167. mes "If you are considering";
  168. mes "studying the martial arts, you should first attain knowledge before jumping into the";
  169. mes "physical training.";
  170. next;
  171. mes "[Akiira]";
  172. mes "Learn about the martial arts";
  173. mes "and meditate on life's truths. First, you must find peace of mind before you can hope to master the mind and body.";
  174. close;
  175. }
  176. louyang,276,136,4 script Fist master#lou 819,{
  177. mes "[Zhiang Xiau Ji]";
  178. mes "Finally...";
  179. mes "I have mastered";
  180. mes "the 'Claw of Dragon!'";
  181. next;
  182. mes "[Zhiang Xiau Ji]";
  183. mes "Although there are eight basic steps, I had to learn the history of this art, and meditate, focusing on my spiritual improvement,";
  184. mes "for three years.";
  185. next;
  186. mes "[Zhiang Xiau Ji]";
  187. mes "After that, my master finally started to give me the physical training so I could use the eight steps of the Claw of Dragon. I've devoted myself to this art for thirty years.";
  188. next;
  189. mes "[Zhiang Xiau Ji]";
  190. mes "I'm very proud that I've";
  191. mes "mastered this art ten years earlier than I expected. Now, I need to study this form and improve it by correcting its weak points and enhancing its strengths.";
  192. next;
  193. mes "[Zhiang Xiau Ji]";
  194. mes "I guess that would take me about ten years. But I'm not disheartened by that at all.";
  195. next;
  196. mes "[Zhiang Xiau Ji]";
  197. mes "When you're learning a martial art, you can't rush yourself and learn everything in a short period of time. It's impossible! Plus, that isn't the essence of art...";
  198. close;
  199. }
  200. louyang,276,133,0 script Trainee#1lou::LouTrainee 819,{
  201. mes "[Trainee]";
  202. mes "Yeeeyap~!";
  203. mes "Taaaaaah~~!!";
  204. mes "Hooo~.";
  205. close;
  206. }
  207. louyang,276,131,0 script Trainee#2lou 819,{
  208. mes "[Trainee]";
  209. mes "Tah Tah Tah!";
  210. mes "Taaaaaah~~!!";
  211. mes "Schwooooooo~";
  212. close;
  213. }
  214. louyang,276,129,0 script Trainee#3lou 819,{
  215. mes "[Trainee]";
  216. mes "Si!";
  217. mes "Ayah!!";
  218. close;
  219. }
  220. louyang,274,133,0 script Trainee#4lou 819,{
  221. mes "[Trainee]";
  222. mes "Dergh!";
  223. mes "Dergh!";
  224. mes "Schwa--!";
  225. close;
  226. }
  227. louyang,274,131,0 script Trainee#5lou 819,{
  228. mes "[Trainee]";
  229. mes "Yah Yah Yah!";
  230. mes "Taaaaaah~~!!";
  231. mes "Wataaaaaaaah!";
  232. close;
  233. }
  234. louyang,274,129,0 script Trainee#6lou 819,{
  235. mes "[Trainee]";
  236. mes "Yeeeyap~!";
  237. mes "Taaaaaah~~!!";
  238. mes "Hooo~";
  239. close;
  240. }
  241. louyang,278,133,0 duplicate(LouTrainee) Trainee#7lou 819
  242. louyang,278,131,0 duplicate(LouTrainee) Trainee#8lou 819
  243. louyang,278,129,0 duplicate(LouTrainee) Trainee#9lou 819
  244. louyang,272,133,0 duplicate(LouTrainee) Trainee#10lou 819
  245. louyang,272,131,0 duplicate(LouTrainee) Trainee#11lou 819
  246. louyang,272,129,0 duplicate(LouTrainee) Trainee#12lou 819
  247. // Louyang Viewing Tower
  248. //============================================================
  249. lou_in01,25,23,5 script Friendly Looking Lady#lo 817,{
  250. mes "[Hong Miao]";
  251. mes "Welcome.";
  252. next;
  253. mes "[Hong Miao]";
  254. mes "This is an elevator which leads";
  255. mes "to the Observation Tower. We are providing you a safe and fast transfer service for an affordable fee. Would you like to use this service?";
  256. next;
  257. switch(select("Information.:Yes.:Maybe next time.")) {
  258. case 1:
  259. mes "[Hong Miao]";
  260. mes "After many suggestions and proposals were sent to the Louyang tourism office, the Observation Tower was built so tourists can enjoy the sights.";
  261. next;
  262. mes "[Hong Miao]";
  263. mes "Due to the geographical";
  264. mes "features of Louyang, it's difficult to enjoy the breath taking view that our land has to offer.";
  265. next;
  266. mes "[Hong Miao]";
  267. mes "You can come up to the tower by taking the elevator right here. We are providing this quick and safe transfer service for 500 zeny per person.";
  268. close;
  269. case 2:
  270. if (Zeny < 500) {
  271. mes "[Hong Miao]";
  272. mes "I'm sorry, but you do not have enough zeny. I hope you'll come back later to enjoy the Observation Tower. Have a good day.";
  273. close;
  274. }
  275. mes "[Hong Miao]";
  276. mes "Thank you for your patronage.";
  277. mes "We are trying to provide you with the best of service. Please";
  278. mes "come again.";
  279. next;
  280. set zeny,zeny-500;
  281. warp "lou_in01",17,19;
  282. end;
  283. case 3:
  284. mes "[Hong Miao]";
  285. mes "Please come";
  286. mes "back later.";
  287. mes "Have a good day.";
  288. close;
  289. }
  290. }
  291. louyang,84,254,0 script Exit#lou 111,{
  292. mes "^3355FFThere is some sort";
  293. mes "of descent apparatus.";
  294. mes "Would you like to use it?^000000";
  295. next;
  296. if (select("Yes.:No.") == 1) {
  297. if (rand(1,100) == 34) {
  298. percentheal -99,0;
  299. warp "louyang",86,269;
  300. mapannounce "louyang",""+strnpcinfo(0)+" : Oh God, I'm faaaaaaaaaaaalling~~!!!!",bc_map;
  301. }
  302. else {
  303. warp "lou_in01",10,18;
  304. }
  305. end;
  306. }
  307. close;
  308. }
  309. //============================================================
  310. // Old changelog
  311. //============================================================
  312. //= Originally made for Vidar
  313. //= 1.2 - Added official warp NPC's
  314. //= 1.3 - Fixed gramatical errors. (Like wtf's with the weird
  315. // texts celest? xD)
  316. //= 2.0 - Completely rewrote the current scripts based on iRO.
  317. // Added the 'Shouting Quest' and the 'Medicine Quest'
  318. //= 2.1 Optimized, made quest vars unique [Lupus]
  319. //= 2.1a minor fix, 2.1b Fixed Typo�s [Nexon]
  320. //= 2.2 Fixed exploits [Lupus]
  321. //= 2.2a Updated the color codes a little and fixed the shouting quest
  322. //= to broadcast green text.
  323. //= 2.2b A small fix to the shout quest npc in louyang field not warping you
  324. //= back up to the tower if you died or teleported out of there. [MasterOfMuppets]
  325. //= 2.3 A small fix, the code is so messy I can't believe I scripted it >.< [MasterOfMuppets]
  326. //= 2.4 Implemented a few more npcs, thanks to Prometheus for them. [MasterOfMuppets]
  327. //= 2.5 Implemented the Poison King quest, beware of potential bugs. [MasterOfMuppets]
  328. //= 2.6 Removed Duplicates [Silent]
  329. //= 2.6a Updated a few names with new item_db.txt names [Evera]
  330. //= 2.7 Split quests to quests/quests_louyang.txt [Evera]
  331. //= 2.7a Minor optimizations before Louyang quests [Lupus]
  332. //= 2.7b Moved guides to the Guides folder. 2.7� more typos [Lupus]
  333. //= 2.8 Moved some quest-related NPCs to proper file. [SinSloth]
  334. //= 2.9 Rescripted to Aegis 10.3 Standards. [L0ne_W0lf]
  335. //============================================================