eden_common.txt 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438
  1. //===== rAthena Script =======================================
  2. //= Eden Group Quests - Common NPCs
  3. //===== By: ==================================================
  4. //= L0ne_W0lf
  5. //===== Current Version: =====================================
  6. //= 2.0
  7. //===== Compatible With: =====================================
  8. //= rAthena Project
  9. //===== Description: =========================================
  10. //= Eden Group Headquarter NPC's.
  11. //===== Additional Comments: =================================
  12. //= 1.0 First Version.
  13. //= 1.1 Removed showevent use, and use of duplicates.
  14. //= Commented out warps that should not be active.
  15. //= 1.2 Reduced 300+ copy-paste lines to 1 duplicated NPC. [Brian]
  16. //= 1.3 Some little optimization here and there. [Masao]
  17. //= 1.4 Updated to match the new Izlude Map. [Masao]
  18. //= 1.5 Added some missing Eden Group Teleport Officers. [Masao]
  19. //= 1.6 Added Izlude RE coordinates. [Euphy]
  20. //= 1.7 Added Malaya teleporter. [Euphy]
  21. //= 1.8 Updated to match the latest official script. [Euphy]
  22. //= 1.9 Added support to Para_Team_Mark_ in Eden Group. [AtlantisRO/Ragno]
  23. //= 2.0 Added use of F_HasEdenGroupMark function. [Ragno]
  24. //============================================================
  25. // Common NPCs :: lv_tre
  26. //============================================================
  27. moc_para01,27,35,5 script Secretary Lime Evenor 4_F_EDEN_OFFICER,{
  28. if (checkweight(1201,1) == 0 || (MaxWeight - Weight) < 2000) {
  29. mes "- Wait a minute !! -";
  30. mes "- Currently you're carrying -";
  31. mes "- too many items with you. -";
  32. mes "- Please try again -";
  33. mes "- after you lose some weight. -";
  34. close;
  35. }
  36. if (countitem(6219) > 0) {
  37. mes "[Lime Evenor]";
  38. mes "Thanks to many adventurers visiting our Eden Group, we've recently prepared a new version of Eden Group Mark for our visitors.";
  39. mes "And it is also possible to exchange old version of Eden Group Mark into a new one.";
  40. next;
  41. mes "[Lime Evenor]";
  42. mes "Though it has a slight time delay, this new version of Eden Group Mark will send you back to current saved location.";
  43. mes "Would you like to exchange yours?";
  44. next;
  45. if (select("Sure:I'm good.") == 2){
  46. mes "[Lime Evenor]";
  47. mes "What possible reason would you have... to not exchange?";
  48. close;
  49. }
  50. delitem 6219,1;
  51. getitem 22508,1;
  52. mes "[Lime Evenor]";
  53. mes "There you go. Come back again~";
  54. close;
  55. }
  56. mes "[Lime Evenor]";
  57. mes "People who follow their dreams and romances listen to me. We are representatives of the paradise called 'The garden of Eden' called the Eden group . There is no place like this anywhere.";
  58. mes "Hello. Can I help you?";
  59. next;
  60. while (1) {
  61. switch (select("What is Eden group?:Join the Eden Group.:Register new mission.:Search for missions.:Cancel.")) {
  62. case 1:
  63. mes "[Lime Evenor]";
  64. mes "Eden Group is a group that helps people who are suffering from distresses in Midgard.";
  65. next;
  66. mes "[Lime Evenor]";
  67. mes "If people need help, we put up the case on the bulletin board and introduce it to our members who are eager to help those in need.";
  68. next;
  69. mes "[Lime Evenor]";
  70. mes "Eden members will review the missions and help those who post them up.";
  71. mes "Members do these missions for rewards.";
  72. next;
  73. mes "[Lime Evenor]";
  74. mes "If you are not too familiar with Midgard, this is a great way to explore the world.";
  75. mes "Or, if you are mature enough, you can travel the world and make new friends while doing missions. Your honorable name will be spread out among lands.";
  76. next;
  77. break;
  78. case 2:
  79. if (!callfunc("F_HasEdenGroupMark")) {
  80. mes "[Lime Evenor]";
  81. mes "You can be a Eden's member by simply registering with me.";
  82. mes "Would you like to join Eden Group?";
  83. next;
  84. switch (select("Yes, I want to join.:No, I don't want to join.")) {
  85. case 1:
  86. mes "[Lime Evenor]";
  87. mes "Aright. Excellent! Please write down your name here.";
  88. input .@input$;
  89. next;
  90. mes "[Lime Evenor]";
  91. mes "Are you done?";
  92. mes "Let me see.";
  93. next;
  94. mes "[Lime Evenor]";
  95. mes "Your name is ^3131FFBo"+.@input$+"Ba^000000...? Is that right?";
  96. mes "Huh? Isn't it??";
  97. next;
  98. emotion ET_SWEAT;
  99. mes "[Lime Evenor]";
  100. mes "Hmm, that isn't what you wrote?";
  101. mes "Ok, hmm, it seems a bit hard to read.";
  102. next;
  103. mes "[Lime Evenor]";
  104. mes "Would you please write your name again? Please write it ^3131FFClearly^000000.";
  105. input .@input$;
  106. next;
  107. mes "[Lime Evenor]";
  108. mes "Ah~ ha. You are ^3131FF"+strcharinfo(0)+"^000000.";
  109. mes "I got it right this time.";
  110. next;
  111. emotion ET_BEST;
  112. mes "[Lime Evenor]";
  113. mes "We already put your name on the list.";
  114. mes "Welcome to Eden's group new member!";
  115. next;
  116. mes "[Lime Evenor]";
  117. mes "Hopefully you can do great work as an Eden's member.";
  118. getitem 22508,1; //Para_Team_Mark_
  119. next;
  120. break;
  121. case 2:
  122. mes "[Lime Evenor]";
  123. mes "Do you still have questions about Eden Group?";
  124. next;
  125. break;
  126. }
  127. } else {
  128. mes "[Lime Evenor]";
  129. mes "You are already a member of Eden Group.";
  130. next;
  131. }
  132. break;
  133. case 3:
  134. mes "[Lime Evenor]";
  135. mes "Do you want to register some missions that you want us to do?";
  136. next;
  137. if(select("Yes, I want to register.:No, I don't.") == 1) {
  138. mes "[Lime Evenor]";
  139. mes "Alrigh. Please write down your name on it.";
  140. input .@input$;
  141. next;
  142. mes "[Lime Evenor]";
  143. mes "^3131FF"+strcharinfo(0)+"^000000.. Is that your name?";
  144. mes "Hmm, your handwriting is not clear. I can't read. it";
  145. next;
  146. mes "[Lime Evenor]";
  147. mes "^3131FF"+strcharinfo(0)+"^000000, tell me what you want to register for.";
  148. mes "Which map should we go to?";
  149. input .@input$;
  150. next;
  151. mes "[Lime Evenor]";
  152. mes "^3131FFMission Map: "+.@inputstr$+"^000000";
  153. mes "hum, I will note that.";
  154. next;
  155. mes "[Lime Evenor]";
  156. mes "Please let me know what kind of missions your are lookng for.";
  157. mes "It should be briefly like 'Hunt 10 Porings.'";
  158. input .@input$;
  159. next;
  160. mes "[Lime Evenor]";
  161. mes "Are you done?";
  162. mes "Let me check.";
  163. next;
  164. mes "[Lime Evenor]";
  165. mes "Huh...........";
  166. next;
  167. mes "[Lime Evenor]";
  168. mes "Hum.. huh??..................";
  169. next;
  170. emotion ET_THINK;
  171. mes "[Lime Evenor]";
  172. mes "I think you should complete one of our missions first before you take up a new mission.";
  173. next;
  174. emotion ET_HNG;
  175. mes "[Lime Evenor]";
  176. mes "^3131FFClient: Lime Evenor^000000";
  177. mes "^3131FFMission: Practice your handwriting for one month.^000000";
  178. mes "You've got really bad penmanship!";
  179. next;
  180. mes "[Lime Evenor]";
  181. mes "^3131FFMission:"+.@input$+"^000000";
  182. mes "Anyway, you are done registering for a new mission.";
  183. next;
  184. mes "[Lime Evenor]";
  185. mes "Missions are fully booked. You have to wait for an spot to clear up.";
  186. mes "Please kindly wait until your turn.";
  187. next;
  188. }
  189. break;
  190. case 4:
  191. if (callfunc("F_HasEdenGroupMark")) {
  192. mes "[Lime Evenor]";
  193. mes "Would like to try some missions as an Eden member?";
  194. next;
  195. mes "[Lime Evenor]";
  196. mes "Check the right side of the bulletin board, there are various kinds of missions waiting for you.";
  197. mes "Please carefully read the mission list and the qualifications and choose one of them.";
  198. next;
  199. }
  200. else {
  201. mes "[Lime Evenor]";
  202. mes "You need to join Eden Group first if you want to do some missions.";
  203. close;
  204. }
  205. break;
  206. case 5:
  207. mes "[Lime Evenor]";
  208. mes "If you have any questions please come back again.";
  209. close;
  210. }
  211. }
  212. close;
  213. }
  214. - script Eden Teleport Officer#0::eto -1,{
  215. mes "[Eden Teleport Officer]";
  216. mes "Those who are wandering around this strange world with aimless eyes listen up and come to me!";
  217. mes "Eden group is here to help you and will show you the great future.";
  218. next;
  219. mes "[Eden Teleport Officer]";
  220. mes "You have nothing to do but waste your time?";
  221. mes "You are eager to do something good but no one offers you work?";
  222. mes "Would you like to be a problem solver?";
  223. mes "Eden group is here to solve your problem.";
  224. next;
  225. switch (select("Move to Eden Group.:Don't want to talk anymore.")) {
  226. case 1:
  227. mes "[Eden Teleport Officer]";
  228. mes "Let's go to our secret base!";
  229. set nak_warp,strnpcinfo(2);
  230. close2;
  231. warp "moc_para01",31,14;
  232. end;
  233. case 2:
  234. mes "[Eden Teleport Officer]";
  235. mes "If you don't know what to do for your future, don't hesitate to tell me. Just drop by and talk to me! Ok?";
  236. close;
  237. }
  238. }
  239. prontera,124,76,3 duplicate(eto) Eden Teleport Officer#1 729
  240. moc_ruins,68,164,3 duplicate(eto) Eden Teleport Officer#2 729
  241. geffen,132,66,3 duplicate(eto) Eden Teleport Officer#3 729
  242. alberta,124,67,3 duplicate(eto) Eden Teleport Officer#4 729
  243. aldebaran,133,119,5 duplicate(eto) Eden Teleport Officer#5 729
  244. izlude_in,68,162,1 duplicate(eto) Eden Teleport Officer#6 729
  245. prt_church,103,78,3 duplicate(eto) Eden Teleport Officer#7 729
  246. geffen_in,160,104,5 duplicate(eto) Eden Teleport Officer#8 729
  247. moc_prydb1,53,126,3 duplicate(eto) Eden Teleport Officer#9 729
  248. alberta_in,75,39,3 duplicate(eto) Eden Teleport Officer#10 729
  249. payon_in02,58,58,1 duplicate(eto) Eden Teleport Officer#11 729
  250. payon,177,111,3 duplicate(eto) Eden Teleport Officer#12 729
  251. que_ng,33,73,3 duplicate(eto) Eden Teleport Officer#13 729
  252. que_ng,144,161,5 duplicate(eto) Eden Teleport Officer#14 729
  253. yuno,144,189,5 duplicate(eto) Eden Teleport Officer#15 729
  254. rachel,125,144,3 duplicate(eto) Eden Teleport Officer#16 729
  255. comodo,202,151,4 duplicate(eto) Eden Teleport Officer#17 729
  256. hugel,93,153,4 duplicate(eto) Eden Teleport Officer#18 729
  257. veins,220,109,4 duplicate(eto) Eden Teleport Officer#19 729
  258. einbroch,250,211,4 duplicate(eto) Eden Teleport Officer#20 729
  259. lighthalzen,164,86,4 duplicate(eto) Eden Teleport Officer#21 729
  260. amatsu,100,145,5 duplicate(eto) Eden Teleport Officer#22 729
  261. ayothaya,221,191,3 duplicate(eto) Eden Teleport Officer#23 729
  262. louyang,224,107,3 duplicate(eto) Eden Teleport Officer#24 729
  263. gonryun,162,122,5 duplicate(eto) Eden Teleport Officer#25 729
  264. moscovia,209,197,5 duplicate(eto) Eden Teleport Officer#26 729
  265. brasilis,191,224,3 duplicate(eto) Eden Teleport Officer#27 729
  266. dewata,192,193,5 duplicate(eto) Eden Teleport Officer#28 729
  267. morocc,161,97,5 duplicate(eto) Eden Teleport Officer#29 729
  268. izlude,131,148,4 duplicate(eto) Eden Teleport Officer#30 729
  269. izlude_a,131,148,4 duplicate(eto) Eden Teleport Officer#30::eto_iz_a 729
  270. izlude_b,131,148,4 duplicate(eto) Eden Teleport Officer#30::eto_iz_b 729
  271. izlude_c,131,148,4 duplicate(eto) Eden Teleport Officer#30::eto_iz_c 729
  272. izlude_d,131,148,4 duplicate(eto) Eden Teleport Officer#30::eto_iz_d 729
  273. umbala,105,158,3 duplicate(eto) Eden Teleport Officer#31 729
  274. malaya,225,218,1 duplicate(eto) Eden Teleport Officer#32 729
  275. verus04,116,243,0 duplicate(eto) Eden Teleport Officer#33 729
  276. moc_para01,30,10,0 script #eden_out 45,1,1,{
  277. OnTouch:
  278. switch (nak_warp) {
  279. case 1: warp "prontera",116,72; end;
  280. case 2: warp "moc_ruins",64,161; end;
  281. case 3: warp "geffen",120,39; end;
  282. case 4: warp "alberta",117,56; end;
  283. case 5: warp "aldebaran",168,112; end;
  284. case 6: warp "izlude_in",73,165; end;
  285. case 7: warp "prt_church",99,78; end;
  286. case 8: warp "geffen_in",162,99; end;
  287. case 9: warp "moc_prydb1",51,118; end;
  288. case 10: warp "alberta_in",73,43; end;
  289. case 11: warp "payon_in02",64,60; end;
  290. case 12: warp "payon",161,58; end;
  291. case 13: warp "que_ng",33,63; end;
  292. case 14: warp "que_ng",144,166; end;
  293. case 15: warp "yuno",158,125; end;
  294. case 16: warp "rachel",115,125; end;
  295. case 17: warp "comodo",192,145; end;
  296. case 18: warp "hugel",88,148; end;
  297. case 19: warp "veins",216,104; end;
  298. case 20: warp "einbroch",246,204; end;
  299. case 21: warp "lighthalzen",159,95; end;
  300. case 22: warp "amatsu",110,150; end;
  301. case 23: warp "ayothaya",217,178; end;
  302. case 24: warp "louyang",217,103; end;
  303. case 25: warp "gonryun",155,120; end;
  304. case 26: warp "moscovia",218,198; end;
  305. case 27: warp "brasilis",190,220; end;
  306. case 28: warp "dewata",192,182; end;
  307. case 29: warp "morocc",161,97; end;
  308. case 30: warp "izlude",134,118; end; // Old coordinates: (127,142)
  309. case 31: warp "umbala",94,154; end;
  310. case 32: warp "malaya",234,199; end;
  311. case 33: warp "verus04",115,243; end;
  312. default: warp "prontera",116,72; end;
  313. }
  314. end;
  315. }
  316. moc_para01,47,39,3 script #warp_2_pass 111,{
  317. if (callfunc("F_HasEdenGroupMark")) {
  318. mes "[Lime Evenor]";
  319. mes "Oh, it is an exclusive place only for Eden's members.";
  320. mes "If you are a member, you can come whenever you want!";
  321. next;
  322. switch (select("Enter.:Don't Enter.")) {
  323. case 1:
  324. mes "This door is beautifully decorated but seems a little bit too heavy.";
  325. close2;
  326. warp "moc_para01",106,14;
  327. end;
  328. case 2:
  329. mes "[Lime Evenor]";
  330. mes "Well, if you are not interested.";
  331. close;
  332. }
  333. }
  334. mes "[Lime Evenor]";
  335. mes "Oh, this is an exclusive place for Eden's members only.";
  336. mes "If you want to go inside, you have to join the Eden Group.";
  337. close;
  338. }
  339. moc_para01,16,22,7 script Old Adventurer#eden 900,{
  340. mes "[Old Adventurer]";
  341. mes "Harsh, I am strong enough even if I look old! What is her name? Lime Evenor? She just ignores me like I am a some kind of old senile bastard.";
  342. next;
  343. mes "[Old Adventurer]";
  344. mes "I came here to join the Eden group! I don't deserve this!";
  345. mes "Do you also think I look like I'm senile?";
  346. close;
  347. }
  348. moc_para01,182,48,3 script Eden's Chief#eden 886,{
  349. set .@eggf,rand(1,118);
  350. set .@eggf_1,.@eggf + 1;
  351. set .@eggf_2,.@eggf + 2;
  352. set .@eggf_6,.@eggf + 6;
  353. mes "[Eden's Chief]";
  354. mes ""+.@eggf+".. "+.@eggf_1+"... "+.@eggf_2+".... "+.@eggf_6+"..?";
  355. next;
  356. emotion ET_CRY;
  357. mes "[Eden's Chief]";
  358. mes "Oh, Shoot! How many eggs have I done?";
  359. mes "Aww!!! I totally forgot! I have to count again!";
  360. next;
  361. emotion ET_CRY;
  362. mes "[Eden's Chief]";
  363. mes "Why have you asked me to do this? What kind of mission is that?";
  364. next;
  365. emotion ET_CRY;
  366. mes "[Eden's Chief]";
  367. mes "What are you going to with all of those fried eggs? I am sure you can't eat all of them. You just want to bother me, right?";
  368. close;
  369. }
  370. moc_para01,172,28,5 script Eden's Intern#eden 883,{
  371. mes "[Eden's Intern]";
  372. mes "Actually, I realized that.";
  373. next;
  374. mes "[Eden's Intern]";
  375. mes "We have to work really hard unless you want to fail.";
  376. next;
  377. mes "[Eden's Intern]";
  378. mes "But, I have never learned about pharmaceuticals yet.";
  379. next;
  380. mes "[Eden's Intern]";
  381. mes "I'm going to fail. I can't do this.";
  382. close;
  383. }
  384. moc_para01,20,35,5 script Office Assistant Neede 814,{
  385. mes "[Neede]";
  386. mes "I became a Eden's member several years ago, but it feels like it was yesterday.";
  387. mes "I have been doing lots of work, so I didn't even notice how many years I spent here.";
  388. next;
  389. mes "[Neede]";
  390. mes "It reminds me that it was like a war everyday.";
  391. next;
  392. mes "[Neede]";
  393. mes "The chief of ^3131FFthe restaurant on the right side^000000";
  394. mes "uses too much seasoning every time he cooks, the smell is all over the lobby. We have to open the window regularly because we can't stand the smell!";
  395. next;
  396. mes "[Neede]";
  397. mes "And, do you see the ^3131FFgymnasium^000000 on the cross of ^3131FFthe north side of the lobby^000000? They always shout when they exercise, I can even hear them from here!";
  398. next;
  399. emotion ET_ANGER;
  400. mes "[Neede]";
  401. mes "Besides, the weird girl from ^3131FFthe second floor^000000 is crying all the time. Her cries drive me crazy.";
  402. next;
  403. mes "[Neede]";
  404. mes "Ah, that weird girl is actually our boss...";
  405. next;
  406. mes "[Neede]";
  407. mes "I don't know what she has been up to. But she cries and shouts all the time. Oh, sometimes I hear 'Bang!', loud booming sounds... I don't know where it came from.";
  408. next;
  409. emotion ET_HUK;
  410. mes "[Neede]";
  411. mes "Wait!";
  412. mes "Shh! It is a secret, you can't tell anybody!";
  413. next;
  414. mes "[Neede]";
  415. emotion ET_OHNO;
  416. mes "I don't trust Evenor. She never shows her feelings... she's going to snitch on me to my boss.";
  417. next;
  418. emotion ET_HNG, getnpcid(0, "Secretary Lime Evenor");
  419. mes "[Lime Evenor]";
  420. mes "I am not that kind of girl.";
  421. next;
  422. emotion ET_KEK;
  423. mes "[Neede]";
  424. mes "Huh? Did you hear that? Gosh~!";
  425. close;
  426. }
  427. function script F_HasEdenGroupMark {
  428. return (countitem(6219) > 0 || countitem(22508) > 0);
  429. }