guildrelay.txt 101 KB

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