louyang.txt 10 KB

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