guildrelay.txt 102 KB

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