guildrelay.txt 101 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226
  1. //===== eAthena Script =======================================
  2. //= Guild Relay Quest
  3. //===== By: ==================================================
  4. //= L0ne_W0lf
  5. //===== Current Version: =====================================
  6. //= 1.0
  7. //===== Compatible With: =====================================
  8. //= eAthena SVN
  9. //===== Description: =========================================
  10. //= [Aegis Conversion]
  11. //= Guild Relay Quest.
  12. //= Quest designed for multiple users at once.
  13. //= Luina Castle NPCs must remain enabled.
  14. //= Variable in use: guildrelay_q (Max: ??)
  15. //= Variable in use: guildtime (Max: ??)
  16. //===== Additional Comments: =================================
  17. //= 1.0 First version.
  18. //============================================================
  19. // Luina 1
  20. //============================================================
  21. aldeg_cas01,51,102,5 script Buzz#01::GuildRelay1 754,{
  22. set .@name$,strnpcinfo(1);
  23. if (.@name$ == "Buzz") {
  24. set .@name2$,"Lenya";
  25. set .@name3$,"Gealuve";
  26. set .@name4$,"Pariz";
  27. set .@GID, GetCastleData("aldeg_cas"+strnpcinfo(2),1);
  28. }
  29. else if (.@name$ == "Jody") {
  30. set .@name2$,"Ron Haware";
  31. set .@name3$,"Vers";
  32. set .@name4$,"Gen Garish";
  33. set .@GID, GetCastleData("gefg_cas"+strnpcinfo(2),1);
  34. }
  35. else if (.@name$ == "Chungye") {
  36. set .@name2$,"Dosuhlji";
  37. set .@name3$,"Yayula";
  38. set .@name4$,"Ashin";
  39. set .@GID, GetCastleData("payg_cas"+strnpcinfo(2),1);
  40. }
  41. else if (.@name$ == "Hermod") {
  42. set .@name2$,"Atila";
  43. set .@name3$,"Cecil";
  44. set .@name4$,"Diligo";
  45. set .@GID, GetCastleData("prtg_cas"+strnpcinfo(2),1);
  46. }
  47. if (checkweight(908,630) == 0) {
  48. mes "^3355FFWait a minute! You're";
  49. mes "carrying too many items";
  50. mes "right now: store some of";
  51. mes "your extra things in Kafra";
  52. mes "Storage, and then come back.^000000";
  53. close;
  54. }
  55. if (.@GID == 0) {
  56. mes "^3355FFYou're not sure why, but";
  57. mes "this guy seems to be pretty";
  58. mes "depressed. He briefly makes";
  59. mes "eye contact with you, but then";
  60. mes "breaks it off. Apparently,";
  61. mes "he wants to be left alone.^000000";
  62. next;
  63. mes "^3355FFThere's no reason for you";
  64. mes "to stick around an ownerless";
  65. mes "stronghold. You may as well";
  66. mes "head on your way.^000000";
  67. close;
  68. }
  69. if (getcharid(2) == .@GID) {
  70. if (strcharinfo(0) == getguildmaster(.@GID)) {
  71. if (guildrelay_q == 100) {
  72. if (guildtime > 22) {
  73. if ((gettime(3) > 1) && (gettime(3) < guildtime)) {
  74. mes "[" + .@name$ + "]";
  75. mes "Oh, you're back. So did you";
  76. mes "rest up enough? I'm sure the";
  77. mes "other guild members are";
  78. mes "feeling refreshed by now.";
  79. mes "From the looks of it, you're";
  80. mes "ready for your next mission.";
  81. next;
  82. mes "[" + .@name$ + "]";
  83. mes "The next step for";
  84. mes "you is to take this, the";
  85. mes "''Spirit of Trust.'' If this";
  86. mes "guild is going to be solid,";
  87. mes "you need to think how much";
  88. mes "trust there is in the guild.";
  89. set guildrelay_q,8;
  90. getitem 7240,1; //Soul_Of_Confidence
  91. next;
  92. mes "[" + .@name$ + "]";
  93. mes "Your second test will be";
  94. mes "to give that ^4D4DFFSpirit of Trust^000000";
  95. mes "to a sage that can manipulate";
  96. mes "nature's attributes. In other";
  97. mes "words, a Sage or Scholar";
  98. mes "must carry out this task.";
  99. next;
  100. mes "[" + .@name$ + "]";
  101. mes "The Spirit of Trust must";
  102. mes "be delivered to ^4D4DFF" + .@name3$ + "^000000,";
  103. mes "so don't forget to relay";
  104. mes "that information to your";
  105. mes "Sage or Scholar. Very well,";
  106. mes "good luck on your journey.";
  107. close;
  108. }
  109. else {
  110. mes "[" + .@name$ + "]";
  111. mes "Ah, did you rest we-- Oh.";
  112. mes "Why do you look so pale?";
  113. mes "You can't accomplish great";
  114. mes "deeds when you're overworked!";
  115. mes "Rest. Your guild must be able";
  116. mes "to depend on your strength.";
  117. emotion e_gasp;
  118. next;
  119. mes "[" + .@name$ + "]";
  120. mes "Your determination and";
  121. mes "spirit is commendable, but";
  122. mes "have the patience to recollect";
  123. mes "yourself when you must. I will";
  124. mes "be waiting here, so please";
  125. mes "come back to me later.";
  126. close;
  127. }
  128. }
  129. else if (guildtime > 22) {
  130. if ((gettime(3) > 0) && (gettime(3) < guildtime)) {
  131. mes "[" + .@name$ + "]";
  132. mes "Oh, you're back. So did you";
  133. mes "rest up enough? I'm sure the";
  134. mes "other guild members are";
  135. mes "feeling refreshed by now.";
  136. mes "From the looks of it, you're";
  137. mes "ready for your next mission.";
  138. next;
  139. mes "[" + .@name$ + "]";
  140. mes "The next step for";
  141. mes "you is to take this, the";
  142. mes "''Spirit of Trust.'' If this";
  143. mes "guild is going to be solid,";
  144. mes "you need to think how much";
  145. mes "trust there is in the guild.";
  146. set guildrelay_q,8;
  147. getitem 7240,1; //Soul_Of_Confidence
  148. next;
  149. mes "[" + .@name$ + "]";
  150. mes "Your second test will be";
  151. mes "to give that ^4D4DFFSpirit of Trust^000000";
  152. mes "to a sage that can manipulate";
  153. mes "nature's attributes. In other";
  154. mes "words, a Sage or Scholar";
  155. mes "must carry out this task.";
  156. next;
  157. mes "[" + .@name$ + "]";
  158. mes "The Spirit of Trust must";
  159. mes "be delivered to ^4D4DFF" + .@name3$ + "^000000,";
  160. mes "so don't forget to relay";
  161. mes "that information to your";
  162. mes "Sage or Scholar. Very well,";
  163. mes "good luck on your journey.";
  164. close;
  165. }
  166. else {
  167. mes "[" + .@name$ + "]";
  168. mes "Ah, did you rest we-- Oh.";
  169. mes "Why do you look so pale?";
  170. mes "You can't accomplish great";
  171. mes "deeds when you're overworked!";
  172. mes "Rest. Your guild must be able";
  173. mes "to depend on your strength.";
  174. emotion e_gasp;
  175. next;
  176. mes "[" + .@name$ + "]";
  177. mes "Your determination and";
  178. mes "spirit is commendable, but";
  179. mes "have the patience to recollect";
  180. mes "yourself when you must. I will";
  181. mes "be waiting here, so please";
  182. mes "come back to me later.";
  183. close;
  184. }
  185. }
  186. else if ((gettime(3) - guildtime) > 2) {
  187. mes "[" + .@name$ + "]";
  188. mes "Oh, you're back. So did you";
  189. mes "rest up enough? I'm sure the";
  190. mes "other guild members are";
  191. mes "feeling refreshed by now.";
  192. mes "From the looks of it, you're";
  193. mes "ready for your next mission.";
  194. next;
  195. mes "[" + .@name$ + "]";
  196. mes "The next step for";
  197. mes "you is to take this, the";
  198. mes "''Spirit of Trust.'' If this";
  199. mes "guild is going to be solid,";
  200. mes "you need to think how much";
  201. mes "trust there is in the guild.";
  202. set guildrelay_q,8;
  203. getitem 7240,1; //Soul_Of_Confidence
  204. next;
  205. mes "[" + .@name$ + "]";
  206. mes "Your second test will be";
  207. mes "to give that ^4D4DFFSpirit of Trust^000000";
  208. mes "to a sage that can manipulate";
  209. mes "nature's attributes. In other";
  210. mes "words, a Sage or Scholar";
  211. mes "must carry out this task.";
  212. next;
  213. mes "[" + .@name$ + "]";
  214. mes "The Spirit of Trust must";
  215. mes "be delivered to ^4D4DFFY" + .@name3$ + "^000000,";
  216. mes "so don't forget to relay";
  217. mes "that information to your";
  218. mes "Sage or Scholar. Very well,";
  219. mes "good luck on your journey.";
  220. close;
  221. }
  222. else {
  223. mes "[" + .@name$ + "]";
  224. mes "Ah, did you rest we-- Oh.";
  225. mes "Why do you look so pale?";
  226. mes "You can't accomplish great";
  227. mes "deeds when you're overworked!";
  228. mes "Rest. Your guild must be able";
  229. mes "to depend on your strength.";
  230. emotion e_gasp;
  231. next;
  232. mes "[" + .@name$ + "]";
  233. mes "Your determination and";
  234. mes "spirit is commendable, but";
  235. mes "have the patience to recollect";
  236. mes "yourself when you must. I will";
  237. mes "be waiting here, so please";
  238. mes "come back to me later.";
  239. close;
  240. }
  241. }
  242. else if (guildrelay_q == 150) {
  243. if (((guildtime > 22) && (gettime(3) > 1) && (gettime(3) < guildtime)) || ((guildtime > 21) && (gettime(3) > 0) && (gettime(3) < guildtime)) || ((gettime(3) - guildtime) > 2)) {
  244. mes "[" + .@name$ + "]";
  245. mes "Ah, you look well rested,";
  246. mes "master. It is now time for";
  247. mes "you to proceed with the third";
  248. mes "test. Let me remind you that";
  249. mes "these spirits are incredibly";
  250. mes "precious. Do not lose them.";
  251. next;
  252. mes "[" + .@name$ + "]";
  253. mes "Like all the other spirits,";
  254. mes "please keep this one safely.";
  255. mes "This is the ^4D4DFFSpirit of Peace^000000.";
  256. mes "It seems contradictive that";
  257. mes "strongholds and might can";
  258. mes "bring peace, but it's true.";
  259. set guildrelay_q,15;
  260. getitem 7246,1; //Soul_Of_Peace
  261. next;
  262. mes "[" + .@name$ + "]";
  263. mes "If power isn't used to";
  264. mes "protect the weak, then";
  265. mes "some bully, in one form or";
  266. mes "another, will always come";
  267. mes "to exploit them. That is why";
  268. mes "Tristan III built the strongholds.";
  269. next;
  270. mes "[" + .@name$ + "]";
  271. mes "Please dispatch a Rogue";
  272. mes "or Stalker to bring this";
  273. mes "Spirit of Peace to ^4D4DFF" + .@name4$ + "^000000.";
  274. mes "If you don't know any Rogues";
  275. mes "or Stalkers, then it would be";
  276. mes "prudent for you to meet one.";
  277. next;
  278. mes "[" + .@name$ + "]";
  279. mes "Yes, there's no substitute";
  280. mes "for the subterfuge and intel";
  281. mes "gathering that a Rogue can";
  282. mes "provide. Anyway, " + .@name4$ + " will";
  283. mes "guide you on your third test.";
  284. close;
  285. }
  286. else {
  287. mes "[" + .@name$ + "]";
  288. mes "Ah, did you rest we-- Oh.";
  289. mes "Why do you look so pale?";
  290. mes "You can't accomplish great";
  291. mes "deeds when you're overworked!";
  292. mes "Rest. Your guild must be able";
  293. mes "to depend on your strength.";
  294. emotion e_gasp;
  295. next;
  296. mes "[" + .@name$ + "]";
  297. mes "Your determination and";
  298. mes "spirit is commendable, but";
  299. mes "have the patience to recollect";
  300. mes "yourself when you must. I will";
  301. mes "be waiting here, so please";
  302. mes "come back to me later.";
  303. close;
  304. }
  305. }
  306. else if (guildrelay_q == 25) {
  307. if (((guildtime > 22) && ((gettime(3) > 4) && (gettime(3) < guildtime)))
  308. || ((guildtime > 21) && ((gettime(3) > 3) && (gettime(3) < guildtime)))
  309. || ((guildtime > 20) && ((gettime(3) > 2) && (gettime(3) < guildtime)))
  310. || ((guildtime > 19) && ((gettime(3) > 1) && (gettime(3) < guildtime)))
  311. || ((guildtime > 18) && ((gettime(3) > 0) && (gettime(3) < guildtime)))
  312. || ((gettime(3) - guildtime) > 5)) {
  313. mes "[" + .@name$ + "]";
  314. mes "Ah, have you rested well,";
  315. mes "master? Please excuse my";
  316. mes "manners a while ago. I had";
  317. mes "to report your trial results,";
  318. mes "and lost my composure for a";
  319. mes "moment. It won't happen again.";
  320. set guildrelay_q,999;
  321. close;
  322. }
  323. else {
  324. mes "...............................";
  325. mes "...............................";
  326. next;
  327. mes "...............................";
  328. mes "...............................";
  329. mes "...............................";
  330. next;
  331. mes "[" + .@name$ + "]";
  332. emotion e_omg;
  333. mes "Oh! M-master? Wh-when";
  334. mes "did you...? I'm so sorry.";
  335. mes "I was busy working.";
  336. next;
  337. mes "[" + .@name$ + "]";
  338. mes "It's only been a few days";
  339. mes "since you finished the trials.";
  340. mes "For now, you should rest and";
  341. mes "take care of your guild, okay?";
  342. mes "Please come back later.";
  343. mes "I've got much to attend to...";
  344. close;
  345. }
  346. }
  347. else if (guildrelay_q == 999) {
  348. mes "[" + .@name$ + "]";
  349. mes "Good day, master.";
  350. mes "Is something wrong?";
  351. mes "You look as though";
  352. mes "something is on your mind.";
  353. next;
  354. switch(select("N-no, nothing.:I want to take a lesson.")) {
  355. case 1:
  356. mes "[" + .@name$ + "]";
  357. mes "Hm? That's strange.";
  358. emotion e_swt;
  359. mes "You didn't want to take";
  360. mes "the trials again, did you?";
  361. close;
  362. case 2:
  363. mes "[" + .@name$ + "]";
  364. mes "I see. You know it won't";
  365. mes "be easy, but I suppose you";
  366. mes "are prepared. Here, take";
  367. mes "the ^4D4DFFSpirit of Guild^000000, and";
  368. mes "give it to your most trusted";
  369. mes "Knight or Lord Knight.";
  370. set guildrelay_q,1;
  371. getitem 7234,1; //Soul_Of_Guild
  372. next;
  373. mes "[" + .@name$ + "]";
  374. mes "This Knight should take";
  375. mes "the Spirit of Guild over";
  376. mes "to ^4D4DFF" + .@name2$ + "^000000. Good luck, and";
  377. mes "may the gods be with you.";
  378. close;
  379. }
  380. }
  381. else if (guildrelay_q == 1) {
  382. if (countitem(7234) > 0) {
  383. mes "[" + .@name$ + "]";
  384. mes "You still have the Spirit of";
  385. mes "Guild I gave you? I suppose";
  386. mes "you haven't found a Knight or";
  387. mes "Lord Knight to which it can";
  388. mes "be entrusted. It is imperative";
  389. mes "that you find someone soon.";
  390. next;
  391. mes "[" + .@name$ + "]";
  392. mes "For the sake of the guild, it";
  393. mes "will be advantageous to have";
  394. mes "a Knight or Lord Knight on";
  395. mes "your side: their combat skills";
  396. mes "can turn the tide of battles.";
  397. next;
  398. mes "[" + .@name$ + "]";
  399. mes "When you do find a Knight,";
  400. mes "give him the Spirit of Guild";
  401. mes "and ask him to find " + .@name2$ + "";
  402. mes "since he will conducting";
  403. mes "the trial. Good luck";
  404. mes "to you, master.";
  405. close;
  406. }
  407. else if (countitem(7239) > 0) {
  408. mes "[" + .@name$ + "]";
  409. mes "Ah, is this the Spirit";
  410. mes "of Advance? This must mean";
  411. mes "that you completed the first";
  412. mes "test. Keep up the good work.";
  413. mes "Hand me the spirit, and allow";
  414. mes "me to give you your guild's reward.";
  415. delitem 7239,1; //Soul_Of_Proceeding
  416. set guildtime,gettime(3);
  417. set guildrelay_q,100;
  418. set .@incen_item,rand(1,100);
  419. if ((.@incen_item > 0) && (.@incen_item < 25)) {
  420. getitem 608,20; //Seed_Of_Yggdrasil
  421. getitem 678,2; //Poison_Bottle
  422. }
  423. else if ((.@incen_item > 24) && (.@incen_item < 50)) {
  424. getitem 607,10; //Yggdrasilberry
  425. getitem 678,2; //Poison_Bottle
  426. }
  427. else if ((.@incen_item > 50) && (.@incen_item < 75)) {
  428. getitem 644,5; //Gift_Box
  429. getitem 678,2; //Poison_Bottle
  430. }
  431. else if ((.@incen_item > 74) && (.@incen_item < 101)) {
  432. getitem 603,3; //Old_Blue_Box
  433. getitem 678,2; //Poison_Bottle
  434. }
  435. next;
  436. mes "[" + .@name$ + "]";
  437. mes "You've done well, but";
  438. mes "there are more trials";
  439. mes "ahead of you. For now,";
  440. mes "you should rest before";
  441. mes "undertaking the second test.";
  442. mes "Please come when you are ready.";
  443. close;
  444. }
  445. else {
  446. mes "[" + .@name$ + "]";
  447. mes "If you're not busy, then";
  448. mes "why don't you spend your";
  449. mes "time increasing morale";
  450. mes "among your guild members?";
  451. mes "Perhaps some team building";
  452. mes "exercise can be of help.";
  453. close;
  454. }
  455. }
  456. else if (guildrelay_q == 8) {
  457. if (countitem(7240) > 0) {
  458. mes "[" + .@name$ + "]";
  459. mes "You must be having";
  460. mes "trouble finding " + .@name3$ + ".";
  461. mes "Make sure that you have";
  462. mes "a Sage or Scholar friend";
  463. mes "give that Spirit of Trust to";
  464. mes "him once you locate him.";
  465. close;
  466. }
  467. else if (countitem(7245) > 0) {
  468. mes "[" + .@name$ + "]";
  469. mes "Ah, so you already completed";
  470. mes "the test and earned the Spirit";
  471. mes "of Friendship? Good work.";
  472. mes "You must now recognize the";
  473. mes "value of teamwork. Please give";
  474. mes "the Spirit of Friendship to me.";
  475. next;
  476. mes "[" + .@name$ + "]";
  477. mes "Now, please take this";
  478. mes "reward and share it with";
  479. mes "your guild members. This";
  480. mes "may come in handy in future";
  481. mes "challenges that you will all";
  482. mes "face together. Good work!";
  483. delitem 7245,1; //Soul_Of_Friendship
  484. set guildtime,gettime(3);
  485. set guildrelay_q,150;
  486. set .@incen_item,rand(1,100);
  487. if ((.@incen_item > 0) && (.@incen_item < 16)) {
  488. getitem 607,10; //Yggdrasilberry
  489. getitem 644,5; //Gift_Box
  490. getitem 678,3; //Poison_Bottle
  491. }
  492. else if ((.@incen_item > 14) && (.@incen_item < 31)) {
  493. getitem 607,10; //Yggdrasilberry
  494. getitem 603,3; //Old_Blue_Box
  495. getitem 678,3; //Poison_Bottle
  496. }
  497. else if ((.@incen_item > 29) && (.@incen_item < 46)) {
  498. getitem 607,10; //Yggdrasilberry
  499. getitem 617,3; //Old_Violet_Box
  500. getitem 678,3; //Poison_Bottle
  501. }
  502. else if ((.@incen_item > 44) && (.@incen_item < 61)) {
  503. getitem 644,4; //Gift_Box
  504. getitem 603,2; //Old_Blue_Box
  505. getitem 678,3; //Poison_Bottle
  506. }
  507. else if ((.@incen_item > 59) && (.@incen_item < 76)) {
  508. getitem 644,3; //Gift_Box
  509. getitem 617,2; //Old_Violet_Box
  510. getitem 678,3; //Poison_Bottle
  511. }
  512. else if ((.@incen_item > 74) && (.@incen_item < 91)) {
  513. getitem 603,2; //Old_Blue_Box
  514. getitem 617,2; //Old_Violet_Box
  515. getitem 678,3; //Poison_Bottle
  516. }
  517. else if ((.@incen_item > 89) && (.@incen_item < 101)) {
  518. getitem 607,10; //Yggdrasilberry
  519. getitem 644,3; //Gift_Box
  520. getitem 603,2; //Old_Blue_Box
  521. getitem 617,1; //Old_Violet_Box
  522. }
  523. next;
  524. mes "[" + .@name$ + "]";
  525. mes "You should rest and";
  526. mes "recuperate before you";
  527. mes "undertake the third test.";
  528. mes "I too would benefit from";
  529. mes "a brief respite. Please come";
  530. mes "back to me when you are ready.";
  531. close;
  532. }
  533. else {
  534. mes "[" + .@name$ + "]";
  535. mes "If you're not busy, then";
  536. mes "why don't you spend your";
  537. mes "time increasing morale";
  538. mes "among your guild members?";
  539. mes "Perhaps some team building";
  540. mes "exercise can be of help.";
  541. next;
  542. mes "[" + .@name$ + "]";
  543. mes "If it suits your fancy,";
  544. mes "you may simply come here";
  545. mes "and join me for a cup of tea.";
  546. close;
  547. }
  548. }
  549. else if (guildrelay_q == 15) {
  550. if (countitem(7246) > 0) {
  551. mes "[" + .@name$ + "]";
  552. mes "You still have the";
  553. mes "Spirit of Peace? If you";
  554. mes "don't have any Rogues or";
  555. mes "Stalkers in your guild, now";
  556. mes "would be the time to recruit";
  557. mes "them. Heed my advice...";
  558. close;
  559. }
  560. else if (countitem(7251) > 0) {
  561. mes "[" + .@name$ + "]";
  562. mes "I see that you've completed";
  563. mes "the last test and received";
  564. mes "the Spirit of Victory. Heh.";
  565. mes "Victory is the natural result";
  566. mes "when your guild works together";
  567. mes "in harmony as a united team.";
  568. next;
  569. mes "[" + .@name$ + "]";
  570. mes "Congratulations on";
  571. mes "completing all the trials.";
  572. mes "Please accept this reward,";
  573. mes "given on the behalf of King";
  574. mes "Tristan III, and share it with";
  575. mes "guild. Once again, good work.";
  576. delitem 7251,1; //Soul_Of_Victory
  577. set guildtime,gettime(3);
  578. set guildrelay_q,25;
  579. set .@incen_item,rand(1,100);
  580. if ((.@incen_item > 0) && (.@incen_item < 26)) {
  581. getitem 608,10; //Seed_Of_Yggdrasil
  582. getitem 607,5; //Yggdrasilberry
  583. getitem 644,4; //Gift_Box
  584. }
  585. else if ((.@incen_item > 25) && (.@incen_item < 51)) {
  586. getitem 608,10; //Seed_Of_Yggdrasil
  587. getitem 607,5; //Yggdrasilberry
  588. getitem 603,3; //Old_Blue_Box
  589. }
  590. else if ((.@incen_item > 50) && (.@incen_item < 76)) {
  591. getitem 608,10; //Seed_Of_Yggdrasil
  592. getitem 617,2; //Old_Violet_Box
  593. getitem 607,5; //Yggdrasilberry
  594. }
  595. else if ((.@incen_item > 75) && (.@incen_item < 91)) {
  596. getitem 608,10; //Seed_Of_Yggdrasil
  597. getitem 644,4; //Gift_Box
  598. getitem 603,2; //Old_Blue_Box
  599. getitem 617,1; //Old_Violet_Box
  600. }
  601. else if ((.@incen_item > 90) && (.@incen_item < 101)) {
  602. getitem 5074,1; //Ear_Of_Angel's_Wing
  603. }
  604. next;
  605. mes "[" + .@name$ + "]";
  606. mes "You and your guild must be";
  607. mes "quite tired now. Your rooms";
  608. mes "are ready for you if you decide";
  609. mes "to rest. Please visit me again";
  610. mes "if you wish to take the trials";
  611. mes "again. I'll see you later.";
  612. close;
  613. }
  614. else {
  615. mes "[" + .@name$ + "]";
  616. mes "If you aren't particularly";
  617. mes "busy, then why don't you";
  618. mes "spend some time with your";
  619. mes "guild members? Building";
  620. mes "strong camaraderie never";
  621. mes "fails to pay off. Never.";
  622. close;
  623. }
  624. }
  625. else {
  626. mes "[" + .@name$ + "]";
  627. mes "Greetings, master.";
  628. mes "I am " + .@name$ + ", one of the four";
  629. mes "Great Sages, and I am here";
  630. mes "to serve you under the orders";
  631. mes "of wise and benevolent";
  632. mes "King Tristan III.";
  633. next;
  634. mes "[" + .@name$ + "]";
  635. mes "We test guilds that own";
  636. mes "strongholds, and see if they";
  637. mes "are qualified to be considered";
  638. mes "elite guilds. Our goal is to";
  639. mes "train guilds to strengthen";
  640. mes "our military forces.";
  641. next;
  642. mes "[" + .@name$ + "]";
  643. mes "Although your guild has the";
  644. mes "strength and courage to conquer";
  645. mes "a stronghold, we want you to";
  646. mes "prove that your guild has";
  647. mes "a strong sense of justice,";
  648. mes "honor, and compassion.";
  649. next;
  650. mes "[" + .@name$ + "]";
  651. mes "It is up to you. Will";
  652. mes "you take the test I have";
  653. mes "for you? I will do my best to";
  654. mes "help your guild grow stronger";
  655. mes "so that you will be better";
  656. mes "able to protect the weak.";
  657. next;
  658. switch(select("I want to take the test.:Let me think about it.")) {
  659. case 1:
  660. mes "[" + .@name$ + "]";
  661. mes "Is that so? In this test,";
  662. mes "you will be given orders";
  663. mes "and special spirits. These";
  664. mes "spirits will only be given";
  665. mes "once: you must not lose them.";
  666. next;
  667. mes "[" + .@name$ + "]";
  668. mes "If you lose the spirit,";
  669. mes "you will be judged as";
  670. mes "irresponsible, and will be";
  671. mes "unable to complete the tests.";
  672. mes "You must find any lost spirit to";
  673. mes "proceed. There's no second chance.";
  674. next;
  675. mes "[" + .@name$ + "]";
  676. mes "There are a few things you";
  677. mes "should know. Firstly, you can";
  678. mes "only take care of one spirit";
  679. mes "at a time. Secondly, you need";
  680. mes "to do the tests in order and";
  681. mes "follow the guide's instructions.";
  682. next;
  683. mes "[" + .@name$ + "]";
  684. mes "Thirdly, the spirit should";
  685. mes "be given to the type of person";
  686. mes "specified in the test. Those";
  687. mes "are the rules. Remember them.";
  688. next;
  689. mes "[" + .@name$ + "]";
  690. mes "Okay, this is the first";
  691. mes "spirit that will be entrusted";
  692. mes "to you. Make sure to give this";
  693. mes "to a Knight or Lord Knight.";
  694. mes "The test has now officially";
  695. mes "begun. Good luck to you.";
  696. set guildrelay_q,1;
  697. getitem 7234,1; //Soul_Of_Guild
  698. close;
  699. case 2:
  700. mes "[" + .@name$ + "]";
  701. mes "I suppose it would be";
  702. mes "a good idea to discuss";
  703. mes "this with your guild before";
  704. mes "you decide to commit to";
  705. mes "taking the test. Feel free";
  706. mes "free to visit me again later.";
  707. close;
  708. }
  709. }
  710. }
  711. else {
  712. if (countitem(7234) > 0) {
  713. if (BaseJob == Job_Knight) {
  714. mes "[" + .@name$ + "]";
  715. mes "Hello," + strcharinfo(0) + ".";
  716. mes "So you were the one chosen";
  717. mes "by your guild master? I see.";
  718. mes "You should deliver that Spirit";
  719. mes "of Guild over to " + .@name2$ + ".";
  720. mes "He'll instruct you further.";
  721. close;
  722. }
  723. else {
  724. mes "[" + .@name$ + "]";
  725. mes "The Spirit of Guild is";
  726. mes "useless unless it is in the";
  727. mes "hands of a Knight or Lord";
  728. mes "Knight. You should speak";
  729. mes "to " + .@name2$ + " to learn more.";
  730. close;
  731. }
  732. }
  733. else if (countitem(7235) > 0) {
  734. if ((guildrelay_q == 88) && (BaseJob == Job_Knight)) {
  735. mes "[" + .@name$ + "]";
  736. mes "Ah," + strcharinfo(0) + "";
  737. mes "Congratulations. It looks";
  738. mes "like you did a good job.";
  739. mes "Please give the Spirit of";
  740. mes "Charge to the next person";
  741. mes "to continue the testing.";
  742. next;
  743. mes "[" + .@name$ + "]";
  744. mes "" + .@name2$ + " should have";
  745. mes "explained everything, but";
  746. mes "if you forgot, then please";
  747. mes "go and ask him again.";
  748. close;
  749. }
  750. else if (BaseJob == Job_Blacksmith) {
  751. mes "[" + .@name$ + "]";
  752. mes "Hello," + strcharinfo(0) + ".";
  753. mes "Ah, I see that you have";
  754. mes "the Spirit of Charge.";
  755. mes "Heh heh, it's always exciting";
  756. mes "to charge into battle, isn't";
  757. mes "it? Well then, do your best.";
  758. close;
  759. }
  760. else {
  761. mes "[" + .@name$ + "]";
  762. mes "That spirit won't be very";
  763. mes "useful if it's not in the";
  764. mes "hands of the right person.";
  765. mes "" + .@name2$ + " knows more about the";
  766. mes "Spirit of Charge, so you should";
  767. mes "ask him more about that spirit.";
  768. close;
  769. }
  770. }
  771. else if (countitem(7237) > 0) {
  772. if ((guildrelay_q == 87) && (BaseJob == Job_Blacksmith)) {
  773. mes "[" + .@name$ + "]";
  774. mes "Hello," + strcharinfo(0) + ".";
  775. mes "I commend you on your work.";
  776. mes "Please give that spirit to";
  777. mes "the next person so that the";
  778. mes "testing can continue.";
  779. next;
  780. mes "[" + .@name$ + "]";
  781. mes "" + .@name2$ + " should have";
  782. mes "explained everything, but";
  783. mes "if you forgot, then please";
  784. mes "go and ask him again.";
  785. close;
  786. }
  787. else if (BaseJob == Job_Alchemist) {
  788. mes "[" + .@name$ + "]";
  789. mes "Hello, " + strcharinfo(0) + ".";
  790. mes "I see that you posess";
  791. mes "the Spirit of Association.";
  792. mes "Good luck with your test.";
  793. close;
  794. }
  795. else {
  796. mes "[" + .@name$ + "]";
  797. mes "That spirit won't be very";
  798. mes "useful if it's not in the";
  799. mes "hands of the right person.";
  800. mes "Talk to " + .@name2$ + " if you want";
  801. mes "to know more about the";
  802. mes "Spirit of Association.";
  803. close;
  804. }
  805. }
  806. else if (countitem(7238) > 0) {
  807. if ((guildrelay_q == 86) && (BaseClass == Job_Alchemist)) {
  808. mes "[" + .@name$ + "]";
  809. mes "Hello," + strcharinfo(0) + ".";
  810. mes "I commend you on your work.";
  811. mes "Please give that spirit to";
  812. mes "the next person so that the";
  813. mes "testing can continue.";
  814. next;
  815. mes "[" + .@name$ + "]";
  816. mes "" + .@name2$ + " should have";
  817. mes "explained everything, but";
  818. mes "if you forgot, then please";
  819. mes "go and ask him again.";
  820. close;
  821. }
  822. else if (BaseJob == Job_Hunter) {
  823. mes "[" + .@name$ + "]";
  824. mes "Hello, " + strcharinfo(0) + ".";
  825. mes "I see that you posess";
  826. mes "the Spirit of Coordination.";
  827. mes "Good luck on your test.";
  828. close;
  829. }
  830. else {
  831. mes "[" + .@name$ + "]";
  832. mes "That spirit won't be very";
  833. mes "useful if it's not in the";
  834. mes "hands of the right person.";
  835. mes "" + .@name2$ + " will know more about";
  836. mes "the Spirit of Coordination";
  837. mes "so you should consult him.";
  838. close;
  839. }
  840. }
  841. else if (countitem(7239) > 0) {
  842. if ((guildrelay_q == 85) && (BaseJob == Job_Hunter)) {
  843. mes "[" + .@name$ + "]";
  844. mes "Hello, " + strcharinfo(0) + ".";
  845. mes "Congratulations, it looks";
  846. mes "like you finished the test.";
  847. mes "You may now give the Spirit of";
  848. mes "Advance to your guild master.";
  849. close;
  850. }
  851. else {
  852. mes "[" + .@name$ + "]";
  853. mes "That spirit won't be very";
  854. mes "useful if it's not in the";
  855. mes "hands of the right person.";
  856. mes "" + .@name2$ + " will know more about";
  857. mes "the Spirit of Advance so";
  858. mes "you should consult him.";
  859. close;
  860. }
  861. }
  862. else if (countitem(7240) > 0) {
  863. if (BaseJob == Job_Sage) {
  864. mes "[" + .@name$ + "]";
  865. mes "Hello, " + strcharinfo(0) + ".";
  866. mes "I see that you possess";
  867. mes "the Spirit of Trust.";
  868. mes "Good luck, and do not";
  869. mes "fail the trust placed in";
  870. mes "you by your guild.";
  871. close;
  872. }
  873. else {
  874. mes "[" + .@name$ + "]";
  875. mes "That spirit won't be very";
  876. mes "useful if it's not in the";
  877. mes "hands of the right person.";
  878. mes "" + .@name3$ + " will know more";
  879. mes "about the Spirit of Trust";
  880. mes "so you should consult him.";
  881. close;
  882. }
  883. }
  884. else if (countitem(7241) > 0) {
  885. if ((guildrelay_q == 71) && (BaseJob == Job_Sage)) {
  886. mes "[" + .@name$ + "]";
  887. mes "Hello," + strcharinfo(0) + ".";
  888. mes "I commend you on your work.";
  889. mes "Please give that spirit to";
  890. mes "the next person so that the";
  891. mes "testing can continue.";
  892. next;
  893. mes "[" + .@name$ + "]";
  894. mes "If you don't remember";
  895. mes "" + .@name3$ + "'s explanation,";
  896. mes "then you might want to";
  897. mes "go back to him and ask";
  898. mes "him to tell you again.";
  899. close;
  900. }
  901. else if ((BaseJob == Job_Bard) || (BaseJob == Job_Dancer)) {
  902. mes "[" + .@name$ + "]";
  903. mes "Ah, " + strcharinfo(0) + ",";
  904. mes "I see that you have the";
  905. mes "Spirit of Union. Always keep";
  906. mes "in mind that the strength of";
  907. mes "your guild is directly";
  908. mes "related to its unity.";
  909. close;
  910. }
  911. else {
  912. mes "[" + .@name$ + "]";
  913. mes "That spirit won't be very";
  914. mes "useful if it's not in the";
  915. mes "hands of the right person.";
  916. mes "" + .@name3$ + " will know more";
  917. mes "about the Spirit of Union";
  918. mes "so you should consult him.";
  919. close;
  920. }
  921. }
  922. else if (countitem(7242) > 0) {
  923. if ((guildrelay_q == 72) && ((BaseJob == Job_Bard) || (BaseJob == Job_Dancer))) {
  924. mes "[" + .@name$ + "]";
  925. mes "Hello," + strcharinfo(0) + ".";
  926. mes "I commend you on your work.";
  927. mes "Please give that spirit to";
  928. mes "the next person so that the";
  929. mes "testing can continue.";
  930. next;
  931. mes "[" + .@name$ + "]";
  932. mes "If you don't remember";
  933. mes "" + .@name3$ + "'s explanation,";
  934. mes "then you might want to";
  935. mes "go back to him and ask";
  936. mes "him to tell you again.";
  937. close;
  938. }
  939. else if (BaseJob == Job_Assassin) {
  940. mes "[" + .@name$ + "]";
  941. mes "Ah, " + strcharinfo(0) + ",";
  942. mes "I see that you have the Spirit";
  943. mes "of Combination. Remember that";
  944. mes "working in tandem, combining";
  945. mes "your guild's skills and talents,";
  946. mes "will realize your true potential.";
  947. close;
  948. }
  949. else {
  950. mes "[" + .@name$ + "]";
  951. mes "That spirit won't be very";
  952. mes "useful if it's not in the";
  953. mes "hands of the right person.";
  954. mes "" + .@name3$ + " will know more about";
  955. mes "the Spirit of Combination so";
  956. mes "you should consult him.";
  957. close;
  958. }
  959. }
  960. else if (countitem(7244) > 0) {
  961. if ((guildrelay_q == 74) && (BaseJob == Job_Assassin)) {
  962. mes "[" + .@name$ + "]";
  963. mes "Greetings, " + strcharinfo(0) + ",";
  964. mes "did you rest well? Please";
  965. mes "give that spirit to the next";
  966. mes "person so that the testing";
  967. mes "of your guild may continue.";
  968. next;
  969. mes "[" + .@name$ + "]";
  970. mes "If you don't remember";
  971. mes "" + .@name3$ + "'s explanation,";
  972. mes "then you might want to";
  973. mes "go back to him and ask";
  974. mes "him to tell you again.";
  975. close;
  976. }
  977. else if (BaseJob == Job_Wizard) {
  978. mes "[" + .@name$ + "]";
  979. mes "Hello, " + strcharinfo(0) + ",";
  980. mes "I see that you've been";
  981. mes "entrusted with the Spirit";
  982. mes "of Solidarity. Do your best";
  983. mes "on this test for the sake";
  984. mes "of your guild, alright?";
  985. close;
  986. }
  987. else {
  988. mes "[" + .@name$ + "]";
  989. mes "That spirit won't be very";
  990. mes "useful if it's not in the";
  991. mes "hands of the right person.";
  992. mes "" + .@name3$ + " will know more";
  993. mes "about the Spirit of Solidarity";
  994. mes "so you should consult him.";
  995. close;
  996. }
  997. }
  998. else if (countitem(7245) > 0) {
  999. if ((guildrelay_q == 75) && (BaseJob == Job_Wizard)) {
  1000. mes "[" + .@name$ + "]";
  1001. mes "Ah, " + strcharinfo(0) + ",";
  1002. mes "congratulations on a job";
  1003. mes "well done. Please give the";
  1004. mes "Spirit of Friendship to your";
  1005. mes "guild master to continue";
  1006. mes "the guild testing.";
  1007. close;
  1008. }
  1009. else {
  1010. mes "[" + .@name$ + "]";
  1011. mes "That spirit won't be very";
  1012. mes "useful if it's not in the";
  1013. mes "hands of the right person.";
  1014. mes "" + .@name3$ + " will know more";
  1015. mes "about the Spirit of Friendship";
  1016. mes "so you should consult him.";
  1017. close;
  1018. }
  1019. }
  1020. else if (countitem(7246) > 0) {
  1021. if (BaseJob == Job_Rogue) {
  1022. mes "[" + .@name$ + "]";
  1023. mes "Ah, " + strcharinfo(0) + ",";
  1024. mes "I see that you have the";
  1025. mes "Spirit of Peace. Please";
  1026. mes "do your best for the sake";
  1027. mes "of the guild, though I do not";
  1028. mes "doubt you'll pass this test.";
  1029. close;
  1030. }
  1031. else {
  1032. mes "[" + .@name$ + "]";
  1033. mes "That spirit won't be very";
  1034. mes "useful if it's not in the";
  1035. mes "hands of the right person.";
  1036. mes "" + .@name4$ + " will know more";
  1037. mes "about the Spirit of Peace";
  1038. mes "so you should consult him.";
  1039. close;
  1040. }
  1041. }
  1042. else if (countitem(7247) > 0) {
  1043. if ((guildrelay_q == 95) && (BaseJob == Job_Priest)) {
  1044. mes "[" + .@name$ + "]";
  1045. mes "Hello," + strcharinfo(0) + ".";
  1046. mes "I commend you on your work.";
  1047. mes "Please give that spirit to";
  1048. mes "the next person so that the";
  1049. mes "testing can continue.";
  1050. next;
  1051. mes "[" + .@name$ + "]";
  1052. mes "If you don't remember";
  1053. mes "" + .@name4$ + "'s explanation,";
  1054. mes "then you might want to";
  1055. mes "go back to him and ask";
  1056. mes "him to tell you again.";
  1057. close;
  1058. }
  1059. else if (BaseJob == Job_Preist) {
  1060. mes "[" + .@name$ + "]";
  1061. mes "Ah, " + strcharinfo(0) + ",";
  1062. mes "please take good care of";
  1063. mes "that Spirit of Determination.";
  1064. close;
  1065. }
  1066. else {
  1067. mes "[" + .@name$ + "]";
  1068. mes "That spirit won't be very";
  1069. mes "useful if it's not in the";
  1070. mes "hands of the right person.";
  1071. mes "" + .@name4$ + " will know more about";
  1072. mes "the Spirit of Determination";
  1073. mes "so you should consult him.";
  1074. close;
  1075. }
  1076. }
  1077. else if (countitem(7249) > 0) {
  1078. if ((guildrelay_q == 98) && (BaseJob == Job_Priest)) {
  1079. mes "[" + .@name$ + "]";
  1080. mes "Hello," + strcharinfo(0) + ".";
  1081. mes "I commend you on your work.";
  1082. mes "Please give that spirit to";
  1083. mes "the next person so that the";
  1084. mes "testing can continue.";
  1085. next;
  1086. mes "[" + .@name$ + "]";
  1087. mes "If you don't remember";
  1088. mes "" + .@name4$ + "'s explanation,";
  1089. mes "then you might want to";
  1090. mes "go back to him and ask";
  1091. mes "him to tell you again.";
  1092. close;
  1093. }
  1094. else if (BaseJob == Job_Crusader) {
  1095. mes "[" + .@name$ + "]";
  1096. mes "Ah, " + strcharinfo(0) + ",";
  1097. mes "please take good care";
  1098. mes "of that Spirit of Service.";
  1099. close;
  1100. }
  1101. else {
  1102. mes "[" + .@name$ + "]";
  1103. mes "That spirit won't be very";
  1104. mes "useful if it's not in the";
  1105. mes "hands of the right person.";
  1106. mes "" + .@name4$ + " will know more about";
  1107. mes "the Spirit of Service so";
  1108. mes "you should consult him.";
  1109. close;
  1110. }
  1111. }
  1112. else if (countitem(7250) > 0) {
  1113. if ((guildrelay_q == 96) && (BaseJob == Job_Crusader)) {
  1114. mes "[" + .@name$ + "]";
  1115. mes "Hello," + strcharinfo(0) + ".";
  1116. mes "I commend you on your work.";
  1117. mes "Please give that spirit to";
  1118. mes "the next person so that the";
  1119. mes "testing can continue.";
  1120. next;
  1121. mes "[" + .@name$ + "]";
  1122. mes "If you don't remember";
  1123. mes "" + .@name4$ + "'s explanation,";
  1124. mes "then you might want to";
  1125. mes "go back to him and ask";
  1126. mes "him to tell you again.";
  1127. close;
  1128. }
  1129. else if (BaseJob == Job_Monk) {
  1130. mes "[" + .@name$ + "]";
  1131. mes "Ah, " + strcharinfo(0) + ",";
  1132. mes "please take good care";
  1133. mes "of that Spirit of Glory.";
  1134. close;
  1135. }
  1136. else {
  1137. mes "[" + .@name$ + "]";
  1138. mes "That spirit won't be very";
  1139. mes "useful if it's not in the";
  1140. mes "hands of the right person.";
  1141. mes "" + .@name4$ + " will know more about";
  1142. mes "the Spirit of Glory so you";
  1143. mes "should consult him.";
  1144. close;
  1145. }
  1146. }
  1147. else if (countitem(7251) > 0) {
  1148. if ((guildrelay_q == 97) && (Class == Job_Monk)) {
  1149. mes "[" + .@name$ + "]";
  1150. mes "Ah, " + strcharinfo(0) + ",";
  1151. mes "congratulations on a job";
  1152. mes "well done. Please give";
  1153. mes "the Spirit of Victory to your";
  1154. mes "guild master. That's it for now.";
  1155. mes "Good luck to you in the future.";
  1156. close;
  1157. }
  1158. else {
  1159. mes "[" + .@name$ + "]";
  1160. mes "That spirit won't be very";
  1161. mes "useful if it's not in the";
  1162. mes "hands of the right person.";
  1163. mes "" + .@name4$ + " will know more about";
  1164. mes "the Spirit of Victory so you";
  1165. mes "should consult him.";
  1166. close;
  1167. }
  1168. }
  1169. else {
  1170. mes "[" + .@name$ + "]";
  1171. mes "I'm sorry, but I'm too";
  1172. mes "busy with my work to offer";
  1173. mes "you any help right now.";
  1174. mes "You'll have to forgive me.";
  1175. close;
  1176. }
  1177. }
  1178. }
  1179. else {
  1180. if (getcharid(2) == 0) {
  1181. mes "[" + .@name$ + "]";
  1182. mes "You haven't joined";
  1183. mes "a guild yet? Why don't";
  1184. mes "you think about joining";
  1185. mes "one? Well, it's your decision,";
  1186. mes "but I don't think you'd regret";
  1187. mes "being part of a strong guild.";
  1188. close;
  1189. }
  1190. else {
  1191. mes "[" + .@name$ + "]";
  1192. mes "Ah, I see that you are";
  1193. mes "affiliated with a guild.";
  1194. mes "Have you come here";
  1195. mes "as an invited guest?";
  1196. next;
  1197. switch(select("No, not really...:I was invited by the guild master.")) {
  1198. case 1:
  1199. mes "[" + .@name$ + "]";
  1200. mes "Oh, really?";
  1201. mes "That's too bad...";
  1202. mes "My apologies, but";
  1203. mes "I can't allow strangers";
  1204. mes "to simply come and go";
  1205. mes "around here. Farewell, then.";
  1206. next;
  1207. warp "alde_gld",186,157;
  1208. close;
  1209. case 2:
  1210. mes "[" + .@name$ + "]";
  1211. mes "Oh, really? Ah, now";
  1212. mes "I recognize you, ^4d4dff" + strcharinfo(0) + "^000000.";
  1213. mes "Please come in, and make";
  1214. mes "yourself comfortable.";
  1215. close;
  1216. }
  1217. }
  1218. }
  1219. }
  1220. aldeg_cas01,75,39,3 script Lenya#01::GuildRelay2 754,{
  1221. set .@name$,strnpcinfo(1);
  1222. if (.@name$ == "Lenya") {
  1223. set .@GID, GetCastleData("aldeg_cas"+strnpcinfo(2),1);
  1224. }
  1225. if (checkweight(1201,1) == 0) {
  1226. mes "^3355FFWait a minute! You're";
  1227. mes "carrying too many items";
  1228. mes "right now: store some of";
  1229. mes "your extra things in Kafra";
  1230. mes "Storage, and then come back.^000000";
  1231. close;
  1232. }
  1233. if (.@GID == 0) {
  1234. mes "^3355FFYou're not sure why, but";
  1235. mes "this guy seems to be pretty";
  1236. mes "depressed. He briefly makes";
  1237. mes "eye contact with you, but then";
  1238. mes "breaks it off. Apparently,";
  1239. mes "he wants to be left alone.^000000";
  1240. next;
  1241. mes "^3355FFThere's no reason for you";
  1242. mes "to stick around an ownerless";
  1243. mes "stronghold. You may as well";
  1244. mes "head on your way.^000000";
  1245. close;
  1246. }
  1247. if (getcharid(2) == .@GID) {
  1248. if (strcharinfo(0) == getguildmaster(.@GID)) {
  1249. if (countitem(7234) > 0) {
  1250. mes "[" + .@name$ + "]";
  1251. mes "Hm. You can't just keep";
  1252. mes "that spirit to yourself.";
  1253. mes "Give it to a ^FF0000Knight^000000 or";
  1254. mes "a ^FF0000Lord Knight^000000. Hurry it up!";
  1255. mes "You need to work fast to";
  1256. mes "expand your guild.";
  1257. close;
  1258. }
  1259. else {
  1260. mes "[" + .@name$ + "]";
  1261. mes "Hm. You seem awfully";
  1262. mes "busy. Why don't you just";
  1263. mes "take a break, and relax?";
  1264. mes "It's alright to have fun";
  1265. mes "if you're feeling a lot of";
  1266. mes "pressure. Heh heh heh~";
  1267. close;
  1268. }
  1269. }
  1270. else {
  1271. if ((BaseJob == Job_Knight) && (countitem(7234) > 0)) {
  1272. mes "[" + .@name$ + "]";
  1273. mes "For your first test,";
  1274. mes "I'll start you off with";
  1275. mes "something pretty simple.";
  1276. mes "Just collect some items,";
  1277. mes "and bring them to me. Ah, and";
  1278. mes "your guild can help you too.";
  1279. next;
  1280. switch(rand(1,3)) {
  1281. case 1:
  1282. mes "[" + .@name$ + "]";
  1283. mes "^FF000030 Tongues^000000,";
  1284. mes "^FF000030 Dark Masks^000000, and";
  1285. mes "^FF000030 Shoulder Protectors^000000.";
  1286. mes "That shouldn't be too";
  1287. mes "hard now, right?";
  1288. delitem 7234,1; //Soul_Of_Guild
  1289. set guildrelay_q,2;
  1290. close;
  1291. case 2:
  1292. mes "[" + .@name$ + "]";
  1293. mes "^FF000030 Worn Out Pages^000000,";
  1294. mes "^FF000030 Round Shells^000000, and";
  1295. mes "^FF000030 Mole Whiskers^000000.";
  1296. mes "That shouldn't be too";
  1297. mes "hard now, right?";
  1298. delitem 7234,1; //Soul_Of_Guild
  1299. set guildrelay_q,3;
  1300. close;
  1301. case 3:
  1302. mes "[" + .@name$ + "]";
  1303. mes "^FF000030 Frills^000000,";
  1304. mes "^FF000030 Sharp Papers^000000, and";
  1305. mes "^FF000030 Elder Pixie's Moustaches^000000.";
  1306. mes "That shouldn't be too";
  1307. mes "hard now, right?";
  1308. delitem 7234,1; //Soul_Of_Guild
  1309. set guildrelay_q,89;
  1310. close;
  1311. }
  1312. }
  1313. if ((countitem(1015) > 29) && (countitem(7196) > 29) && (countitem(7157) > 29) && (guildrelay_q == 2)) {
  1314. mes "[" + .@name$ + "]";
  1315. mes "Huh. I didn't actually";
  1316. mes "expect that you'd collect";
  1317. mes "all these items. Good job.";
  1318. mes "Now, take this and give it to";
  1319. mes "a Blacksmith or Mastersmith.";
  1320. mes "Your guild's pretty good...";
  1321. delitem 1015,30; //Thin_N'_Long_Tongue
  1322. delitem 7196,30; //Shoulder_Protection
  1323. delitem 7157,30; //Black_Mask
  1324. set guildrelay_q,88;
  1325. getitem 7235,1; //Soul_Of_Courage
  1326. close;
  1327. }
  1328. if ((BaseJob == Job_Knight) && (guildrelay_q == 2)) {
  1329. mes "[" + .@name$ + "]";
  1330. mes "Did you forget what";
  1331. mes "to bring me? I wanted";
  1332. mes "^FF000030 Tongues^000000,";
  1333. mes "^FF000030 Dark Masks^000000, and";
  1334. mes "^FF000030 Shoulder Protectors^000000.";
  1335. mes "Don't forget this time.";
  1336. close;
  1337. }
  1338. if ((countitem(1097) > 29) && (countitem(1017) > 29) && (countitem(1096) > 29) && (guildrelay_q == 3)) {
  1339. mes "[" + .@name$ + "]";
  1340. mes "Huh. I didn't actually";
  1341. mes "expect that you'd collect";
  1342. mes "all these items. Good job.";
  1343. mes "Now, take this and give it to";
  1344. mes "a Blacksmith or Mastersmith.";
  1345. mes "Your guild's pretty good...";
  1346. delitem 1097,30; //Worn_Out_Page
  1347. delitem 1017,30; //Moustache_Of_Mole
  1348. delitem 1096,30; //Round_Shell
  1349. set guildrelay_q,88;
  1350. getitem 7235,1; //Soul_Of_Courage
  1351. close;
  1352. }
  1353. if ((BaseJob == Job_Knight) && (guildrelay_q == 3)) {
  1354. mes "[" + .@name$ + "]";
  1355. mes "Did you forget what";
  1356. mes "to bring me? I wanted";
  1357. mes "^FF000030 Worn Out Pages^000000,";
  1358. mes "^FF000030 Round Shells^000000, and";
  1359. mes "^FF000030 Mole Whiskers^000000.";
  1360. mes "Don't forget this time.";
  1361. close;
  1362. }
  1363. if ((countitem(7112) > 29) && (countitem(1012) > 29) && (countitem(1040) > 29) && (guildrelay_q == 89)) {
  1364. mes "[" + .@name$ + "]";
  1365. mes "Huh. I didn't actually";
  1366. mes "expect that you'd collect";
  1367. mes "all these items. Good job.";
  1368. mes "Now, take this and give it to";
  1369. mes "a Blacksmith or Mastersmith.";
  1370. mes "Your guild's pretty good...";
  1371. delitem 7112,30; //Fright_Paper_Blade
  1372. delitem 1012,30; //Lizard_Scruff
  1373. delitem 1040,30; //Elder_Pixie's_Beard
  1374. set guildrelay_q,88;
  1375. getitem 7235,1; //Soul_Of_Courage
  1376. close;
  1377. }
  1378. if ((BaseJob == Job_Knight) && (guildrelay_q == 89)) {
  1379. mes "[" + .@name$ + "]";
  1380. mes "Did you forget what";
  1381. mes "to bring me? I wanted";
  1382. mes "^FF000030 Frills^000000,";
  1383. mes "^FF000030 Sharp Papers^000000, and";
  1384. mes "^FF000030 Elder Pixie's Moustaches^000000.";
  1385. mes "Don't forget this time.";
  1386. close;
  1387. }
  1388. if ((BaseJob == Job_Blacksmith) && (countitem(7235) > 0)) {
  1389. mes "[" + .@name$ + "]";
  1390. mes "Wow, you brought the";
  1391. mes "items sooner than I had";
  1392. mes "expected. Great! Well then,";
  1393. mes "your next task for me will";
  1394. mes "be to... Wait. Wait and";
  1395. mes "kill some time. Easy, huh?";
  1396. next;
  1397. mes "[" + .@name$ + "]";
  1398. mes "^FF0000just waiting.^000000";
  1399. mes "Justing wait and kill";
  1400. mes "some time. You can do";
  1401. mes "whatever you want to";
  1402. mes "do during that time.";
  1403. next;
  1404. mes "[" + .@name$ + "]";
  1405. mes "Come back after you've";
  1406. mes "relaxed and enjoyed yourself.";
  1407. mes "We can continue the testing";
  1408. mes "when the time is right so";
  1409. mes "don't you worry about it.";
  1410. delitem 7235,1; //Soul_Of_Courage
  1411. set guildrelay_q,4;
  1412. set guildtime,gettime(3);
  1413. close;
  1414. }
  1415. if ((guildtime > 22) && (guildrelay_q == 4) && (BaseJob == Job_Blacksmith)) {
  1416. if ((gettime(3) > 2) && (gettime(3) < guildtime)) {
  1417. mes "[" + .@name$ + "]";
  1418. mes "I guess enough time";
  1419. mes "has passed. You ready";
  1420. mes "to resume the testing?";
  1421. mes "Please give this to an";
  1422. mes "Alchemist or Biochemist.";
  1423. mes "Your work here is done.";
  1424. set guildrelay_q,87;
  1425. getitem 7237,1; //Soul_Of_Partnership
  1426. close;
  1427. }
  1428. }
  1429. if ((guildtime > 21) && (guildrelay_q == 4) && (BaseJob == Job_Blacksmith)) {
  1430. if ((gettime(3) > 0101) && (gettime(3) < guildtime)) {
  1431. mes "[" + .@name$ + "]";
  1432. mes "I guess enough time";
  1433. mes "has passed. You ready";
  1434. mes "to resume the testing?";
  1435. mes "Please give this to an";
  1436. mes "Alchemist or Biochemist.";
  1437. mes "Your work here is done.";
  1438. set guildrelay_q,87;
  1439. getitem 7237,1; //Soul_Of_Partnership
  1440. close;
  1441. }
  1442. }
  1443. if ((guildtime > 20) && (guildrelay_q == 4) && (BaseJob == Job_Blacksmith)) {
  1444. if ((gettime(3) > 0001) && (gettime(3) < guildtime)) {
  1445. mes "[" + .@name$ + "]";
  1446. mes "I guess enough time";
  1447. mes "has passed. You ready";
  1448. mes "to resume the testing?";
  1449. mes "Please give this to an";
  1450. mes "Alchemist or Biochemist.";
  1451. mes "Your work here is done.";
  1452. set guildrelay_q,87;
  1453. getitem 7237,1; //Soul_Of_Partnership
  1454. close;
  1455. }
  1456. }
  1457. if ((gettime(3) - guildtime > 0300) && (guildrelay_q == 4) && (BaseJob == Job_Blacksmith)) {
  1458. mes "[" + .@name$ + "]";
  1459. mes "I guess enough time";
  1460. mes "has passed. You ready";
  1461. mes "to resume the testing?";
  1462. mes "Please give this to an";
  1463. mes "Alchemist or Biochemist.";
  1464. mes "Your work here is done.";
  1465. set guildrelay_q,87;
  1466. getitem 7237,1; //Soul_Of_Partnership
  1467. close;
  1468. }
  1469. if ((guildrelay_q == 4) && (BaseJob == Job_Blacksmith)) {
  1470. mes "[" + .@name$ + "]";
  1471. mes "You must be rarin'";
  1472. mes "to take on the next";
  1473. mes "test. Please be patient,";
  1474. mes "kill some time, and just";
  1475. mes "come back to me later.";
  1476. close;
  1477. }
  1478. if ((BaseJob == Job_Alchemist) && (countitem(7237) > 0)) {
  1479. mes "[" + .@name$ + "]";
  1480. mes "Oh, you got it, eh?";
  1481. mes "You might not think this";
  1482. mes "will be so hard, but I'm";
  1483. mes "going to give you a much";
  1484. mes "different challenge now.";
  1485. mes "Are you ready for it?";
  1486. next;
  1487. if ((BaseLevel > 1) && (BaseLevel < 58)) {
  1488. mes "[" + .@name$ + "]";
  1489. mes "Your test will be to";
  1490. mes "grow a little stronger!";
  1491. mes "You'll pass once you";
  1492. mes "gain 3 more levels.";
  1493. mes "How about that, eh?";
  1494. delitem 7237,1; //Soul_Of_Partnership
  1495. set guildrelay_q,5;
  1496. close;
  1497. }
  1498. if ((BaseLevel > 57) && (BaseLevel < 76)) {
  1499. mes "[" + .@name$ + "]";
  1500. mes "Your test will be to";
  1501. mes "grow a little stronger!";
  1502. mes "You'll pass once you";
  1503. mes "gain 2 more levels.";
  1504. mes "How about that, eh?";
  1505. delitem 7237,1; //Soul_Of_Partnership
  1506. set guildrelay_q,6;
  1507. close;
  1508. }
  1509. if ((BaseLevel > 75) && (BaseLevel < 94)) {
  1510. mes "[" + .@name$ + "]";
  1511. mes "Your test will be to";
  1512. mes "grow a little stronger!";
  1513. mes "You'll pass once you";
  1514. mes "gain 1 more level.";
  1515. mes "How about that, eh?";
  1516. delitem 7237,1; //Soul_Of_Partnership
  1517. set guildrelay_q,7;
  1518. close;
  1519. }
  1520. if (BaseLevel > 93) {
  1521. mes "[" + .@name$ + "]";
  1522. mes "Wait a minute. Forget it!";
  1523. mes "I was going to ask you to";
  1524. mes "raise your Base Level, but";
  1525. mes "you're tough enough as it is.";
  1526. mes "Fine, fine. You pass! Give this";
  1527. mes "to a ^FF0000Hunter^000000 or ^FF0000Sniper^000000 now~";
  1528. delitem 7237,1; //Soul_Of_Partnership
  1529. set guildrelay_q,86;
  1530. getitem 7238,1; //Soul_Of_Correspondence
  1531. close;
  1532. }
  1533. }
  1534. if (((BaseLevel + 2) < (BaseLevel)) && (guildrelay_q == 5)) {
  1535. mes "[" + .@name$ + "]";
  1536. mes "You got a little stronger,";
  1537. mes "eh? Fine, fine. You pass.";
  1538. mes "Here, now take this and";
  1539. mes "give it to a ^FF0000Hunter^000000 or ^FF0000Sniper^000000";
  1540. mes "in your guild. Nice work,";
  1541. mes "and I'll see you around.";
  1542. set guildrelay_q,86;
  1543. getitem 7238,1; //Soul_Of_Correspondence
  1544. close;
  1545. }
  1546. if (((BaseLevel + 1) < (BaseLevel)) && (guildrelay_q == 6)) {
  1547. mes "[" + .@name$ + "]";
  1548. mes "You got a little stronger,";
  1549. mes "eh? Fine, fine. You pass.";
  1550. mes "Here, now take this and";
  1551. mes "give it to a ^FF0000Hunter^000000 or ^FF0000Sniper^000000";
  1552. mes "in your guild. Nice work,";
  1553. mes "and I'll see you around.";
  1554. set guildrelay_q,86;
  1555. getitem 7238,1; //Soul_Of_Correspondence
  1556. close;
  1557. }
  1558. if ((BaseLevel < (BaseLevel)) && (guildrelay_q == 7)) {
  1559. mes "[" + .@name$ + "]";
  1560. mes "You got a little stronger,";
  1561. mes "eh? Fine, fine. You pass.";
  1562. mes "Here, now take this and";
  1563. mes "give it to a ^FF0000Hunter^000000 or ^FF0000Sniper^000000";
  1564. mes "in your guild. Nice work,";
  1565. mes "and I'll see you around.";
  1566. set guildrelay_q,86;
  1567. getitem 7238,1; //Soul_Of_Correspondence
  1568. close;
  1569. }
  1570. if ((guildrelay_q == 5) || (guildrelay_q == 6) || (guildrelay_q == 7)) {
  1571. mes "[" + .@name$ + "]";
  1572. mes "You're still not strong";
  1573. mes "enough to pass this test.";
  1574. mes "Hurry up, kill some monsters,";
  1575. mes "and gain some ^FF0000Base Levels^000000.";
  1576. mes "You have to become stronger!";
  1577. close;
  1578. }
  1579. if ((BaseJob == Job_Hunter) && (countitem(7238) > 0)) {
  1580. mes "[" + .@name$ + "]";
  1581. mes "Ah, good, you're here.";
  1582. mes "Now, my request for you";
  1583. mes "is this: please donate";
  1584. mes "your Falcon for the";
  1585. mes "sake of your guild.";
  1586. next;
  1587. switch(select("Donate Falcon:No way!")) {
  1588. case 1:
  1589. if (checkfalcon()) {
  1590. mes "[" + .@name$ + "]";
  1591. mes "Great! Don't worry,";
  1592. mes "your Falcon will be safe";
  1593. mes "under our care, and will";
  1594. mes "be use to scout areas and";
  1595. mes "deliver mail. That's why";
  1596. mes "I asked you for it.";
  1597. next;
  1598. mes "[" + .@name$ + "]";
  1599. mes "Now, please take this";
  1600. mes "spirit, and give it to";
  1601. mes "your guild master as";
  1602. mes "soon as you can, alright?";
  1603. setfalcon;
  1604. delitem 7238,1; //Soul_Of_Correspondence
  1605. set guildrelay_q,85;
  1606. getitem 7239,1; //Soul_Of_Proceeding
  1607. close;
  1608. }
  1609. else {
  1610. mes "[" + .@name$ + "]";
  1611. mes "I'm glad that you're";
  1612. mes "willing to part with your";
  1613. mes "Falcon, but it doesn't seem";
  1614. mes "to be with you right now.";
  1615. mes "Go get one, and come back.";
  1616. close;
  1617. }
  1618. case 2:
  1619. mes "[" + .@name$ + "]";
  1620. mes "Well, I can't help it if you";
  1621. mes "really want to keep your";
  1622. mes "Falcon, but please come";
  1623. mes "back if you change your mind.";
  1624. mes "I can't do anything for you";
  1625. mes "unless you cooperate.";
  1626. close;
  1627. }
  1628. }
  1629. if ((guildrelay_q == 88) && (countitem(7235) > 0)) {
  1630. mes "[" + .@name$ + "]";
  1631. mes "Please give the";
  1632. mes "Spirit of Charge to";
  1633. mes "a ^FF0000Blacksmith^000000 or ^FF0000Mastersmith^000000.";
  1634. mes "It won't do any good in the";
  1635. mes "hands of anybody else.";
  1636. close;
  1637. }
  1638. if (guildrelay_q == 88) {
  1639. mes "[" + .@name$ + "]";
  1640. mes "You don't have";
  1641. mes "anything to do?";
  1642. mes "Why don't you help";
  1643. mes "your guild hunt monsters?";
  1644. mes "It'll be a good chance to";
  1645. mes "show them your skills~";
  1646. close;
  1647. }
  1648. if ((guildrelay_q == 87) && (countitem(7237) > 0)) {
  1649. mes "[" + .@name$ + "]";
  1650. mes "Please give the";
  1651. mes "Spirit of Association to";
  1652. mes "an ^FF0000Alchemist^000000 or ^FF0000Biochemist^000000.";
  1653. mes "It won't do any good in the";
  1654. mes "hands of anybody else.";
  1655. close;
  1656. }
  1657. if (guildrelay_q == 87) {
  1658. mes "[" + .@name$ + "]";
  1659. mes "Hm. Don't you have";
  1660. mes "anything to do? I suppose";
  1661. mes "it's better to be bored";
  1662. mes "than to be overwhelmed.";
  1663. mes "Oh well, you'll figure";
  1664. mes "something out.";
  1665. close;
  1666. }
  1667. if ((guildrelay_q == 86) && (countitem(7238) > 0)) {
  1668. mes "[" + .@name$ + "]";
  1669. mes "Please give the";
  1670. mes "Spirit of Coordination";
  1671. mes "to a ^FF0000Hunter^000000 or ^FF0000Sniper^000000.";
  1672. mes "It won't do any good in the";
  1673. mes "hands of anybody else.";
  1674. close;
  1675. }
  1676. if (guildrelay_q == 86) {
  1677. mes "[" + .@name$ + "]";
  1678. mes "Good work. Please";
  1679. mes "go ahead and take a rest,";
  1680. mes "and then come back to me";
  1681. mes "later. I'll have something";
  1682. mes "to give you by then.";
  1683. close;
  1684. }
  1685. if ((guildrelay_q == 85) && (countitem(7239) > 0)) {
  1686. mes "[" + .@name$ + "]";
  1687. mes "Please give the";
  1688. mes "Spirit of Advance";
  1689. mes "to your ^FF0000guild master^000000.";
  1690. mes "It won't do any good in the";
  1691. mes "hands of anybody else.";
  1692. close;
  1693. }
  1694. if (guildrelay_q == 85) {
  1695. mes "[" + .@name$ + "]";
  1696. mes "Your falcon's been";
  1697. mes "a great help in the";
  1698. mes "guild. Hm? You already";
  1699. mes "miss it? Hahahaha!";
  1700. close;
  1701. }
  1702. mes "[" + .@name$ + "]";
  1703. mes "Hm? What brings you";
  1704. mes "here? I don't think we";
  1705. mes "have any business to";
  1706. mes "conduct. Am I mistaken?";
  1707. close;
  1708. }
  1709. }
  1710. else {
  1711. if (strcharinfo(0) == getguildmaster(.@GID)) {
  1712. mes "[" + .@name$ + "]";
  1713. mes "Hm? What brings you";
  1714. mes "here? Feel free to take";
  1715. mes "your time and look around";
  1716. mes "if that's what pleases you.";
  1717. close;
  1718. }
  1719. else {
  1720. mes "[" + .@name$ + "]";
  1721. mes "There isn't much to see";
  1722. mes "around here, but you're";
  1723. mes "welcome to stay and look";
  1724. mes "around here if you wish.";
  1725. close;
  1726. }
  1727. }
  1728. }
  1729. aldeg_cas01,200,175,3 script Gealuve#01::GuildRelay3 754,{
  1730. set .@name$,strnpcinfo(1);
  1731. if (.@name$ == "Gealuve") {
  1732. set .@GID, GetCastleData("aldeg_cas"+strnpcinfo(2),1);
  1733. }
  1734. if (checkweight(1201,1) == 0) {
  1735. mes "^3355FFWait a minute! You're";
  1736. mes "carrying too many items";
  1737. mes "right now: store some of";
  1738. mes "your extra things in Kafra";
  1739. mes "Storage, and then come back.^000000";
  1740. close;
  1741. }
  1742. if (.@GID == 0) {
  1743. mes "^3355FFThis exhausted man";
  1744. mes "notices you staring at";
  1745. mes "him, but chooses to leave";
  1746. mes "you alone. There's no one";
  1747. mes "else in this stronghold so";
  1748. mes "there's no reason to be here.^000000";
  1749. close;
  1750. }
  1751. if (getcharid(2) == .@GID) {
  1752. if (strcharinfo(0) == getguildmaster(.@GID)) {
  1753. if (countitem(7240) > 0) {
  1754. mes "[" + .@name$ + "]";
  1755. mes "Hm? What are you doing?";
  1756. mes "You're not supposed to";
  1757. mes "be the one holding onto";
  1758. mes "this soul. A Sage or a";
  1759. mes "Professor was supposed";
  1760. mes "to come here with it.";
  1761. next;
  1762. mes "[" + .@name$ + "]";
  1763. mes "Make sure you give";
  1764. mes "that soul you're holding";
  1765. mes "to a ^FF0000Sage^000000 or ^FF0000Professor^000000, and";
  1766. mes "then have him bring it to me.";
  1767. close;
  1768. }
  1769. else {
  1770. mes "[" + .@name$ + "]";
  1771. mes "Our business together";
  1772. mes "has concluded. If you're";
  1773. mes "not busy, why don't you try";
  1774. mes "helping out your guild? Yes,";
  1775. mes "I'm sure they'd appreciate it.";
  1776. close;
  1777. }
  1778. }
  1779. else {
  1780. if ((BaseJob == Job_Sage) && (countitem(7240) > 0)) {
  1781. mes "[" + .@name$ + "]";
  1782. mes "I see that you've brought";
  1783. mes "the ^42426FSpirit of Trust^000000. Now, the";
  1784. mes "first thing I want you to do is";
  1785. mes "to build the trust between you";
  1786. mes "and your guild members.";
  1787. mes "Spend time with them.";
  1788. next;
  1789. mes "[" + .@name$ + "]";
  1790. mes "I want you to build";
  1791. mes "up some friendly bonds";
  1792. mes "within your guild before";
  1793. mes "coming back to me. Your";
  1794. mes "guild must have solidarity";
  1795. mes "in order to be successful.";
  1796. delitem 7240,1; //Soul_Of_Confidence
  1797. set guildrelay_q,9;
  1798. set guildtime,gettime(3);
  1799. close;
  1800. }
  1801. if ((guildtime > 22) && (guildrelay_q == 9) && (BaseJob == Job_Sage)) {
  1802. if ((gettime(3) > 02) && (gettime(3) < guildtime)) {
  1803. mes "[" + .@name$ + "]";
  1804. mes "So did you spend some";
  1805. mes "quality time with your";
  1806. mes "guild members, and get";
  1807. mes "a chance to really learn";
  1808. mes "who they are? You must";
  1809. mes "love your comrades.";
  1810. next;
  1811. mes "[" + .@name$ + "]";
  1812. mes "Now you know how";
  1813. mes "important bonding truly";
  1814. mes "is. Please give this spirit";
  1815. mes "to a ^42426FBard^000000, ^42426FMinstrel^000000, ^42426FDancer^000000,";
  1816. mes "or ^42426FGypsy^000000. Good luck to you.";
  1817. set guildrelay_q,81;
  1818. getitem 7241,1; //Soul_Of_Agreement
  1819. close;
  1820. }
  1821. else {
  1822. mes "[" + .@name$ + "]";
  1823. mes "Hm? Back so soon?";
  1824. mes "That hasn't been enough";
  1825. mes "time for you to really bond";
  1826. mes "with your guild members.";
  1827. mes "Go back, ask them about their";
  1828. mes "dreams, passions, and goals!";
  1829. close;
  1830. }
  1831. }
  1832. else if ((guildtime > 21) && (guildrelay_q == 9) && (BaseJob == Job_Sage)) {
  1833. if ((gettime(3) > 01) && (gettime(3) < guildtime)) {
  1834. mes "[" + .@name$ + "]";
  1835. mes "So did you spend some";
  1836. mes "quality time with your";
  1837. mes "guild members, and get";
  1838. mes "a chance to really learn";
  1839. mes "who they are? You must";
  1840. mes "love your comrades.";
  1841. next;
  1842. mes "[" + .@name$ + "]";
  1843. mes "Now you know how";
  1844. mes "important bonding truly";
  1845. mes "is. Please give this spirit";
  1846. mes "to a ^42426FBard^000000, ^42426FMinstrel^000000, ^42426FDancer^000000,";
  1847. mes "or ^42426FGypsy^000000. Good luck to you.";
  1848. set guildrelay_q,71;
  1849. getitem 7241,1; //Soul_Of_Agreement
  1850. close;
  1851. }
  1852. else {
  1853. mes "[" + .@name$ + "]";
  1854. mes "Hm? Back so soon?";
  1855. mes "That hasn't been enough";
  1856. mes "time for you to really bond";
  1857. mes "with your guild members.";
  1858. mes "Go back, ask them about their";
  1859. mes "dreams, passions, and goals!";
  1860. close;
  1861. }
  1862. }
  1863. else if ((guildtime > 20) && (guildrelay_q == 9) && (BaseJob == Job_Sage)) {
  1864. if ((gettime(3) > 0) && (gettime(3) < guildtime)) {
  1865. mes "[" + .@name$ + "]";
  1866. mes "So did you spend some";
  1867. mes "quality time with your";
  1868. mes "guild members, and get";
  1869. mes "a chance to really learn";
  1870. mes "who they are? You must";
  1871. mes "love your comrades.";
  1872. next;
  1873. mes "[" + .@name$ + "]";
  1874. mes "Now you know how";
  1875. mes "important bonding truly";
  1876. mes "is. Please give this spirit";
  1877. mes "to a ^42426FBard^000000, ^42426FMinstrel^000000, ^42426FDancer^000000,";
  1878. mes "or ^42426FGypsy^000000. Good luck to you.";
  1879. set guildrelay_q,71;
  1880. getitem 7241,1; //Soul_Of_Agreement
  1881. close;
  1882. }
  1883. else {
  1884. mes "[" + .@name$ + "]";
  1885. mes "Hm? Back so soon?";
  1886. mes "That hasn't been enough";
  1887. mes "time for you to really bond";
  1888. mes "with your guild members.";
  1889. mes "Go back, ask them about their";
  1890. mes "dreams, passions, and goals!";
  1891. close;
  1892. }
  1893. }
  1894. else if ((gettime(3) - guildtime > 3) && (guildrelay_q == 9) && (BaseJob == Job_Sage)) {
  1895. mes "[" + .@name$ + "]";
  1896. mes "So did you spend some";
  1897. mes "quality time with your";
  1898. mes "guild members, and get";
  1899. mes "a chance to really learn";
  1900. mes "who they are? You must";
  1901. mes "love your comrades.";
  1902. next;
  1903. mes "[" + .@name$ + "]";
  1904. mes "You have done";
  1905. mes "what you had to do for now.";
  1906. mes "Please give it to a ^42426FBard^000000 or ^42426FClown^000000";
  1907. mes "You can also give it to ^42426FDancer^000000 or ^42426FGypsy^000000";
  1908. mes "Good luck.";
  1909. set guildrelay_q,71;
  1910. getitem 7241,1; //Soul_Of_Agreement
  1911. close;
  1912. }
  1913. else if ((BaseJob == Job_Sage) && (guildrelay_q == 9)) {
  1914. mes "[" + .@name$ + "]";
  1915. mes "Hm? Back so soon?";
  1916. mes "That hasn't been enough";
  1917. mes "time for you to really bond";
  1918. mes "with your guild members.";
  1919. mes "Go back, ask them about their";
  1920. mes "dreams, passions, and goals!";
  1921. close;
  1922. }
  1923. if (((BaseJob == Job_Bard) || (BaseJob == Job_Dancer)) && (countitem(7241) > 0)) {
  1924. mes "[" + .@name$ + "]";
  1925. mes "For the sake of promoting";
  1926. mes "teamwork amongst your guild,";
  1927. mes "my test will be for you to";
  1928. mes "gather specific items for me.";
  1929. next;
  1930. mes "[" + .@name$ + "]";
  1931. mes "This is a difficult task";
  1932. mes "to complete alone, but it";
  1933. mes "will be much easier if you";
  1934. mes "and your guild cooperate to";
  1935. mes "get all the items. Now listen,";
  1936. mes "this is what I want you to get.";
  1937. next;
  1938. switch(rand(1,3)) {
  1939. case 1:
  1940. mes "[" + .@name$ + "]";
  1941. mes "^8C171730 Burning Hearts^000000,";
  1942. mes "^8C171730 Wolf Claws^000000, and";
  1943. mes "^8C171730 Leopard Claws^000000.";
  1944. mes "You might want to write";
  1945. mes "these down so you don't";
  1946. mes "forget. Good luck to you.";
  1947. delitem 7241,1; //Soul_Of_Agreement
  1948. set guildrelay_q,10;
  1949. break;
  1950. case 2:
  1951. mes "[" + .@name$ + "]";
  1952. mes "^8C171730 Soft Blades of Grass^000000,";
  1953. mes "^8C171730 Wooden Hearts^000000, and";
  1954. mes "^8C171730 Poisonous Toad Skins^000000.";
  1955. mes "You might want to write";
  1956. mes "these down so you don't";
  1957. mes "forget. Good luck to you.";
  1958. delitem 7241,1; //Soul_Of_Agreement
  1959. set guildrelay_q,11;
  1960. break;
  1961. case 3:
  1962. mes "[" + .@name$ + "]";
  1963. mes "^8C171730 Antelope Horns^000000,";
  1964. mes "^8C171730 Honey Pots^000000, and";
  1965. mes "^8C171730 Porcupine Quills^000000.";
  1966. mes "You might want to write";
  1967. mes "these down so you don't";
  1968. mes "forget. Good luck to you.";
  1969. delitem 7241,1; //Soul_Of_Agreement
  1970. set guildrelay_q,80;
  1971. break;
  1972. }
  1973. next;
  1974. mes "[" + .@name$ + "]";
  1975. mes "You should be bonding";
  1976. mes "with your guild while you";
  1977. mes "gather those items I asked";
  1978. mes "you to bring. I know enough";
  1979. mes "time hasn't passed for your";
  1980. mes "guild to work together on this.";
  1981. close;
  1982. }
  1983. if ((countitem(7097) > 29) && (countitem(7172) > 29) && (countitem(920) > 29) && (guildrelay_q == 10)) {
  1984. mes "[" + .@name$ + "]";
  1985. mes "Oh, perfect! You brought";
  1986. mes "all the items. Well then,";
  1987. mes "I guess you're ready to";
  1988. mes "take this spirit now. Please";
  1989. mes "give it to an ^42426FAssassin^000000 or an";
  1990. mes "^42426FAssassin Cross^000000. Thank you.";
  1991. delitem 7097,30; //Burning_Heart
  1992. delitem 7172,30; //Leopard_Talon
  1993. delitem 920,30; //Claw_Of_Wolves
  1994. if (BaseJob == Job_Dancer) {
  1995. set guildrelay_q,72;
  1996. }
  1997. else {
  1998. set guildrelay_q,72;
  1999. }
  2000. getitem 7242,1; //Soul_Of_Harmony
  2001. close;
  2002. }
  2003. else if ((countitem(7189) > 29) && (countitem(7194) > 29) && (countitem(7155) > 29) && (guildrelay_q == 11)) {
  2004. mes "[" + .@name$ + "]";
  2005. mes "Oh, perfect! You brought";
  2006. mes "all the items. Well then,";
  2007. mes "I guess you're ready to";
  2008. mes "take this spirit now. Please";
  2009. mes "give it to an ^42426FAssassin^000000 or an";
  2010. mes "^42426FAssassin Cross^000000. Thank you.";
  2011. delitem 7189,30; //Heart_Of_Tree
  2012. delitem 7194,30; //Soft_Leaf
  2013. delitem 7155,30; //Poison_Toad's_Skin
  2014. if (BaseJob == Job_Dancer) {
  2015. set guildrelay_q,72;
  2016. }
  2017. else {
  2018. set guildrelay_q,72;
  2019. }
  2020. getitem 7242,1; //Soul_Of_Harmony
  2021. close;
  2022. }
  2023. else if ((countitem(7106) > 29) && (countitem(7121) > 29) && (countitem(1027) > 29) && (guildrelay_q == 80)) {
  2024. mes "[" + .@name$ + "]";
  2025. mes "Oh, perfect! You brought";
  2026. mes "all the items. Well then,";
  2027. mes "I guess you're ready to";
  2028. mes "take this spirit now. Please";
  2029. mes "give it to an ^42426FAssassin^000000 or an";
  2030. mes "^42426FAssassin Cross^000000. Thank you.";
  2031. delitem 7106,30; //Goat's_Horn
  2032. delitem 7121,30; //Honey_Jar
  2033. delitem 1027,30; //Porcupine_Spike
  2034. if (BaseJob == Job_Dancer) {
  2035. set guildrelay_q,72;
  2036. }
  2037. else {
  2038. set guildrelay_q,72;
  2039. }
  2040. getitem 7242,1; //Soul_Of_Harmony
  2041. close;
  2042. }
  2043. else if (guildrelay_q == 10) {
  2044. mes "[" + .@name$ + "]";
  2045. mes "Hm? You still haven't";
  2046. mes "gathered all the items";
  2047. mes "with your guild yet?";
  2048. mes "Let me remind you what";
  2049. mes "you need to bring me.";
  2050. next;
  2051. mes "[" + .@name$ + "]";
  2052. mes "^8C171730 Burning Hearts^000000,";
  2053. mes "^8C171730 Wolf Claws^000000, and";
  2054. mes "^8C171730 Leopard Claws^000000.";
  2055. mes "You might want to write";
  2056. mes "these down so you don't";
  2057. mes "forget. Good luck to you.";
  2058. close;
  2059. }
  2060. else if (guildrelay_q == 11) {
  2061. mes "[" + .@name$ + "]";
  2062. mes "Hm? You still haven't";
  2063. mes "gathered all the items";
  2064. mes "with your guild yet?";
  2065. mes "Let me remind you what";
  2066. mes "you need to bring me.";
  2067. next;
  2068. mes "[" + .@name$ + "]";
  2069. mes "^8C171730 Soft Blades of Grass^000000,";
  2070. mes "^8C171730 Wooden Hearts^000000, and";
  2071. mes "^8C171730 Poisonous Toad Skins^000000.";
  2072. mes "You might want to write";
  2073. mes "these down so you don't";
  2074. mes "forget. Good luck to you.";
  2075. close;
  2076. }
  2077. else if (guildrelay_q == 80) {
  2078. mes "[" + .@name$ + "]";
  2079. mes "Hm? You still haven't";
  2080. mes "gathered all the items";
  2081. mes "with your guild yet?";
  2082. mes "Let me remind you what";
  2083. mes "you need to bring me.";
  2084. next;
  2085. mes "[" + .@name$ + "]";
  2086. mes "^8C171730 Antelope Horns^000000,";
  2087. mes "^8C171730 Honey Pots^000000, and";
  2088. mes "^8C171730 Porcupine Quills^000000.";
  2089. mes "You might want to write";
  2090. mes "these down so you don't";
  2091. mes "forget. Good luck to you.";
  2092. close;
  2093. }
  2094. if ((BaseJob == Job_Assassin) && (countitem(7242) > 0)) {
  2095. mes "[" + .@name$ + "]";
  2096. mes "You brought the";
  2097. mes "Spirit of Combination?";
  2098. mes "Make sure that you give";
  2099. mes "that to a ^2F4F2FWizard^000000 or";
  2100. mes "a ^2F4F2FHigh Wizard^000000.";
  2101. delitem 7242,1; //Soul_Of_Harmony
  2102. set guildrelay_q,74;
  2103. getitem 7244,1; //Soul_Of_Unity
  2104. close;
  2105. }
  2106. if ((BaseJob == Job_Wizard) && (countitem(7244) > 0)) {
  2107. mes "[" + .@name$ + "]";
  2108. mes "For the sake of your";
  2109. mes "guild, you must become";
  2110. mes "stronger. Sometimes";
  2111. mes "your spells will make the";
  2112. mes "difference between victory";
  2113. mes "and defeat. Remember that.";
  2114. next;
  2115. mes "[" + .@name$ + "]";
  2116. mes "Hey," + strcharinfo(0) + ",";
  2117. mes "if you really want to become";
  2118. mes "strong enough to protect your";
  2119. mes "guild, then you must level up.";
  2120. mes "Come back to me once you've";
  2121. mes "raised your Base Level.";
  2122. next;
  2123. if ((BaseLevel > 0) && (BaseLevel < 61)) {
  2124. mes "[" + .@name$ + "]";
  2125. mes "You will be ready";
  2126. mes "for your task after you";
  2127. mes "gain ^FF00003 Base Levels^000000.";
  2128. mes "Don't despair: I know";
  2129. mes "you'll be able to reach";
  2130. mes "this goal. Good luck to you.";
  2131. delitem 7244,1; //Soul_Of_Unity
  2132. set guildrelay_q,12;
  2133. close;
  2134. }
  2135. else if ((BaseLevel > 60) && (BaseLevel < 76)) {
  2136. mes "[" + .@name$ + "]";
  2137. mes "You will be ready";
  2138. mes "for your task after you";
  2139. mes "gain ^FF00002 Base Levels^000000.";
  2140. mes "Don't despair: I know";
  2141. mes "you'll be able to reach";
  2142. mes "this goal. Good luck to you.";
  2143. delitem 7244,1; //Soul_Of_Unity
  2144. set guildrelay_q,13;
  2145. close;
  2146. }
  2147. else if ((BaseLevel > 75) && (BaseLevel < 97)) {
  2148. mes "[" + .@name$ + "]";
  2149. mes "You will be ready";
  2150. mes "for your task after you";
  2151. mes "gain ^FF00001 Base Level^000000.";
  2152. mes "Don't despair: I know";
  2153. mes "you'll be able to reach";
  2154. mes "this goal. Good luck to you.";
  2155. delitem 7244,1; //Soul_Of_Unity
  2156. set guildrelay_q,14;
  2157. close;
  2158. }
  2159. else if (BaseLevel > 96) {
  2160. mes "[" + .@name$ + "]";
  2161. mes "Hm. You're much stronger";
  2162. mes "that I expected. There's no";
  2163. mes "need for me to encourage";
  2164. mes "you to develop your strength.";
  2165. mes "I admit that you are strong.";
  2166. next;
  2167. mes "[" + .@name$ + "]";
  2168. mes "Acknowledge the extent and";
  2169. mes "limits of your strength, but";
  2170. mes "never allow conceit to pollute";
  2171. mes "your heart. Pride will always";
  2172. mes "shackle your power if you";
  2173. mes "let it. Remember humility.";
  2174. next;
  2175. mes "[" + .@name$ + "]";
  2176. mes "You qualified enough";
  2177. mes "for me to trust you.";
  2178. mes "Please give this spirit";
  2179. mes "to your ^FF0000Guild Master^000000.";
  2180. mes "You're done for now.";
  2181. delitem 7244,1; //Soul_Of_Unity
  2182. set guildrelay_q,75;
  2183. getitem 7245,1; //Soul_Of_Friendship
  2184. close;
  2185. }
  2186. }
  2187. if ((BaseLevel + 2) < (BaseLevel) && (guildrelay_q == 12)) {
  2188. mes "[" + .@name$ + "]";
  2189. mes "I see that you've";
  2190. mes "completed the task";
  2191. mes "I have given you. It may";
  2192. mes "have been difficult, but";
  2193. mes "you'll see that I had your";
  2194. mes "guild's best interests in mind.";
  2195. next;
  2196. mes "[" + .@name$ + "]";
  2197. mes "You've earned my trust.";
  2198. mes "Please give this spirit";
  2199. mes "to your ^FF0000Guild Master^000000.";
  2200. mes "You've done well.";
  2201. set guildrelay_q,75;
  2202. getitem 7245,1; //Soul_Of_Friendship
  2203. close;
  2204. }
  2205. else if ((BaseLevel + 1) < (BaseLevel) && (guildrelay_q == 13)) {
  2206. mes "[" + .@name$ + "]";
  2207. mes "I see that you've";
  2208. mes "completed the task";
  2209. mes "I have given you. It may";
  2210. mes "have been difficult, but";
  2211. mes "you'll see that I had your";
  2212. mes "guild's best interests in mind.";
  2213. next;
  2214. mes "[" + .@name$ + "]";
  2215. mes "You've earned my trust.";
  2216. mes "Please give this spirit";
  2217. mes "to your ^FF0000Guild Master^000000.";
  2218. mes "You've done well.";
  2219. set guildrelay_q,75;
  2220. getitem 7245,1; //Soul_Of_Friendship
  2221. close;
  2222. }
  2223. else if ((BaseLevel < BaseLevel) && (guildrelay_q == 14)) {
  2224. mes "[" + .@name$ + "]";
  2225. mes "I see that you've";
  2226. mes "completed the task";
  2227. mes "I have given you. It may";
  2228. mes "have been difficult, but";
  2229. mes "you'll see that I had your";
  2230. mes "guild's best interests in mind.";
  2231. next;
  2232. mes "[" + .@name$ + "]";
  2233. mes "You've earned my trust.";
  2234. mes "Please give this spirit";
  2235. mes "to your ^FF0000Guild Master^000000.";
  2236. mes "You've done well.";
  2237. set guildrelay_q,75;
  2238. getitem 7245,1; //Soul_Of_Friendship
  2239. close;
  2240. }
  2241. if ((guildrelay_q == 12) && (BaseJob == Job_Wizard)) {
  2242. mes "[" + .@name$ + "]";
  2243. mes "You're not strong enough";
  2244. mes "yet for your guild to fully";
  2245. mes "rely on you in a crisis.";
  2246. mes "You must level up!";
  2247. close;
  2248. }
  2249. else if ((guildrelay_q == 13) && (BaseJob == Job_Wizard)) {
  2250. mes "[" + .@name$ + "]";
  2251. mes "You're not strong enough";
  2252. mes "yet for your guild to fully";
  2253. mes "rely on you in a crisis.";
  2254. mes "You must level up!";
  2255. close;
  2256. }
  2257. else if ((guildrelay_q == 14) && (BaseJob == Job_Wizard)) {
  2258. mes "[" + .@name$ + "]";
  2259. mes "Hmm... I don't think you've";
  2260. mes "spent enough time leveling";
  2261. mes "up yet. Keep working on it.";
  2262. close;
  2263. }
  2264. }
  2265. }
  2266. else {
  2267. if (strcharinfo(0) == getguildmaster(.@GID)) {
  2268. mes "[" + .@name$ + "]";
  2269. mes "Hm. You're the master";
  2270. mes "of another guild, aren't";
  2271. mes "you? I have no loyalty";
  2272. mes "towards you. Please...";
  2273. mes "Leave this place.";
  2274. close;
  2275. }
  2276. else {
  2277. mes "[" + .@name$ + "]";
  2278. mes "Hm? You have no reason";
  2279. mes "to linger in this stronghold.";
  2280. mes "Please leave this place now.";
  2281. close;
  2282. }
  2283. }
  2284. if ((guildrelay_q == 71) && (countitem(7241) > 0)) {
  2285. mes "[" + .@name$ + "]";
  2286. mes "There's no need for you";
  2287. mes "to hold onto that Spirit";
  2288. mes "of Union. Please give it to";
  2289. mes "a Bard, Minstrel, Dancer";
  2290. mes "or Gypsy in your guild.";
  2291. close;
  2292. }
  2293. else if (guildrelay_q == 71) {
  2294. mes "[" + .@name$ + "]";
  2295. mes "When you improve yourself,";
  2296. mes "you'll also be strengthening";
  2297. mes "your guild. Always devote some";
  2298. mes "time for yourself and for your";
  2299. mes "team. You cannot have one";
  2300. mes "without the other.";
  2301. next;
  2302. mes "[" + .@name$ + "]";
  2303. mes "I suppose you really";
  2304. mes "don't have much use";
  2305. mes "for me anymore... But I'll";
  2306. mes "always offer my support.";
  2307. close;
  2308. }
  2309. if ((guildrelay_q == 72) && (countitem(7242) > 0)) {
  2310. mes "[" + .@name$ + "]";
  2311. mes "There's no need for you";
  2312. mes "to hold onto that Spirit of";
  2313. mes "Combination. Please give";
  2314. mes "it to an Assassin or Assassin";
  2315. mes "Cross in your guild.";
  2316. close;
  2317. }
  2318. else if (guildrelay_q == 72) {
  2319. mes "[" + .@name$ + "]";
  2320. mes "Your songs bolster your";
  2321. mes "guild's morale, and will";
  2322. mes "help them stand and fight,";
  2323. mes "no matter how deseperate";
  2324. mes "the situation may seem.";
  2325. mes "Your voice can make miracles.";
  2326. next;
  2327. mes "[" + .@name$ + "]";
  2328. mes "I suppose you really";
  2329. mes "don't have much use";
  2330. mes "for me anymore... But I'll";
  2331. mes "always offer my support.";
  2332. close;
  2333. }
  2334. if ((guildrelay_q == 73) && (countitem(7242) > 0)) {
  2335. mes "[" + .@name$ + "]";
  2336. mes "There's no need for you";
  2337. mes "to hold onto that Spirit of";
  2338. mes "Combination. Please give";
  2339. mes "it to an Assassin or Assassin";
  2340. mes "Cross in your guild.";
  2341. close;
  2342. }
  2343. else if (guildrelay_q == 73) {
  2344. mes "[" + .@name$ + "]";
  2345. mes "Your dances bolster your";
  2346. mes "guild's morale, and will";
  2347. mes "help them stand and fight,";
  2348. mes "no matter how deseperate";
  2349. mes "the situation may seem.";
  2350. mes "Your voice can make miracles.";
  2351. next;
  2352. mes "[" + .@name$ + "]";
  2353. mes "I suppose you really";
  2354. mes "don't have much use";
  2355. mes "for me anymore... But I'll";
  2356. mes "always offer my support.";
  2357. close;
  2358. }
  2359. if ((guildrelay_q == 74) && (countitem(7244) > 0)) {
  2360. mes "[" + .@name$ + "]";
  2361. mes "There's no need for you";
  2362. mes "to hold onto that Spirit";
  2363. mes "of Solidarity. Please give";
  2364. mes "it to a Wizard or High";
  2365. mes "Wizard in your guild.";
  2366. close;
  2367. }
  2368. else if (guildrelay_q == 74) {
  2369. mes "[" + .@name$ + "]";
  2370. mes "I suppose you really";
  2371. mes "don't have much use";
  2372. mes "for me anymore... But I'll";
  2373. mes "always offer my support.";
  2374. next;
  2375. mes "[" + .@name$ + "]";
  2376. mes "Know who your enemies are.";
  2377. mes "If anybody opposes your guild,";
  2378. mes "you must crush them without";
  2379. mes "any hesitation. Your justice";
  2380. mes "must be meted swiftly!";
  2381. close;
  2382. }
  2383. if ((guildrelay_q == 75) && (countitem(7245) > 0)) {
  2384. mes "[" + .@name$ + "]";
  2385. mes "There's no need for you";
  2386. mes "to hold onto that Spirit of";
  2387. mes "Friendship. Please give";
  2388. mes "it to your Guild Master.";
  2389. close;
  2390. }
  2391. else if (guildrelay_q == 75) {
  2392. mes "[" + .@name$ + "]";
  2393. mes "I can tell that you're";
  2394. mes "always trying to help all";
  2395. mes "the members of your guild.";
  2396. mes "Your loyalty will bring them";
  2397. mes "to your side in times of";
  2398. mes "joy and of tribulation.";
  2399. next;
  2400. mes "[" + .@name$ + "]";
  2401. mes "I suppose you really";
  2402. mes "don't have much use";
  2403. mes "for me anymore... But I'll";
  2404. mes "always offer my support.";
  2405. close;
  2406. }
  2407. mes "[" + .@name$ + "]";
  2408. mes "We have nothing to";
  2409. mes "do with each other.";
  2410. mes "Leave me be, and";
  2411. mes "just go on your way.";
  2412. close;
  2413. }
  2414. aldeg_cas01,59,224,3 script Pariz#01::GuildRelay4 754,{
  2415. set .@name$,strnpcinfo(1);
  2416. if (.@name$ == "Pariz") {
  2417. set .@GID, GetCastleData("aldeg_cas"+strnpcinfo(2),1);
  2418. }
  2419. if (checkweight(1201,1) == 0) {
  2420. mes "^3355FFWait a minute! You're";
  2421. mes "carrying too many items";
  2422. mes "right now: store some of";
  2423. mes "your extra things in Kafra";
  2424. mes "Storage, and then come back.^000000";
  2425. close;
  2426. }
  2427. if (.@GID == 0) {
  2428. mes "^3355FFThis exhausted man";
  2429. mes "notices you staring at";
  2430. mes "him, but chooses to leave";
  2431. mes "you alone. There's no one";
  2432. mes "else in this stronghold so";
  2433. mes "there's no reason to be here.^000000";
  2434. close;
  2435. }
  2436. if (getcharid(2) == .@GID) {
  2437. if (strcharinfo(0) == getguildmaster(.@GID)) {
  2438. if (countitem(7246) > 0) {
  2439. mes "[" + .@name$ + "]";
  2440. mes "Hm? That spirit that";
  2441. mes "you've brought with you...";
  2442. mes "I'm sorry, but it's useless";
  2443. mes "for you to carry it around.";
  2444. next;
  2445. mes "[" + .@name$ + "]";
  2446. mes "Please give that to";
  2447. mes "a ^FF0000Rogue^000000 or ^FF0000Stalker^000000";
  2448. mes "in your guild, and then";
  2449. mes "ask him bring it to me.";
  2450. close;
  2451. }
  2452. else {
  2453. mes "[" + .@name$ + "]";
  2454. mes "Our business together";
  2455. mes "has concluded. If you're";
  2456. mes "not busy, why don't you try";
  2457. mes "helping out your guild? Yes,";
  2458. mes "I'm sure they'd appreciate it.";
  2459. close;
  2460. }
  2461. }
  2462. else {
  2463. if ((BaseJob == Job_Rogue) && (countitem(7246) > 0)) {
  2464. mes "[" + .@name$ + "]";
  2465. mes "So you're the one that's";
  2466. mes "been entrusted with the";
  2467. mes "Spirit of Peace? Well then...";
  2468. mes "My task for you is to ^FF0000form";
  2469. switch(rand(1,3)) {
  2470. case 1:
  2471. mes "a party with 6 members^000000.";
  2472. mes "No more and no less.";
  2473. next;
  2474. mes "[" + .@name$ + "]";
  2475. mes "This is a strange test,";
  2476. mes "but if you can do this, it";
  2477. mes "will clearly demonstrate";
  2478. mes "to me that your people";
  2479. mes "skills are up to par.";
  2480. delitem 7246,1; //Soul_Of_Peace
  2481. set guildrelay_q,91;
  2482. close;
  2483. case 2:
  2484. mes "a party with 8 members^000000.";
  2485. mes "No more and no less.";
  2486. next;
  2487. mes "[" + .@name$ + "]";
  2488. mes "This is a strange test,";
  2489. mes "but if you can do this, it";
  2490. mes "will clearly demonstrate";
  2491. mes "to me that your people";
  2492. mes "skills are up to par.";
  2493. delitem 7246,1; //Soul_Of_Peace
  2494. set guildrelay_q,92;
  2495. close;
  2496. case 3:
  2497. mes "a party with 10 members^000000.";
  2498. mes "No more and no less.";
  2499. next;
  2500. mes "[" + .@name$ + "]";
  2501. mes "This is a strange test,";
  2502. mes "but if you can do this, it";
  2503. mes "will clearly demonstrate";
  2504. mes "to me that your people";
  2505. mes "skills are up to par.";
  2506. delitem 7246,1; //Soul_Of_Peace
  2507. set guildrelay_q,93;
  2508. close;
  2509. }
  2510. }
  2511. getpartymember(getcharid(1));
  2512. set .@partymembercount,$@partymembercount;
  2513. set .@partyleader,getpartyleader(getcharid(1),2);
  2514. if (guildrelay_q == 91) {
  2515. if (.@partymembercount == 6) {
  2516. mes "[" + .@name$ + "]";
  2517. mes "I see that you've";
  2518. mes "formed a party with";
  2519. mes "the exact number of";
  2520. mes "people that I asked. Hmm.";
  2521. mes "I guess you can be trusted";
  2522. mes "to lead when you must.";
  2523. next;
  2524. mes "[" + .@name$ + "]";
  2525. mes "Here. I want you to take";
  2526. mes "this spirit, and then give";
  2527. mes "it to a Priest or High";
  2528. mes "Priest in your guild.";
  2529. set guildrelay_q,95;
  2530. getitem 7247,1; //Soul_Of_Spirit
  2531. close;
  2532. }
  2533. else {
  2534. mes "[" + .@name$ + "]";
  2535. mes "I thought I asked you to";
  2536. mes "^FF0000form a party of 6 members^000000?";
  2537. mes "No more and no less. Hmm.";
  2538. mes "Come back to me after you've";
  2539. mes "finished this simple task.";
  2540. close;
  2541. }
  2542. }
  2543. if (guildrelay_q == 92) {
  2544. if (.@partymembercount == 8) {
  2545. mes "[" + .@name$ + "]";
  2546. mes "I see that you've";
  2547. mes "formed a party with";
  2548. mes "the exact number of";
  2549. mes "people that I asked. Hmm.";
  2550. mes "I guess you can be trusted";
  2551. mes "to lead when you must.";
  2552. next;
  2553. mes "[" + .@name$ + "]";
  2554. mes "Here. I want you to take";
  2555. mes "this spirit, and then give";
  2556. mes "it to a Priest or High";
  2557. mes "Priest in your guild.";
  2558. set guildrelay_q,95;
  2559. getitem 7247,1; //Soul_Of_Spirit
  2560. close;
  2561. }
  2562. else {
  2563. mes "[" + .@name$ + "]";
  2564. mes "I thought I asked you to";
  2565. mes "^FF0000form a party of 8 members^000000?";
  2566. mes "No more and no less. Hmm.";
  2567. mes "Come back to me after you've";
  2568. mes "finished this simple task.";
  2569. close; }
  2570. }
  2571. if (guildrelay_q == 93) {
  2572. if (.@partymembercount == 10) {
  2573. mes "[" + .@name$ + "]";
  2574. mes "I see that you've";
  2575. mes "formed a party with";
  2576. mes "the exact number of";
  2577. mes "people that I asked. Hmm.";
  2578. mes "I guess you can be trusted";
  2579. mes "to lead when you must.";
  2580. next;
  2581. mes "[" + .@name$ + "]";
  2582. mes "Here. I want you to take";
  2583. mes "this spirit, and then give";
  2584. mes "it to a Priest or High";
  2585. mes "Priest in your guild.";
  2586. set guildrelay_q,95;
  2587. getitem 7247,1; //Soul_Of_Spirit
  2588. close;
  2589. }
  2590. else {
  2591. mes "[" + .@name$ + "]";
  2592. mes "I thought I asked you to";
  2593. mes "^FF0000form a party of 10 members^000000?";
  2594. mes "No more and no less. Hmm.";
  2595. mes "Come back to me after you've";
  2596. mes "finished this simple task.";
  2597. close;
  2598. }
  2599. }
  2600. if ((BaseJob == Job_Priest) && (countitem(7247) > 0)) {
  2601. mes "[" + .@name$ + "]";
  2602. mes "Good work getting the";
  2603. mes "Spirit of Determination,";
  2604. mes "but I want you to work on";
  2605. mes "getting stronger. If you";
  2606. mes "intend to protect others,";
  2607. mes "you can't afford to lose.";
  2608. next;
  2609. if ((BaseLevel > 1) && (BaseLevel < 61)) {
  2610. mes "[" + .@name$ + "]";
  2611. mes "I want you to gain";
  2612. mes "^FF00003 Base Levels^000000 for the";
  2613. mes "sake of strengthening";
  2614. mes "yourself and your guild.";
  2615. mes "This is my test for you.";
  2616. next;
  2617. mes "[" + .@name$ + "]";
  2618. mes "Try not to worry";
  2619. mes "over this task so much.";
  2620. mes "I'm certain you can do";
  2621. mes "this. Come back to me";
  2622. mes "when you are ready.";
  2623. delitem 7247,1; //Soul_Of_Spirit
  2624. set guildrelay_q,18;
  2625. close;
  2626. }
  2627. if ((BaseLevel > 60) && (BaseLevel < 76)) {
  2628. mes "[" + .@name$ + "]";
  2629. mes "I want you to gain";
  2630. mes "^FF00002 Base Levels^000000 for the";
  2631. mes "sake of strengthening";
  2632. mes "yourself and your guild.";
  2633. mes "This is my test for you.";
  2634. next;
  2635. mes "[" + .@name$ + "]";
  2636. mes "Try not to worry";
  2637. mes "over this task so much.";
  2638. mes "I'm certain you can do";
  2639. mes "this. Come back to me";
  2640. mes "when you are ready.";
  2641. delitem 7247,1; //Soul_Of_Spirit
  2642. set guildrelay_q,19;
  2643. close;
  2644. }
  2645. if ((BaseLevel > 75) && (BaseLevel < 97)) {
  2646. mes "[" + .@name$ + "]";
  2647. mes "I want you to gain";
  2648. mes "^FF00001 Base Level^000000 for the";
  2649. mes "sake of strengthening";
  2650. mes "yourself and your guild.";
  2651. mes "This is my test for you.";
  2652. next;
  2653. mes "[" + .@name$ + "]";
  2654. mes "Try not to worry";
  2655. mes "over this task so much.";
  2656. mes "I'm certain you can do";
  2657. mes "this. Come back to me";
  2658. mes "when you are ready.";
  2659. delitem 7247,1; //Soul_Of_Spirit
  2660. set guildrelay_q,20;
  2661. close;
  2662. }
  2663. if (BaseLevel > 96) {
  2664. mes "[" + .@name$ + "]";
  2665. mes "Hum, You are stronger than";
  2666. mes "I was expected.";
  2667. mes "You don't need any more quests";
  2668. mes "for becoming stronger.";
  2669. mes "But, do not be so proud of yourself.";
  2670. next;
  2671. mes "[" + .@name$ + "]";
  2672. mes "Alright then...";
  2673. mes "I entrust you with";
  2674. mes "this spirit. Please be";
  2675. mes "sure to give it to a";
  2676. mes "^4D4DFFCrusader^000000 or ^4D4DFFPaladin^000000";
  2677. mes "in your guild.";
  2678. delitem 7247,1; //Soul_Of_Spirit
  2679. set guildrelay_q,98;
  2680. getitem 7249,1; //Soul_Of_Service
  2681. close;
  2682. }
  2683. }
  2684. if (((BaseLevel + 2) < (BaseLevel)) && (guildrelay_q == 18)) {
  2685. mes "[" + .@name$ + "]";
  2686. mes "Huh. I see that you've";
  2687. mes "become much stronger,";
  2688. mes "just as I asked. No wonder";
  2689. mes "your guild mates can rely";
  2690. mes "on you. Congratulations";
  2691. mes "on a job well done.";
  2692. next;
  2693. mes "[" + .@name$ + "]";
  2694. mes "Alright then...";
  2695. mes "I entrust you with";
  2696. mes "this spirit. Please be";
  2697. mes "sure to give it to a";
  2698. mes "^4D4DFFCrusader^000000 or ^4D4DFFPaladin^000000";
  2699. mes "in your guild.";
  2700. set guildrelay_q,98;
  2701. getitem 7249,1; //Soul_Of_Service
  2702. close;
  2703. }
  2704. if (((BaseLevel + 1) < (BaseLevel)) && (guildrelay_q == 19)) {
  2705. mes "[" + .@name$ + "]";
  2706. mes "Huh. I see that you've";
  2707. mes "become much stronger,";
  2708. mes "just as I asked. No wonder";
  2709. mes "your guild mates can rely";
  2710. mes "on you. Congratulations";
  2711. mes "on a job well done.";
  2712. next;
  2713. mes "[" + .@name$ + "]";
  2714. mes "Alright then...";
  2715. mes "I entrust you with";
  2716. mes "this spirit. Please be";
  2717. mes "sure to give it to a";
  2718. mes "^4D4DFFCrusader^000000 or ^4D4DFFPaladin^000000";
  2719. mes "in your guild.";
  2720. set guildrelay_q,98;
  2721. getitem 7249,1; //Soul_Of_Service
  2722. close;
  2723. }
  2724. if ((BaseLevel < BaseLevel) && (guildrelay_q == 20)) {
  2725. mes "[" + .@name$ + "]";
  2726. mes "Huh. I see that you've";
  2727. mes "become much stronger,";
  2728. mes "just as I asked. No wonder";
  2729. mes "your guild mates can rely";
  2730. mes "on you. Congratulations";
  2731. mes "on a job well done.";
  2732. next;
  2733. mes "[" + .@name$ + "]";
  2734. mes "Ok, take this and give to";
  2735. mes "Crusader or Paladin";
  2736. mes "who is in our guild.";
  2737. mes "Good luck!";
  2738. set guildrelay_q,98;
  2739. getitem 7249,1; //Soul_Of_Service
  2740. close;
  2741. }
  2742. if ((BaseJob == Job_Crusader) && (countitem(7249) > 0)) {
  2743. mes "[" + .@name$ + "]";
  2744. mes "I see that you possess";
  2745. mes "the Spirit of Service. Hmm.";
  2746. mes "Good job. Now, your next";
  2747. mes "task will test your patience.";
  2748. mes "All you have to do is ^FF0000wait^000000.";
  2749. mes "Wait until the time is right.";
  2750. next;
  2751. mes "[" + .@name$ + "]";
  2752. mes "I want you to spend this";
  2753. mes "time to look into yourself,";
  2754. mes "and examine your relationship";
  2755. mes "with your guild members.";
  2756. mes "When you feel that the time";
  2757. mes "is right, come talk to me.";
  2758. next;
  2759. mes "[" + .@name$ + "]";
  2760. mes "I'm not going to tell you";
  2761. mes "when you should come back.";
  2762. mes "I'll merely confirm whether";
  2763. mes "you've come early or on time.";
  2764. mes "You'll need to really listen";
  2765. mes "to your feelings this time...";
  2766. delitem 7249,1; //Soul_Of_Service
  2767. set guildrelay_q,21;
  2768. set guildtime,gettime(3);
  2769. close;
  2770. }
  2771. if ((guildtime > 22) && (guildrelay_q == 21) && (BaseJob == Job_Crusader)) {
  2772. if ((gettime(3) > 2) && (gettime(3) < guildtime)) {
  2773. mes "[" + .@name$ + "]";
  2774. mes "Yes. You've come at just";
  2775. mes "the right time. Remember";
  2776. mes "that feeling in your heart,";
  2777. mes "and trust it when it comes";
  2778. mes "again. Now give this spirit to";
  2779. mes "a ^FF0000Monk^000000 or ^FF0000Champion^000000 for me...";
  2780. set guildrelay_q,96;
  2781. getitem 7250,1; //Soul_Of_Glory
  2782. close;
  2783. }
  2784. else {
  2785. mes "[" + .@name$ + "]";
  2786. mes "Too early.";
  2787. mes "Still too early.";
  2788. mes "Have you been listening";
  2789. mes "to your heart? Listen harder.";
  2790. close;
  2791. }
  2792. }
  2793. if ((guildtime > 21) && (guildrelay_q == 21) && (BaseJob == Job_Crusader)) {
  2794. if ((gettime(3) > 1) && (gettime(3) < guildtime)) {
  2795. mes "[" + .@name$ + "]";
  2796. mes "Yes. You've come at just";
  2797. mes "the right time. Remember";
  2798. mes "that feeling in your heart,";
  2799. mes "and trust it when it comes";
  2800. mes "again. Now give this spirit to";
  2801. mes "a ^FF0000Monk^000000 or ^FF0000Champion^000000 for me...";
  2802. set guildrelay_q,96;
  2803. getitem 7250,1; //Soul_Of_Glory
  2804. close;
  2805. }
  2806. else {
  2807. mes "[" + .@name$ + "]";
  2808. mes "Too early.";
  2809. mes "Still too early.";
  2810. mes "Have you been listening";
  2811. mes "to your heart? Listen harder.";
  2812. close;
  2813. }
  2814. }
  2815. if ((guildtime > 20) && (guildrelay_q == 21) && (BaseJob == Job_Crusader)) {
  2816. if ((gettime(3) > 0) && (gettime(3) < guildtime)) {
  2817. mes "[" + .@name$ + "]";
  2818. mes "Yes. You've come at just";
  2819. mes "the right time. Remember";
  2820. mes "that feeling in your heart,";
  2821. mes "and trust it when it comes";
  2822. mes "again. Now give this spirit to";
  2823. mes "a ^FF0000Monk^000000 or ^FF0000Champion^000000 for me...";
  2824. set guildrelay_q,96;
  2825. getitem 7250,1; //Soul_Of_Glory
  2826. close;
  2827. }
  2828. else {
  2829. mes "[" + .@name$ + "]";
  2830. mes "Too early.";
  2831. mes "Still too early.";
  2832. mes "Have you been listening";
  2833. mes "to your heart? Listen harder.";
  2834. close;
  2835. }
  2836. }
  2837. if ((gettime(3) - guildtime > 3) && (guildrelay_q == 21) && (BaseJob == Job_Crusader)) {
  2838. mes "[" + .@name$ + "]";
  2839. mes "Yes. You've come at just";
  2840. mes "the right time. Remember";
  2841. mes "that feeling in your heart,";
  2842. mes "and trust it when it comes";
  2843. mes "again. Now give this spirit to";
  2844. mes "a ^FF0000Monk^000000 or ^FF0000Champion^000000 for me...";
  2845. set guildrelay_q,96;
  2846. getitem 7250,1; //Soul_Of_Glory
  2847. close;
  2848. }
  2849. if ((guildrelay_q == 21) && (BaseJob == Job_Crusader)) {
  2850. mes "[" + .@name$ + "]";
  2851. mes "Not yet. Just wait";
  2852. mes "a little longer. Relax,";
  2853. mes "and come back later.";
  2854. close;
  2855. }
  2856. if ((BaseJob == Job_Monk) && (countitem(7250) > 0)) {
  2857. mes "[" + .@name$ + "]";
  2858. mes "Most of the souls have";
  2859. mes "been shared, and there is";
  2860. mes "but one thing I want to ask";
  2861. mes "you to do. Please bring me";
  2862. mes "some items. Having your friends";
  2863. mes "help you do this is acceptable.";
  2864. next;
  2865. switch(rand(1,3)) {
  2866. case 1:
  2867. mes "[" + .@name$ + "]";
  2868. mes "Please bring";
  2869. mes "^FF000030 Dokebi Horns^000000,";
  2870. mes "^FF000030 Fish Tails^000000, and";
  2871. mes "^FF000030 Celestial Robes^000000.";
  2872. mes "I shall be waiting";
  2873. mes "for you right here.";
  2874. delitem 7250,1; //Soul_Of_Glory
  2875. set guildrelay_q,23;
  2876. close;
  2877. case 2:
  2878. mes "[" + .@name$ + "]";
  2879. mes "Please bring";
  2880. mes "^FF000030 Rainbow Shells^000000,";
  2881. mes "^FF000030 Elastic Bands^000000, and";
  2882. mes "^FF000030 Horrendous Hairs^000000.";
  2883. mes "I shall be waiting";
  2884. mes "for you right here.";
  2885. delitem 7250,1; //Soul_Of_Glory
  2886. set guildrelay_q,24;
  2887. close;
  2888. case 3:
  2889. mes "[" + .@name$ + "]";
  2890. mes "Please bring";
  2891. mes "^FF000030 Worn-out Kimonos^000000,";
  2892. mes "^FF000030 Anolian Skins^000000, and";
  2893. mes "^FF000030 PecoPeco Feathers^000000.";
  2894. mes "I shall be waiting";
  2895. mes "for you right here.";
  2896. delitem 7250,1; //Soul_Of_Glory
  2897. set guildrelay_q,94;
  2898. close;
  2899. }
  2900. }
  2901. if ((countitem(7165) > 29) && (countitem(1021) > 29) && (countitem(1023) > 29) && (guildrelay_q == 23)) {
  2902. mes "[" + .@name$ + "]";
  2903. mes "Well, well. You've";
  2904. mes "gathered those items";
  2905. mes "more quickly that I thought";
  2906. mes "you would. Good job. Now,";
  2907. mes "please give this to your ^FF0000Guild";
  2908. mes "Master^000000 as soon as you can.";
  2909. delitem 7165,30; //Limpid_Celestial_Robe
  2910. delitem 1021,30; //Dokkaebi_Horn
  2911. delitem 1023,30; //Fish_Tail
  2912. set guildrelay_q,97;
  2913. getitem 7251,1; //Soul_Of_Victory
  2914. close;
  2915. }
  2916. if ((BaseJob == Job_Monk) && (guildrelay_q == 23)) {
  2917. mes "[" + .@name$ + "]";
  2918. mes "You have to give ^FF0000Transparent Celestial Robe ^00000030ea,";
  2919. mes "^FF0000Dokebi Horn ^00000030ea, ^FF0000Fish Tail ^00000030ea.";
  2920. mes "You know that, right?";
  2921. mes "Good luck~";
  2922. close;
  2923. }
  2924. if ((countitem(1048) > 29) && (countitem(1013) > 29) && (countitem(7200) > 29) && (guildrelay_q == 24)) {
  2925. mes "[" + .@name$ + "]";
  2926. mes "Well, well. You've";
  2927. mes "gathered those items";
  2928. mes "more quickly that I thought";
  2929. mes "you would. Good job. Now,";
  2930. mes "please give this to your ^FF0000Guild";
  2931. mes "Master^000000 as soon as you can.";
  2932. delitem 1048,30; //Slender_Snake
  2933. delitem 1013,30; //Colorful_Shell
  2934. delitem 7200,30; //Flexible_String
  2935. set guildrelay_q,97;
  2936. getitem 7251,1; //Soul_Of_Victory
  2937. close;
  2938. }
  2939. if ((BaseJob == Job_Monk) && (guildrelay_q == 24)) {
  2940. mes "[" + .@name$ + "]";
  2941. mes "Please bring";
  2942. mes "^FF000030 Rainbow Shells^000000,";
  2943. mes "^FF000030 Elastic Bands^000000, and";
  2944. mes "^FF000030 Horrendous Hairs^000000.";
  2945. mes "I shall be waiting";
  2946. mes "for you right here.";
  2947. close;
  2948. }
  2949. if ((countitem(7003) > 29) && (countitem(7101) > 29) && (countitem(7153) > 29) && (guildrelay_q == 94)) {
  2950. mes "[" + .@name$ + "]";
  2951. mes "Well, well. You've";
  2952. mes "gathered those items";
  2953. mes "more quickly that I thought";
  2954. mes "you would. Good job. Now,";
  2955. mes "please give this to your ^FF0000Guild";
  2956. mes "Master^000000 as soon as you can.";
  2957. delitem 7003,30; //Anolian_Skin
  2958. delitem 7101,30; //Peco_Wing_Feather
  2959. delitem 7153,30; //Old_Japaness_Clothes
  2960. set guildrelay_q,97;
  2961. getitem 7251,1; //Soul_Of_Victory
  2962. close;
  2963. }
  2964. if ((BaseJob == Job_Monk) && (guildrelay_q == 94)) {
  2965. mes "[" + .@name$ + "]";
  2966. mes "Please bring";
  2967. mes "^FF000030 Worn-out Kimonos^000000,";
  2968. mes "^FF000030 Anolian Skins^000000, and";
  2969. mes "^FF000030 PecoPeco Feathers^000000.";
  2970. mes "I shall be waiting";
  2971. mes "for you right here.";
  2972. close;
  2973. }
  2974. if ((guildrelay_q == 95) && (countitem(7247) > 0)) {
  2975. mes "[" + .@name$ + "]";
  2976. mes "Please give the";
  2977. mes "Spirit of Determination";
  2978. mes "to a ^FF0000Priest^000000 or ^FF0000High Priest^000000.";
  2979. mes "You knew that already,";
  2980. mes "didn't you? Please hurry";
  2981. mes "and deliver it soon.";
  2982. close;
  2983. }
  2984. if (guildrelay_q == 95) {
  2985. mes "[" + .@name$ + "]";
  2986. mes "For now, it would be";
  2987. mes "best for you to rest and";
  2988. mes "recoup your strength. Your";
  2989. mes "chance to help your guild";
  2990. mes "will come soon enough so";
  2991. mes "there's no need to rush.";
  2992. close;
  2993. }
  2994. if ((guildrelay_q == 98) && (countitem(7249) > 0)) {
  2995. mes "[" + .@name$ + "]";
  2996. mes "Please give the";
  2997. mes "Spirit of Service to";
  2998. mes "a ^FF0000Crusader^000000 or ^FF0000Paladin^000000.";
  2999. mes "You knew that already,";
  3000. mes "didn't you? Please hurry";
  3001. mes "and deliver it soon.";
  3002. close;
  3003. }
  3004. if (guildrelay_q == 98) {
  3005. mes "[" + .@name$ + "]";
  3006. mes "Hmm. You need to wait";
  3007. mes "for the right time to act.";
  3008. mes "Why don't you help out";
  3009. mes "your guild in the meantime?";
  3010. close;
  3011. }
  3012. if ((guildrelay_q == 96) && (countitem(7250) > 0)) {
  3013. mes "[" + .@name$ + "]";
  3014. mes "Please give the";
  3015. mes "Spirit of Glory to";
  3016. mes "a ^FF0000Monk^000000 or ^FF0000Champion^000000.";
  3017. mes "You knew that already,";
  3018. mes "didn't you? Please hurry";
  3019. mes "and deliver it soon.";
  3020. close;
  3021. }
  3022. if (guildrelay_q == 96) {
  3023. mes "[" + .@name$ + "]";
  3024. mes "I see that you have";
  3025. mes "the potential to become";
  3026. mes "a great leader. Be sure";
  3027. mes "not to waste it, and lead";
  3028. mes "your guild as well as you can.";
  3029. close;
  3030. }
  3031. if ((guildrelay_q == 97) && (countitem(7251) > 0)) {
  3032. mes "[" + .@name$ + "]";
  3033. mes "You need to give";
  3034. mes "the ^FF0000Spirit of Victory^000000";
  3035. mes "to your Guild Master.";
  3036. mes "Please make sure that";
  3037. mes "it gets delivered soon.";
  3038. close;
  3039. }
  3040. if (guildrelay_q == 97) {
  3041. mes "[" + .@name$ + "]";
  3042. mes "You're a nenown explorer,";
  3043. mes "and I see in you the potential";
  3044. mes "to accomplish even more";
  3045. mes "great things. However,";
  3046. mes "I doubt there is anything";
  3047. mes "more that you can do here.";
  3048. close;
  3049. }
  3050. mes "[" + .@name$ + "]";
  3051. mes "Hmm. You have no business";
  3052. mes "being here. Why don't you";
  3053. mes "find something productive";
  3054. mes "to do? There is nothing";
  3055. mes "for you here, I assure you.";
  3056. close;
  3057. }
  3058. }
  3059. else {
  3060. if (strcharinfo(0) == getguildmaster(.@GID)) {
  3061. mes "[" + .@name$ + "]";
  3062. mes "You might be the master";
  3063. mes "of a guild, but you and I";
  3064. mes "have nothing to do with";
  3065. mes "each other. I'm sorry.";
  3066. next;
  3067. mes "[" + .@name$ + "]";
  3068. mes "Then again, I suppose";
  3069. mes "you came here to see";
  3070. mes "how a real guild operates.";
  3071. mes "If that's the case, you're";
  3072. mes "welcome to stay and observe.";
  3073. close;
  3074. }
  3075. else {
  3076. mes "[" + .@name$ + "]";
  3077. mes ".........................";
  3078. next;
  3079. mes "[" + .@name$ + "]";
  3080. mes ".........................";
  3081. next;
  3082. mes "[" + .@name$ + "]";
  3083. mes "What brings you here?";
  3084. mes "I don't think I've seen";
  3085. mes "you around before. Hm.";
  3086. close;
  3087. }
  3088. }
  3089. }
  3090. // Luina 2
  3091. //============================================================
  3092. aldeg_cas02,120,51,5 duplicate(GuildRelay1) Buzz#02 754
  3093. aldeg_cas02,180,184,3 duplicate(GuildRelay2) Lenya#02 754
  3094. aldeg_cas02,62,65,3 duplicate(GuildRelay3) Gealuve#02 754
  3095. aldeg_cas02,62,201,3 duplicate(GuildRelay4) Pariz#02 754
  3096. // Luina 3
  3097. //============================================================
  3098. aldeg_cas03,70,252,5 duplicate(GuildRelay1) Buzz#03 754
  3099. aldeg_cas03,72,115,3 duplicate(GuildRelay2) Lenya#03 754
  3100. aldeg_cas03,114,119,3 duplicate(GuildRelay3) Gealuve#03 754
  3101. aldeg_cas03,188,181,3 duplicate(GuildRelay4) Pariz#03 754
  3102. // Luina 4
  3103. //============================================================
  3104. aldeg_cas04,31,116,5 duplicate(GuildRelay1) Buzz#04 754
  3105. aldeg_cas04,66,117,3 duplicate(GuildRelay2) Lenya#04 754
  3106. aldeg_cas04,24,80,3 duplicate(GuildRelay3) Gealuve#04 754
  3107. aldeg_cas04,181,97,3 duplicate(GuildRelay4) Pariz#04 754
  3108. // Luina 5
  3109. //============================================================
  3110. aldeg_cas05,31,191,5 duplicate(GuildRelay1) Buzz#05 754
  3111. aldeg_cas05,140,196,3 duplicate(GuildRelay2) Lenya#05 754
  3112. aldeg_cas05,148,224,3 duplicate(GuildRelay3) Gealuve#05 754
  3113. aldeg_cas05,165,51,3 duplicate(GuildRelay4) Pariz#05 754
  3114. // Britoniah 1
  3115. //============================================================
  3116. gefg_cas01,85,47,4 duplicate(GuildRelay1) Jody#01 754
  3117. gefg_cas01,67,83,3 duplicate(GuildRelay2) Ron Haware#01 754
  3118. gefg_cas01,184,40,3 duplicate(GuildRelay3) Vers#01 754
  3119. gefg_cas01,35,34,6 duplicate(GuildRelay4) Gen Garish#01 754
  3120. // Britoniah 2
  3121. //============================================================
  3122. gefg_cas02,15,69,4 duplicate(GuildRelay1) Jody#02 754
  3123. gefg_cas02,23,22,3 duplicate(GuildRelay2) Ron Haware#02 754
  3124. gefg_cas02,178,38,3 duplicate(GuildRelay3) Vers#02 754
  3125. gefg_cas02,18,159,5 duplicate(GuildRelay4) Gen Garish#02 754
  3126. // Britoniah 3
  3127. //============================================================
  3128. gefg_cas03,257,41,4 duplicate(GuildRelay1) Jody#03 754
  3129. gefg_cas03,110,91,3 duplicate(GuildRelay2) Ron Haware#03 754
  3130. gefg_cas03,158,57,3 duplicate(GuildRelay3) Vers#03 754
  3131. gefg_cas03,124,24,3 duplicate(GuildRelay4) Gen Garish#03 754
  3132. // Britoniah 4
  3133. //============================================================
  3134. gefg_cas04,26,73,4 duplicate(GuildRelay1) Jody#04 754
  3135. gefg_cas04,34,16,1 duplicate(GuildRelay2) Ron Haware#04 754
  3136. gefg_cas04,55,70,5 duplicate(GuildRelay3) Vers#04 754
  3137. gefg_cas04,73,38,6 duplicate(GuildRelay4) Gen Garish#04 754
  3138. // Britoniah 5
  3139. //============================================================
  3140. gefg_cas05,47,47,4 duplicate(GuildRelay1) Jody#05 754
  3141. gefg_cas05,65,28,3 duplicate(GuildRelay2) Ron Haware#05 754
  3142. gefg_cas05,87,31,3 duplicate(GuildRelay3) Vers#05 754
  3143. gefg_cas05,46,28,3 duplicate(GuildRelay4) Gen Garish#05 754
  3144. // Greenwood Lake 1
  3145. //============================================================
  3146. payg_cas01,87,35,3 duplicate(GuildRelay1) Chungye#01 106
  3147. payg_cas01,129,29,3 duplicate(GuildRelay2) Dosuhlji#01 754
  3148. payg_cas01,13,146,5 duplicate(GuildRelay3) Yayula#01 741
  3149. payg_cas01,91,49,3 duplicate(GuildRelay4) Ashin#01 59
  3150. // Greenwood Lake 2
  3151. //============================================================
  3152. payg_cas02,34,253,3 duplicate(GuildRelay1) Chungye#02 106
  3153. payg_cas02,77,229,3 duplicate(GuildRelay2) Dosuhlji#02 754
  3154. payg_cas02,252,287,3 duplicate(GuildRelay3) Yayula#02 741
  3155. payg_cas02,289,264,3 duplicate(GuildRelay4) Ashin#02 59
  3156. // Greenwood Lake 3
  3157. //============================================================
  3158. payg_cas03,48,265,3 duplicate(GuildRelay1) Chungye#03 106
  3159. payg_cas03,7,265,5 duplicate(GuildRelay2) Dosuhlji#03 754
  3160. payg_cas03,16,16,5 duplicate(GuildRelay3) Yayula#03 741
  3161. payg_cas03,10,266,3 duplicate(GuildRelay4) Ashin#03 59
  3162. // Greenwood Lake 4
  3163. //============================================================
  3164. payg_cas04,24,285,3 duplicate(GuildRelay1) Chungye#04 106
  3165. payg_cas04,21,16,3 duplicate(GuildRelay2) Dosuhlji#04 754
  3166. payg_cas04,69,270,3 duplicate(GuildRelay3) Yayula#04 741
  3167. payg_cas04,18,239,3 duplicate(GuildRelay4) Ashin#04 59
  3168. // Greenwood Lake 5
  3169. //============================================================
  3170. payg_cas05,277,271,3 duplicate(GuildRelay1) Chungye#05 106
  3171. payg_cas05,273,15,3 duplicate(GuildRelay2) Dosuhlji#05 754
  3172. payg_cas05,283,24,3 duplicate(GuildRelay3) Yayula#05 741
  3173. payg_cas05,276,287,3 duplicate(GuildRelay4) Ashin#05 59
  3174. // Valkyrie Realms 1
  3175. //============================================================
  3176. prtg_cas01,96,205,5 duplicate(GuildRelay1) Hermod#01 754
  3177. prtg_cas01,157,117,3 duplicate(GuildRelay2) Atila#01 728
  3178. prtg_cas01,149,78,3 duplicate(GuildRelay3) Cecil#01 92
  3179. prtg_cas01,125,191,3 duplicate(GuildRelay4) Diligo#01 754
  3180. // Valkyrie Realms 2
  3181. //============================================================
  3182. prtg_cas02,73,35,5 duplicate(GuildRelay1) Hermod#02 754
  3183. prtg_cas02,43,41,5 duplicate(GuildRelay2) Atila#02 728
  3184. prtg_cas02,52,63,3 duplicate(GuildRelay3) Cecil#02 92
  3185. prtg_cas02,100,62,3 duplicate(GuildRelay4) Diligo#02 754
  3186. // Valkyrie Realms 3
  3187. //============================================================
  3188. prtg_cas03,5,68,5 duplicate(GuildRelay1) Hermod#03 754
  3189. prtg_cas03,18,109,3 duplicate(GuildRelay2) Atila#03 728
  3190. prtg_cas03,71,81,5 duplicate(GuildRelay3) Cecil#03 92
  3191. prtg_cas03,183,215,3 duplicate(GuildRelay4) Diligo#03 754
  3192. // Valkyrie Realms 4
  3193. //============================================================
  3194. prtg_cas04,39,263,3 duplicate(GuildRelay1) Hermod#04 754
  3195. prtg_cas04,259,251,3 duplicate(GuildRelay2) Atila#04 728
  3196. prtg_cas04,6,281,5 duplicate(GuildRelay3) Cecil#04 92
  3197. prtg_cas04,59,282,5 duplicate(GuildRelay4) Diligo#04 754
  3198. // Valkyrie Realms 5
  3199. //============================================================
  3200. prtg_cas05,52,70,5 duplicate(GuildRelay1) Hermod#05 754
  3201. prtg_cas05,253,91,3 duplicate(GuildRelay2) Atila#05 728
  3202. prtg_cas05,276,93,3 duplicate(GuildRelay3) Cecil#05 92
  3203. prtg_cas05,211,36,3 duplicate(GuildRelay4) Diligo#05 754