kiel_hyre_quest.txt 205 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184
  1. //===== rAthena Script =======================================
  2. //= Kiel Hyre Quest
  3. //===== By: ==================================================
  4. //= L0ne_W0lf (Script), DZeroX (Timer)
  5. //===== Current Version: =====================================
  6. //= 4.7
  7. //===== Compatible With: =====================================
  8. //= rAthena Project
  9. //===== Description: =========================================
  10. //= Quest for opening Robot Factory first and second floors.
  11. //===== Additional Comments: =================================
  12. //= 4.0 A whole bunch-a-updates to various npcs. [L0ne_W0lf]
  13. //= Corrected condition checks throughout the quest.
  14. //= Npcs no longer make use of the goto command.
  15. //= Uses temp npc vars now instead of temp char.
  16. //= Reduced the amount of variables used.
  17. //= Corrected some of the cutins in npcs with them.
  18. //= Added the missing dialogs and weight checks.
  19. //= Fixed many typos, and grammatical errors.
  20. //= NPC now names use '#<name>' instead of labels.
  21. //= Updated some NPC positions, and facings.
  22. //= Changed the way some NPCs work.
  23. //= Updated comments for get/delitem commands.
  24. //= 4.1 Added an 'end;' to Kiel Hyre's dialog for the "Yes" option for if you want to confront Kiehl.
  25. //= 4.2 Fixed some issues reported in bugreport:2129. [L0ne_W0lf]
  26. //= 4.2a Follow up to last update. [L0ne_W0lf]
  27. //= 4.2b Missed a condition, fixed it though. [L0ne_W0lf]
  28. //= 4.2c More various fixes :D [L0ne_W0lf]
  29. //= 4.3 Fixed improper condition in the Elly NPC. [L0ne_W0lf]
  30. //= Corrected some typos in the dialogs.
  31. //= 4.4 Updated reviecer and robots NPC to use mobcount. (bugreport:2380) [L0ne_W0lf]
  32. //= 4.5 Removed a delitem that was no logner needed. [L0en_W0lf]
  33. //= 4.6 Fixed impossible condition for security guard. [L0ne_W0lf]
  34. //= 4.7 Updated RE/Pre-RE EXP. [Euphy]
  35. //============================================================
  36. //============================================================================
  37. // Kiel Hyre Quest/Robotic Lab Dungeon
  38. //
  39. // Script Dialog Obtained and Copied Down by L0ne_W0lf
  40. // Timer work and some variable dances by DZeroX
  41. // Based on [iRO Sakray] as of [03/29/2007]
  42. //============================================================================
  43. //----------------------------------------------------------------------------
  44. // [Notes]
  45. // - Let it be noted that ALL DIALOG IS OFFICIAL TO IRO UNLESS SPECIFIED.
  46. // - I've fixed a few of iRO's mistakes, but I'm sure I made some of my own.
  47. // - Will probably require a major optimizing.
  48. // - Not going to list ALL of the more usless NPCs. (Doors + Empty "Beautiful Ladies")
  49. // - Parties are *NOT REQUIRED* as per Doddler's Wiki information.
  50. //
  51. //----------------------------------------------------------------------------
  52. // [Maps] [Use]
  53. // yuno_in01 ........... Start quest in pub
  54. // kh_school ........... Deliver Wine here, Meet Elly
  55. // yuno ................ Get Delivery for/from "Little Kid"
  56. // lighthalzen ......... Get Delivery package for "Little Kid"
  57. // kh_vila ............. Kiel Hyre cottage.
  58. // kh_dun01 ............ Robot Factory; Save Kiel Hyre
  59. // kh_mansion .......... Kiel Hyre's Mansion in Lighthalzen
  60. // kh_kiehl01 .......... Kiehl's room/Cave
  61. // kh_kiehl02 .......... Kiehl's room/Boss Room
  62. //
  63. //----------------------------------------------------------------------------
  64. // [Variables in Use]
  65. // KielHyreQuest - Main quest tracking variable (Quest finished at 106)
  66. //
  67. // KHToastGirlEnd - Pick up delivery if set to 1,
  68. // - picked up delivery if set to 2
  69. // - finished if set to 3
  70. // - Deleted once no longer needed.
  71. //
  72. // KHCottagePoem1 - Tracks Poem 1 quest in cottage. (finished = 5)
  73. // - Deleted once no longer needed.
  74. //
  75. // KHCottagePoem2 - Tracks Poem 2 quest in cottage. (finished = 3)
  76. // - Deleted once no longer needed.
  77. //
  78. // .@KHInput$ - Used with "Security Guard"
  79. // - Used with "Test Tube"
  80. // - Used when "Elly" (inputing string in attempt to wake her)
  81. // - Used with "Grave", (twice)
  82. // - Used with "Heavy Door"
  83. // - Used with "Mechanical Device"
  84. // - Used for opening various doors in Kiehl's area.
  85. //
  86. // .@KHFirstKeyhole - Holds 1 (green keycard) or 2 (cottage key)
  87. // .@KHSecondKeyhole - Holds 1 (green keycard) or 2 (cottage key)
  88. //
  89. // .@KHPotionColor$ - Holds 'red', 'green', or 'yellow' depending on what wrong potion is selected.
  90. //
  91. // .@KHSwords - Used with "Sword Hilt"
  92. //
  93. // .@KHQRead - Make sure player has asked questions to Kiel Hyre
  94. //
  95. // .@KHTitle$ - Holds "Mr", "Mrs", or "Miss"
  96. //
  97. // .@KHDoorPushAttempt - Keeps track of how many times a person has attmepted to push the door open.
  98. //
  99. // .@KHPryingItem$ - Used for incorrect options when prying open last door.
  100. //
  101. // .KHKilled - Tracks how many monsters have been killed. Used with "Receiver", "Robots", and "Kiehl" NPCs
  102. //
  103. // .KHDoor1Open - 0/1 Depending on if the first door is opened.
  104. // .KHDoor2Open - 0/1 Depending on if the second door is opened.
  105. // .KHDoor3Open - 0/1 Depending on if the third door is opened.
  106. // .KHDoor4Open - 0/1 Depending on if the fourth door is opened.
  107. // .KHDoor5Open - 0/1 Depending on if the fifth door is opened.
  108. //
  109. // .KHKilledBoss - 0/1 depending on if the boss has been killed.
  110. //
  111. // $@KHQuestBusy - 0/1 depending on if the boss room has been set in motion.
  112. //
  113. //----------------------------------------------------------------------------
  114. // [NPCs] [Location]
  115. // Pub Master .................. yuno_in01 [ 35,178]
  116. // Hanie ....................... yuno_fild08 [196,196]
  117. // Security Guard .............. yuno_fild08 [158,194]
  118. // Security Guard .............. yuno_fild08 [158,183]
  119. // Student ..................... kh_school [ 57,142]
  120. // Student ..................... kh_school [ 57,139]
  121. // Lady ........................ kh_school [176, 60]
  122. // Cute Student ................ kh_school [179, 39]
  123. // Little Kid .................. yuno [217,114]
  124. // Windmill Owner .............. lighthalzen [365,300]
  125. // Cottage Keeper .............. yuno_fild02 [ 93,210]
  126. // Door ........................ yuno_fild02 [ 75,218]
  127. // Door ........................ yuno_fild02 [109,218]
  128. // Wall ........................ kh_vila [191, 14]
  129. // Book ........................ kh_vila [184, 20]
  130. // Book ........................ kh_vila [181, 20]
  131. // Book ........................ kh_vila [178, 20]
  132. // Book ........................ kh_vila [175, 19]
  133. // Letter ...................... kh_vila [179, 11]
  134. // Box ......................... kh_vila [ 16,175]
  135. // Apple Box ................... kh_vila [ 30,184]
  136. // Map ......................... kh_vila [ 44,125]
  137. // Pot ......................... kh_vila [ 33,148]
  138. // Calabash .................... kh_vila [ 14, 55]
  139. // Pool ........................ kh_vila [ 39, 39]
  140. // Vicious Dog ................. kh_vila [180,178]
  141. // Drawer ...................... kh_vila [115,186]
  142. // Box ......................... kh_vila [107,126]
  143. // Bookshelf ................... kh_vila [181,138]
  144. // Sword Hilt .................. kh_vila [136, 69]
  145. // Test Tube ................... kh_vila [179, 69]
  146. // Test Tube ................... kh_vila [185, 69]
  147. // Window ...................... yuno_fild08 [ 69,185]
  148. // Elly ........................ kh_school [178,180]
  149. // Cookie Basket ............... kh_school [175,175]
  150. // Window ...................... kh_school [188,185]
  151. // Grave ....................... yuno_fild08 [ 72,170]
  152. // Heavy Door .................. kh_dun01 [236, 48]
  153. // Beautiful lady .............. kh_school [119,149]
  154. // Beautiful lady .............. kh_school [122,186]
  155. // Signboard ................... kh_dun01 [163,223]
  156. // Mechanical Device ........... kh_dun01 [166,223]
  157. // Mechanical Device ........... kh_dun01 [162,206]
  158. // Kiel_Hyre_Door .............. kh_dun01 [224,232]
  159. // Steward ..................... kh_mansion [ 78, 55]
  160. // Kiel Hyre ................... kh_mansion [ 22, 27]
  161. // Allysia ..................... kh_mansion [ 22, 27]
  162. // Abduction_trigger ........... lighthalzen [188,200]
  163. // Mysterious Woman ............ kh_mansion [ 25, 79]
  164. // Odd Granma .................. yuno [250,132]
  165. // Old Lady .................... yuno [250,132]
  166. // Rosimmir_Entrance ........... yuno [273,141]
  167. // Table ....................... kh_rossi [ 23, 23]
  168. // Shelf ....................... kh_rossi [ 92, 40]
  169. // Desk ........................ kh_rossi [144,146]
  170. // Bookshelf ................... kh_rossi [144,146]
  171. // Bed ......................... kh_rossi [154,286]
  172. // Old Fisherman ............... yuno_fild12 [232,222]
  173. // Wooden Board ................ yuno_fild09 [158,217]
  174. // Kiehl_Room_Warp ............. kh_mansion [ 29, 27]
  175. // Entrance Device#KHEntry1 .... kh_dun01 [ 44, 20]
  176. // Entrance Device#KHEntry2 .... kh_dun01 [ 44,203]
  177. // Security Guard .............. yuno_fild08 [158,194]
  178. // Receiver .................... kh_kiehl01 [ 17, 39]
  179. // Flower Vase ................. kh_kiehl01 [ 13, 40]
  180. // Box ......................... kh_kiehl01 [ 19, 25]
  181. // Big Door .................... kh_kiehl01 [ 44, 33]
  182. // Big_Door_1_Warp ............. kh_kiehl01 [ 43, 33]
  183. // Big Door .................... kh_kiehl01 [174, 40]
  184. // Big_Door_2_Warp ............. kh_kiehl01 [174, 39]
  185. // Big Door .................... kh_kiehl01 [ 77,108]
  186. // Big_Door_3_Warp ............. kh_kiehl01 [ 68,108]
  187. // Big Door .................... kh_kiehl01 [ 41,177]
  188. // Big_Door_4_Warp ............. kh_kiehl01 [ 78,177]
  189. // Robots ...................... kh_kiehl01 [ 15,181]
  190. // Big Door .................... kh_kiehl01 [166,187]
  191. // Big_Door_5_Warp ............. kh_kiehl01 [166,186]
  192. // Kiehl_Room_Trap ............. kh_kiehl02 [ 49, 15]
  193. // Kiehl#Original .............. kh_kiehl02 [ 50, 52]
  194. // KiehlRoom ................... kh_kiehl02 [ 1, 1]
  195. // Mitchell#KiehlRoom .......... kh_kiehl02 [ 49, 55]
  196. // Agent#KHAgent1 .... ....... kh_kiehl02 [ 53, 52]
  197. // Agent#KHAgent2 .............. kh_kiehl02 [ 51, 49]
  198. // Agent#KHAgent3 .............. kh_kiehl02 [ 47, 50]
  199. // Agent#KHAgent4 .............. kh_kiehl02 [ 46, 53]
  200. // Kiehl#Copy .................. kh_kiehl02 [ 48, 53]
  201. // Kiehl_Roomn_Exit ............ kh_kiehl01 [ 50, 59]
  202. //
  203. //----------------------------------------------------------------------------
  204. // [Functions]
  205. // None
  206. //
  207. //----------------------------------------------------------------------------
  208. // [Conflicts]
  209. // Resolved
  210. //
  211. //============================================================================
  212. //============================================================================
  213. // Affiliated NPCs
  214. //============================================================================
  215. //----------------------------------------------------------------------------
  216. // Juno Pub Master/Starting point.
  217. //----------------------------------------------------------------------------
  218. yuno_in01,35,179,4 script Pub Master#kh 46,5,5,{
  219. if (checkweight(7487,1) == 0) {
  220. mes "[Vandt]";
  221. mes "Just a second! You're";
  222. mes "carrying too many items";
  223. mes "right now. You'd better";
  224. mes "put your stuff in Kafra";
  225. mes "Storage or you won't be";
  226. mes "able to pick up anything new...";
  227. close;
  228. }
  229. if (KielHyreQuest == 0) {
  230. mes "[Vandt]";
  231. mes "Hi there, welcome";
  232. mes "to my pub. So what";
  233. mes "would you like to have?";
  234. next;
  235. switch(select("Beer, please.","A cocktail, please.","Soju, please.","Maybe later.")) {
  236. case 1:
  237. mes "[Vandt]";
  238. mes "Alright, let me get";
  239. mes "you a glass of beer on";
  240. mes "tap. There you are, this";
  241. mes "is out special Schwaltz Beer.";
  242. next;
  243. mes "^3355FF*Gulp gulp gulp*^000000";
  244. percentheal 5,-5;
  245. next;
  246. mes "["+strcharinfo(0)+"]";
  247. mes "Ahhh, it's really";
  248. mes "good! That really";
  249. mes "hits the spot!";
  250. close;
  251. case 2:
  252. mes "[Vandt]";
  253. mes "I'm sorry, but I have to";
  254. mes "deliver all of our cocktail";
  255. mes "ingredients to other customers.";
  256. mes "Maybe I'll have enough to make";
  257. mes "you something next time, okay?";
  258. close;
  259. case 3:
  260. mes "[Vandt]";
  261. mes "S-soju? I'm sorry,";
  262. mes "but we don't serve that";
  263. mes "here. It's too much of";
  264. mes "a tough guy drink for me...";
  265. close;
  266. case 4:
  267. mes "[Vandt]";
  268. mes "Sure, just take";
  269. mes "your time, relax,";
  270. mes "and order something";
  271. mes "when you're ready.";
  272. close;
  273. }
  274. }
  275. if (KielHyreQuest == 1) {
  276. mes "[Vandt]";
  277. mes "Hi there, welcome";
  278. mes "to my pub. So what";
  279. mes "would you like to have?";
  280. next;
  281. switch(select("Beer, please:A cocktail, please:Soju, please.:You look worried, what's up?:Cancel")) {
  282. case 1:
  283. mes "[Vandt]";
  284. mes "Alright, let me get";
  285. mes "you a glass of beer on";
  286. mes "tap. There you are, this";
  287. mes "is out special Schwaltz Beer.";
  288. next;
  289. mes "^3355FF*Gulp gulp gulp*^000000";
  290. percentheal 5,-5;
  291. next;
  292. mes "["+strcharinfo(0)+"]";
  293. mes "Ahhh, it's really";
  294. mes "good! That really";
  295. mes "hits the spot!";
  296. close;
  297. case 2:
  298. mes "[Vandt]";
  299. mes "I'm sorry, but I have to";
  300. mes "deliver all of our cocktail";
  301. mes "ingredients to other customers.";
  302. mes "Maybe I'll have enough to make";
  303. mes "you something next time, okay?";
  304. close;
  305. case 3:
  306. mes "[Vandt]";
  307. mes "S-soju? I'm sorry,";
  308. mes "but we don't serve that";
  309. mes "here. It's too much of";
  310. mes "a tough guy drink for me...";
  311. close;
  312. case 4:
  313. mes "[Vandt]";
  314. mes "Oh, did you overhear?";
  315. mes "I'm sorry, it's just that one";
  316. mes "of my employees had an";
  317. mes "accident and was pretty hurt,";
  318. mes "so I have nodoby that can";
  319. mes "deliver this merchandise.";
  320. next;
  321. mes "[Vandt]";
  322. mes "I have an urgent order";
  323. mes "that I need to send to";
  324. mes "the Kiel Hyre Academy,";
  325. mes "but I can't find anyone";
  326. mes "that's available for this";
  327. mes "kind of temporary job.";
  328. next;
  329. switch(select("I'm sorry to hear that:Do you want me to help you?")) {
  330. case 1:
  331. mes "[Vandt]";
  332. mes "Well, I'm sure that I'll";
  333. mes "figure something out.";
  334. mes "Do you know anyone";
  335. mes "that'd be interested in";
  336. mes "some part time work?";
  337. close;
  338. case 2:
  339. mes "[Vandt]";
  340. mes "Really? That's great!";
  341. mes "But first, I think it's fair to";
  342. mes "tell you that this job may not";
  343. mes "be as simple as you'd think.";
  344. mes "I expect you to complete the";
  345. mes "delivery, no matter what.";
  346. next;
  347. switch(select("Sure I'll do it:Wait, let me think about it...")) {
  348. case 1:
  349. mes "[Vandt]";
  350. mes "I'm glad to hear that.";
  351. mes "Well then, please take this";
  352. mes "bottle of Culinary Wine to";
  353. mes "Mrs. ^ff0000Lecollane^000000 in the Kiel";
  354. mes "Hyre Academy. I'll pay you";
  355. mes "once you finish the job, okay?";
  356. getitem 7487,1; //Tavern_Wine
  357. set KielHyreQuest,2;
  358. close;
  359. case 2:
  360. mes "[Vandt]";
  361. mes "Sure thing. I really need";
  362. mes "to get this done, so if you";
  363. mes "can't do it, but know any";
  364. mes "capable, responsible";
  365. mes "people that can, then please";
  366. mes "tell them about my situation.";
  367. close;
  368. }
  369. }
  370. case 5:
  371. mes "[Vandt]";
  372. mes "Sure, just take";
  373. mes "your time, relax,";
  374. mes "and order something";
  375. mes "when you're ready.";
  376. close;
  377. }
  378. }
  379. else if ((KielHyreQuest >= 2) && (KielHyreQuest < 6)) {
  380. mes "[Vandt]";
  381. mes "Please deliver that bottle";
  382. mes "of Wine I gave you to Mrs.";
  383. mes "Mrs. ^ff0000Lecollane^000000, who should be";
  384. mes "inside the Kiel Hyre Academy.";
  385. mes "Hurry and get it to her before she";
  386. mes "can complain about the delivery.";
  387. close;
  388. }
  389. else if (KielHyreQuest == 6) {
  390. if (countitem(7487) == 0) {
  391. mes "[Vandt]";
  392. mes "Oh, you're back.";
  393. mes "Thanks for making that";
  394. mes "delivery. Just give me";
  395. mes "a moment, and then I can";
  396. mes "pay you in zeny, okay?";
  397. next;
  398. select("I need more wine...");
  399. mes "[Vandt]";
  400. mes "Oh, you need to deliver";
  401. mes "another bottle? Alright,";
  402. mes "let me look around, and";
  403. mes "I'll give you the wine";
  404. mes "and your payment.";
  405. next;
  406. mes "^3355FFRummage Rummage^000000";
  407. mes "^3355FFRummage Rummage^000000";
  408. next;
  409. mes "[Vandt]";
  410. mes "There you go!";
  411. mes "Thank you so much";
  412. mes "for helping me out~";
  413. getitem 7487,1; //Tavern_Wine
  414. set Zeny, Zeny+1000;
  415. close;
  416. }
  417. else {
  418. mes "[Vandt]";
  419. mes "Hey, thanks a lot";
  420. mes "for helping me out that";
  421. mes "last time. I knew I asked";
  422. mes "you out of the blue, but";
  423. mes "you ended up being a life";
  424. mes "saver! I really appreciate it!";
  425. close;
  426. }
  427. }
  428. else {
  429. mes "[Vandt]";
  430. mes "You're a really good";
  431. mes "worker, you know that?";
  432. mes "Dependable, responsible,";
  433. mes "willing to help others, and";
  434. mes "proactive too! I think you'll";
  435. mes "go far in life, kid, I really do~";
  436. close;
  437. }
  438. OnTouch:
  439. if (KielHyreQuest < 1) {
  440. mes "[Vandt]";
  441. mes "Arrrggghhh...";
  442. mes "This can't be good...";
  443. mes "This isn't good at all!";
  444. mes "What am I suposed to do?";
  445. set KielHyreQuest,1;
  446. close;
  447. }
  448. }
  449. //----------------------------------------------------------------------------
  450. // Juno Toast Sales Girl.
  451. //----------------------------------------------------------------------------
  452. yuno,217,114,6 script Little Kid#kh 96,{
  453. mes "[Cezu]";
  454. if (KielHyreQuest < 6) {
  455. mes "Fresh, crunchy toast!";
  456. mes "If you want some, come";
  457. mes "and get some tooooast~";
  458. close;
  459. }
  460. else if (KielHyreQuest == 6) {
  461. if (KHToastGirlEnd < 1) {
  462. mes "Fresh, crunchy toast!";
  463. mes "If you want some, come";
  464. mes "and get some tooooast~";
  465. mes "Oh! Hi hi~ Did you want";
  466. mes "to buy some yummy toast?";
  467. next;
  468. switch(select("I'm here for Elly:No, thanks")) {
  469. case 1:
  470. mes "[Cezu]";
  471. mes "Oh, I see. Elly must have";
  472. mes "wasted another batch of";
  473. mes "ingredients again. Well,";
  474. mes "she's a regular customer,";
  475. mes "so I really want to help, but";
  476. mes "I can't really do anything.";
  477. next;
  478. mes "[Cezu]";
  479. mes "You see, I just ran";
  480. mes "out of ingredients too!";
  481. mes "But I can't really leave";
  482. mes "to get some more. What if";
  483. mes "people need to buy toast?";
  484. mes "Listen, can you help me out?";
  485. next;
  486. mes "[Cezu]";
  487. mes "Would you please go get";
  488. mes "some flour and eggs for me";
  489. mes "from the ^3355FFLighthalzen Windmill^000000";
  490. mes "Then, when you come back, I can";
  491. mes "divide the ingredients, and you";
  492. mes "can deliver some to Elly.";
  493. next;
  494. mes "[Cezu]";
  495. mes "I know that I'm basically";
  496. mes "making you do everything";
  497. mes "on your own, but please try";
  498. mes "to understand that my hands";
  499. mes "are tied. D-don't ask me";
  500. mes "why, they just are!";
  501. set KHToastGirlEnd,1;
  502. close;
  503. case 2:
  504. mes "[Cezu]";
  505. mes "Okay okay~";
  506. mes "Please come again!";
  507. close;
  508. }
  509. }
  510. else if (KHToastGirlEnd == 1) {
  511. mes "Would you please go to";
  512. mes "the Lighthalzen Windmill";
  513. mes "and tell them that Cezu needs";
  514. mes "lots of flour and lots of eggs!";
  515. mes "Then, bring all the stuff over";
  516. mes "to me as soon as you can~";
  517. close;
  518. }
  519. else if (KHToastGirlEnd == 2) {
  520. mes "Hey, you're back with the";
  521. mes "ingredients! Thank you so";
  522. mes "much, I really needed these!";
  523. mes "Now please give this flour";
  524. mes "and these eggs to Elly, and";
  525. mes "send her my regards. See you~";
  526. delitem 7488,1; //Delivery_Package
  527. getitem 7488,1; //Delivery_Package
  528. set KHToastGirlEnd,3;
  529. close;
  530. }
  531. }
  532. //KHToastGirlEnd no longer needed-- deleting.
  533. if (KielHyreQuest > 6) set KHToastGirlEnd,0;
  534. mes "Hot, fresh and";
  535. mes "cruuuunchy toast!";
  536. mes "Come and get some!";
  537. close;
  538. }
  539. //----------------------------------------------------------------------------
  540. // Lighthalzen WindMill Owner.
  541. //----------------------------------------------------------------------------
  542. lighthalzen,366,299,4 script Windmill Owner#kh 46,{
  543. if (checkweight(7488,1) == 0) {
  544. mes "[Mills]";
  545. mes "Hey, you've got too much";
  546. mes "stuff on you right now. ";
  547. mes "Put your junk in Kafra Storage";
  548. mes "if you expect me to give you";
  549. mes "anything. That's why you came";
  550. mes "here to the miss, didn't you?";
  551. close;
  552. }
  553. if (KHToastGirlEnd < 1) {
  554. mes "[Mills]";
  555. mes "Hey, whaddya want?";
  556. mes "I'm pretty busy right";
  557. mes "now, so you mind coming";
  558. mes "back later? Then we'll talk.";
  559. close;
  560. }
  561. else if (KHToastGirlEnd == 1) {
  562. mes "[Mills]";
  563. mes "Hey, whaddya want?";
  564. mes "You just happened to";
  565. mes "catch me at a good time,";
  566. mes "but if you need anything,";
  567. mes "you'd better spit it out quick";
  568. mes "before things get hectic again.";
  569. next;
  570. switch(select("I'm here for Cezu:......")) {
  571. case 1:
  572. mes "[Mills]";
  573. mes "Oh, Cezu from the";
  574. mes "toast stand? Okay,";
  575. mes "I've got everything";
  576. mes "that kid needs right";
  577. mes "here. There's eggs inside,";
  578. mes "so be really careful with it.";
  579. mes "It's ready for you...";
  580. next;
  581. mes "[Mills]";
  582. mes "Kid's one of my regular";
  583. mes "customers, so you don't";
  584. mes "have to pay me, or run any";
  585. mes "extra errands on my end. Yeah,";
  586. mes "I know how other people treat";
  587. mes "you adventurers. Well, see ya.";
  588. getitem 7488,1; //Delivery_Package
  589. set KHToastGirlEnd,2;
  590. close;
  591. case 2:
  592. mes "[Mills]";
  593. mes "......";
  594. mes "Um, okay, well, if";
  595. mes "you need something,";
  596. mes "just hollar, I guess.";
  597. mes "Cuts, Cutz where are you?";
  598. mes "You'd better not be goofing off!";
  599. close;
  600. }
  601. }
  602. else if (KHToastGirlEnd >= 2) {
  603. mes "[Mills]";
  604. mes "That Cutz is such";
  605. mes "a lazy rascal. The guy";
  606. mes "thinks he can fool around";
  607. mes "when he's on the clock...!";
  608. mes "Ah well, he knows I can't find";
  609. mes "a better assistant. He'll learn...";
  610. close;
  611. }
  612. }
  613. lighthalzen,366,289,2 script Windmill Owner's Helper 97,{
  614. if (KHToastGirlEnd < 1) {
  615. mes "[Cutz]";
  616. mes "Man, why are we";
  617. mes "always so busy?";
  618. mes "Why does Mills have";
  619. mes "to work me to the bone?";
  620. mes "Eh, it's a living, I suppose...";
  621. close;
  622. }
  623. else if (KHToastGirlEnd >= 2) {
  624. mes "[Cutz]";
  625. mes "Wh-what makes you";
  626. mes "think I'm goofing off,";
  627. mes "Mills? L-look, look,";
  628. mes "my hands are moving,";
  629. mes "I'm busy, I'm working!";
  630. close;
  631. }
  632. else {
  633. mes "[Cutz]";
  634. mes "Hey, you're from";
  635. mes "Cezu's toast stand,";
  636. mes "right? How is cute";
  637. mes "little Cezu doing?";
  638. close;
  639. }
  640. }
  641. //============================================================================
  642. //Kiel Hyre Academy NPCs
  643. //============================================================================
  644. //----------------------------------------------------------------------------
  645. // Girl (Talks about the academy)
  646. //----------------------------------------------------------------------------
  647. yuno_fild08,196,196,5 script Hanie#kh1 102,{
  648. mes "[Hanie]";
  649. mes "Oh, I wish I could study";
  650. mes "at the Kiel Hyre Academy...";
  651. mes "All of the graduates get";
  652. mes "really nice jobs! I'm almost";
  653. mes "jealous of the students!";
  654. next;
  655. select("Kiel Hyre Academy?");
  656. mes "[Hanie]";
  657. mes "Oh, the Kiel Hyre Academy";
  658. mes "is a school founded by Kiel";
  659. mes "Hyre, an inventor that became";
  660. mes "rich from his strange machines.";
  661. mes "He decided to give back to society";
  662. mes "by building this private academy.";
  663. next;
  664. mes "[Hanie]";
  665. mes "However, the school will";
  666. mes "only accept orphans that are";
  667. mes "too poor to enroll in any other";
  668. mes "schools. Sometimes, it makes";
  669. mes "me wish that I was an orphan too!";
  670. mes "Well, not really, but you know...";
  671. close;
  672. }
  673. //----------------------------------------------------------------------------
  674. // Academy Security Guards
  675. //----------------------------------------------------------------------------
  676. yuno_fild08,158,194,6 script Security Guard#1::KHAGuard 852,{
  677. if ((KielHyreQuest < 2) || (KielHyreQuest > 31)) {
  678. mes "[Security Guard]";
  679. mes "I'm sorry, but if you aren't";
  680. mes "associated with this institution,";
  681. mes "then you're not authorized to";
  682. mes "enter the ^FF0000Kiel Hyre Academy^000000.";
  683. mes "Please leave if you don't have";
  684. mes "an appointment with the staff.";
  685. close;
  686. }
  687. else if (KielHyreQuest == 2) {
  688. mes "[Security Guard]";
  689. mes "I'm sorry, but if you aren't";
  690. mes "associated with this institution,";
  691. mes "then you're not authorized to";
  692. mes "enter the ^FF0000Kiel Hyre Academy^000000.";
  693. mes "Please leave if you don't have";
  694. mes "an appointment with the staff.";
  695. next;
  696. switch(select("I'm here for a delivery.:......")) {
  697. case 1:
  698. mes "[Security Guard]";
  699. mes "You're here to deliver";
  700. mes "something? Okay, just give";
  701. mes "me the recipient's ^FF0000name^000000,";
  702. mes "followed by the ^FF0000item^000000 being";
  703. mes "delivered, and I'll verify it";
  704. mes "before letting you inside.";
  705. next;
  706. input .@KHDelivery$;
  707. if (.@KHDelivery$ != "Lecollane") {
  708. mes "[Security Guard]";
  709. mes "You're here to deliver some";
  710. mes "Wine to...to who? What was";
  711. mes "the name? I...I don't think";
  712. mes "we have anybody in the";
  713. mes "academy named "+.@KHDelivery$+"";
  714. close;
  715. }
  716. input .@KHDelivery$ ;
  717. if (.@KHDelivery$ != "Culinary Wine") {
  718. mes "[Security Guard]";
  719. mes "So you're here to make";
  720. mes "a delivery to Mrs. Lecollane?";
  721. mes "What is it you've brought for";
  722. mes "her? Some ^3355FF"+.@KHDelivery$+"^000000?";
  723. next;
  724. mes "[Security Guard]";
  725. mes "Let me buzz her first,";
  726. mes "and check to make sure";
  727. mes "that she's been expecting";
  728. mes "you. Let's see now...";
  729. next;
  730. mes "......";
  731. mes ".........";
  732. mes "............";
  733. next;
  734. mes "[Security Guard]";
  735. mes "Huh. Mrs Lecollane";
  736. mes "is expecting a delivery,";
  737. mes "but not the item that you";
  738. mes "say that you've brought for";
  739. mes "her. You might want to check";
  740. mes "to see if there's been a mixup...";
  741. close;
  742. }
  743. mes "[Security Guard]";
  744. mes "Alright....";
  745. mes "So you're here to";
  746. mes "deliver a bottle of";
  747. mes "Wine to Mrs. Lecollane?";
  748. mes "Let me buzz her, and get";
  749. mes "this confirmed real quickly.";
  750. next;
  751. mes "......";
  752. mes ".........";
  753. mes "............";
  754. next;
  755. mes "[Security Guard]";
  756. mes "Okay, everything looks";
  757. mes "good. Mrs. Lecollane";
  758. mes "has been expecting you.";
  759. mes "I guess you can enter.";
  760. close2;
  761. warp "kh_school",71,155;
  762. end;
  763. case 2:
  764. mes "[Security Guard]";
  765. mes "If you don't have";
  766. mes "an appoointment, then";
  767. mes "don't loiter around in";
  768. mes "front of the academy!";
  769. close;
  770. }
  771. }
  772. else if (KielHyreQuest < 32) {
  773. mes "[Security Guard]";
  774. mes "Oh, did you have";
  775. mes "other business inside";
  776. mes "the academy? I remember";
  777. mes "you from before, so there";
  778. mes "shouldn't be any problems";
  779. mes "letting you back inside...";
  780. close2;
  781. warp "kh_school",71,155;
  782. end;
  783. }
  784. }
  785. yuno_fild08,158,183,7 duplicate(KHAGuard) Security Guard#2 852
  786. //----------------------------------------------------------------------------
  787. // Gossiping Teenagers/Story NPCs
  788. //----------------------------------------------------------------------------
  789. kh_school,57,142,6 script Student#kha 893,3,3,{
  790. mes "[Laci]";
  791. mes "Oh, wow! We usually";
  792. mes "don't get visitors on";
  793. mes "campus! Um, you're not";
  794. mes "a new faculty member, are you?";
  795. close;
  796. OnTouch_:
  797. mes "[Laci]";
  798. mes "Hey, Nesha...!";
  799. mes "have you heard why";
  800. mes "Aaci hasn't been coming";
  801. mes "to class for awhile?";
  802. next;
  803. mes "[Gui Nesha]";
  804. mes "That's right, I haven't";
  805. mes "seen Aaci in awhile.";
  806. mes "Did something happen?";
  807. next;
  808. mes "[Laci]";
  809. mes "It's because....";
  810. mes "Aaci saw a freakin' ghost!";
  811. mes "It's one hundred percent";
  812. mes "true! I heard about it from,";
  813. mes "well, you know, my sources.";
  814. next;
  815. mes "[Gui Nesha]";
  816. mes "...Wha...?";
  817. mes "Oh, come on,";
  818. mes "get outta town.";
  819. close;
  820. }
  821. kh_school,57,139,0 script Student#khb 893,{
  822. mes "[Gui Nesha]";
  823. mes "Aren't we a little";
  824. mes "old to be talking about";
  825. mes "this kind of stuff? You";
  826. mes "know, rumors and ghost";
  827. mes "stories that make no sense?";
  828. mes "C'mon, Laci, knock it off!";
  829. emotion ET_PROFUSELY_SWEAT;
  830. close;
  831. }
  832. //----------------------------------------------------------------------------
  833. // Mrs. Lecollane
  834. //----------------------------------------------------------------------------
  835. kh_school,176,60,4 script Lady#kh 101,{
  836. if (KielHyreQuest < 2) {
  837. mes "[Mrs. Lecollane]";
  838. mes "Is there a problem?";
  839. mes "Outsiders are not allowed to come";
  840. mes "in here, please leave.";
  841. close;
  842. }
  843. else if (KielHyreQuest == 2) {
  844. mes "[Mrs. Lecollane]";
  845. mes "Oh, hello. Ah!";
  846. mes "have you come to";
  847. mes "deliver my wine? The";
  848. mes "security guard called and";
  849. mes "mentioned you were coming.";
  850. next;
  851. switch(select("Yes, that's right!:Er, s-sorry!")) {
  852. case 1:
  853. mes "[Mrs. Lecollane]";
  854. mes "Well, you've come a little";
  855. mes "later than I thought, but";
  856. mes "I suppose it can't be helped.";
  857. mes "I guess the waiting has just";
  858. mes "heightened my anticipation";
  859. mes "for this bottle of wi--";
  860. next;
  861. mes "^3355FF*Cling! Crrrack!*^000000";
  862. next;
  863. mes "[Mrs. Lecollane]";
  864. mes "Elly? Elly did you";
  865. mes "break something again?!";
  866. mes "You've got to be more careful!";
  867. mes "If you don't finish baking those";
  868. mes "cookies by the end of today, your";
  869. mes "semester grades will suffer!";
  870. next;
  871. mes "[Elly]";
  872. mes "B-but I just...";
  873. next;
  874. mes "[Mrs. Lecollane]";
  875. mes "^FF0000Elly^000000!!";
  876. next;
  877. mes "[Elly]";
  878. mes "......";
  879. mes "Yes, Mrs. Lecollane.";
  880. next;
  881. mes "[Mrs. Lecollane]";
  882. mes "*Ahem* Excuse me.";
  883. mes "Would you please leave";
  884. mes "the wine over there? You";
  885. mes "may go now, and please";
  886. mes "don't wander needlessly";
  887. mes "around the academy.";
  888. delitem 7487,1; //Tavern_Wine
  889. set KielHyreQuest,4;
  890. close;
  891. case 2:
  892. mes "[Mrs. Lecollane]";
  893. mes "Hm...?";
  894. mes "I guess I must";
  895. mes "be mistaken. I'm";
  896. mes "sorry, I thought you";
  897. mes "were somebody else.";
  898. close;
  899. }
  900. }
  901. else if (KielHyreQuest == 4) {
  902. mes "[Mrs Lecollane]";
  903. mes "Well, our business is";
  904. mes "completed, so would you";
  905. mes "please leave the campus";
  906. mes "as soon as you can? *Sigh*";
  907. mes "I can't believe our future";
  908. mes "is in these girls' hands...";
  909. close;
  910. }
  911. }
  912. //----------------------------------------------------------------------------
  913. // Elly (In school)
  914. //----------------------------------------------------------------------------
  915. kh_school,179,39,0 script Cute Student#kh 895,{
  916. if (checkweight(908,200) == 0) {
  917. mes "[Elly]";
  918. mes "I'm sorry, but would you";
  919. mes "put some of your things in";
  920. mes "your Kafra Storage first or";
  921. mes "something? I can't really";
  922. mes "help you when you're ";
  923. mes "carrying so much stuff.";
  924. close;
  925. }
  926. cutin "kh_elly01",2;
  927. if (KielHyreQuest < 4) {
  928. cutin "kh_elly03",2;
  929. mes "[Elly]";
  930. mes "W-wah! Oh...!";
  931. mes "^333333*Phew*^000000 That was close,";
  932. mes "I almost dropped them ";
  933. mes "again! Why do I have so much";
  934. mes "trouble handling ingredients?";
  935. }
  936. else if (KielHyreQuest == 4) {
  937. cutin "kh_elly03",2;
  938. mes "[Elly]";
  939. mes "Oh no, what should";
  940. mes "I do? ^333333*Sob*^000000 Wh-what";
  941. mes "am I going to do? ^333333*Sniff*^000000";
  942. next;
  943. switch(select("What happened?:......")) {
  944. case 1:
  945. mes "[Elly]";
  946. mes "I... I have to finish baking";
  947. mes "this batch of cookies by the";
  948. mes "end of today, but then I spilled";
  949. mes "all of the ingredients on the";
  950. mes "floor. I don't know how I can";
  951. mes "bake those cookies now...";
  952. next;
  953. switch(select("What can I do to help you?:Oh, I'm so sorry.")) {
  954. case 1:
  955. cutin "kh_elly02",2;
  956. mes "[Elly]";
  957. mes "What was that...?";
  958. mes "You'll really help";
  959. mes "me? That's wonderful!";
  960. mes "Thank you! Thanks so much!";
  961. next;
  962. break;
  963. case 2:
  964. mes "[Elly]";
  965. mes "Wait, you don't go";
  966. mes "to this school, don't";
  967. mes "you? Y-you're one of";
  968. mes "those adventurers, right?";
  969. next;
  970. select("Yeah, that's right.");
  971. mes "Listen, I know you";
  972. mes "probably have your own";
  973. mes "plans, but do you think";
  974. mes "you can help me with this";
  975. mes "huge problem that I have?";
  976. next;
  977. switch(select("Accept:Decline")) {
  978. case 1:
  979. cutin "kh_elly02",2;
  980. mes "How Wonderful!";
  981. mes "Thank you! Thank you";
  982. mes "so much! I'm supposed to";
  983. mes "finish baking this batch of";
  984. mes "cookies soon, but I spilled";
  985. mes "all of the ingredients...";
  986. next;
  987. break;
  988. case 2:
  989. mes "["+strcharinfo(0)+"]";
  990. mes "I'm outta here.";
  991. next;
  992. cutin "kh_elly04",2;
  993. mes "[Elly]";
  994. mes "W-wait...!";
  995. mes "Come back, you";
  996. mes "d-don't...! I really";
  997. mes "need some help!";
  998. emotion ET_CRY;
  999. close2;
  1000. cutin "",255;
  1001. end;
  1002. }
  1003. }
  1004. cutin "kh_elly01",2;
  1005. mes "[Elly]";
  1006. mes "Well, I guess the only way";
  1007. mes "I can bake these cookies is";
  1008. mes "to get some new ingredients.";
  1009. mes "I'm sorry to be such a burden,";
  1010. mes "but if you didn't offer to help";
  1011. mes "me, then I'd have no one to ask!";
  1012. next;
  1013. cutin "kh_elly04",2;
  1014. mes "[Elly]";
  1015. mes "You don't understand how";
  1016. mes "important it is that I bake";
  1017. mes "these cookies... If I don't";
  1018. mes "finish this assignment, then";
  1019. mes "Mrs. Crank will fail me for";
  1020. mes "the entire semester!";
  1021. next;
  1022. mes "[Elly]";
  1023. cutin "kh_elly01",2;
  1024. mes "Okay, I need to calm";
  1025. mes "down. I think I can do";
  1026. mes "this with your help.";
  1027. mes "Would you please do me";
  1028. mes "this huge favor and bring";
  1029. mes "all of these ingredients?";
  1030. next;
  1031. mes "[Elly]";
  1032. mes "^3355FF1 Wine^000000,";
  1033. mes "^3355FF7 Milks^000000,";
  1034. mes "^3355FF5 Cacaos^000000,";
  1035. mes "^3355FF2 Cheeses^000000,";
  1036. mes "^3355FF1 Egg^000000, and";
  1037. mes "^3355FF1 Bag of Flour^000000.";
  1038. next;
  1039. mes "[Elly]";
  1040. mes "Let's see... You can";
  1041. mes "get Wine from a pub in";
  1042. mes "Juno, Cacaos from hunting";
  1043. mes "Yoyos, and you can get flour";
  1044. mes "and Eggs from the girl that";
  1045. mes "runs the Toast Stand in Juno.";
  1046. next;
  1047. mes "[Elly]";
  1048. mes "Good luck, getting";
  1049. mes "everything, and I hope";
  1050. mes "you hurry back here with";
  1051. mes "those cookie ingredients";
  1052. mes "as quickly as you can, okay?";
  1053. set KielHyreQuest,6;
  1054. break;
  1055. case 2:
  1056. mes "[Elly]";
  1057. mes "*Sob*...";
  1058. break;
  1059. }
  1060. }
  1061. else if (KielHyreQuest == 6) {
  1062. if ((countitem(519) < 7) || (countitem(548) < 2) || (countitem(7182) < 5) || (countitem(7487) < 1) || (countitem(7488) < 1)) {
  1063. mes "[Elly]";
  1064. mes "Let's see, would you";
  1065. mes "like me to remind you";
  1066. mes "which ingredients I need?";
  1067. mes "Please bring these things as";
  1068. mes "soon as you can so that I can";
  1069. mes "quickly bake some cookies~";
  1070. next;
  1071. mes "[Elly]";
  1072. mes "^3355FF1 Wine^000000,";
  1073. mes "^3355FF7 Milks^000000,";
  1074. mes "^3355FF5 Cacaos^000000,";
  1075. mes "^3355FF2 Cheeses^000000,";
  1076. mes "^3355FF1 Egg^000000, and";
  1077. mes "^3355FF1 Bag of Flour^000000.";
  1078. next;
  1079. cutin "kh_elly01",2;
  1080. mes "[Elly]";
  1081. mes "Let's see... You can";
  1082. mes "get Wine from a pub in";
  1083. mes "Juno, Cacaos from hunting";
  1084. mes "Yoyos, and you can get flour";
  1085. mes "and Eggs from the girl that";
  1086. mes "runs the Toast Stand in Juno.";
  1087. }
  1088. else {
  1089. cutin "kh_elly02",2;
  1090. mes "[Elly]";
  1091. mes "Hooray! Finally, I have";
  1092. mes "everything I need! This is";
  1093. mes "great! Oh, would you please";
  1094. mes "give me a moment while I bake";
  1095. mes "these cookies? It shouldn't take";
  1096. mes "long, so hold on just a bit.";
  1097. delitem 519,7; //Milk
  1098. delitem 548,2; //Cheese
  1099. delitem 7182,5; //Cacao
  1100. delitem 7487,1; //Tavern_Wine
  1101. delitem 7488,1; //Delivery_Package
  1102. set KielHyreQuest,8;
  1103. //KHPubMasterEnd no longer needed-- deleting.
  1104. set KHPubMasterEnd,0;
  1105. set KHToastGirlEnd,0;
  1106. emotion ET_DELIGHT;
  1107. }
  1108. }
  1109. else if (KielHyreQuest == 8) {
  1110. mes "[Elly]";
  1111. mes "Tadah! I did it!";
  1112. mes "They're finally done!";
  1113. mes "Elly's special cookies.";
  1114. mes "I'd like you to have some";
  1115. mes "as thanks for helping me out.";
  1116. next;
  1117. mes "[Elly]";
  1118. mes "I'm sorry, but I was so";
  1119. mes "preoccupied with baking";
  1120. mes "these cookies that I didn't";
  1121. mes "even ask for your name. I'm";
  1122. mes "^FF0000Ellyja^000000, but everybody calls me,";
  1123. mes "''Elly.'' What's your name?";
  1124. next;
  1125. mes "["+strcharinfo(0)+"]";
  1126. mes "^3355FF"+strcharinfo(0)+"^000000.";
  1127. mes "It's ^3355FF"+strcharinfo(0)+"^000000.";
  1128. next;
  1129. cutin "kh_elly02",2;
  1130. mes "[Elly]";
  1131. mes ""+strcharinfo(0)+"?";
  1132. mes "...that name! It's wonderful!";
  1133. getitem 538,5; //Well_Baked_Cookie
  1134. set KielHyreQuest,10;
  1135. }
  1136. else if (KielHyreQuest == 10) {
  1137. mes "[Elly]";
  1138. mes "I'm sorry, but I have";
  1139. mes "another favor to ask you";
  1140. mes "if you don't mind helping";
  1141. mes "me out again. Don't worry,";
  1142. mes "you won't have to hurry as";
  1143. mes "quickly as you did last time.";
  1144. next;
  1145. switch(select("What do you need?:Sorry, but I'm pretty busy...")) {
  1146. case 1:
  1147. mes "[Elly]";
  1148. mes "You know how you helped";
  1149. mes "me bake those cookies?";
  1150. mes "It's the first time I was able";
  1151. mes "to do it without burning them!";
  1152. mes "I just know Grandfather'd";
  1153. mes "be so proud of me!";
  1154. next;
  1155. mes "[Elly]";
  1156. mes "I really want Grandfather";
  1157. mes "to taste the cookies I baked,";
  1158. mes "but the cookies will be stale";
  1159. mes "by the time I'm able to leave";
  1160. mes "campus. Would you deliver these";
  1161. mes "cookies to my grandfather for me?";
  1162. next;
  1163. switch(select("Sure:I'm busy.")) {
  1164. case 1:
  1165. cutin "kh_elly02",2;
  1166. mes "[Elly]";
  1167. mes "Oh, "+strcharinfo(0)+"!";
  1168. mes "Thank you so much, I knew";
  1169. mes "you'd understand! Would you";
  1170. mes "please bring the cookies to";
  1171. mes "him at ^FF0000Kiel Hyre's cottage^000000?";
  1172. next;
  1173. mes "[Elly]";
  1174. mes "Oh, right! They're really";
  1175. mes "careful about visitors and";
  1176. mes "keeping strangers off the";
  1177. mes "property, but if you mention";
  1178. mes "my name, they'll let you in.";
  1179. mes "Alright then, see you~";
  1180. set KielHyreQuest,12;
  1181. break;
  1182. case 2:
  1183. cutin "kh_elly03",2;
  1184. mes "[Elly]";
  1185. mes "Oh, um...";
  1186. mes "Okay, I'm sorry to";
  1187. mes "have bothered you...";
  1188. break;
  1189. }
  1190. break;
  1191. case 2:
  1192. cutin "kh_elly03",2;
  1193. mes "[Elly]";
  1194. mes "Oh, um...";
  1195. mes "Okay, I'm sorry to";
  1196. mes "have bothered you...";
  1197. break;
  1198. }
  1199. }
  1200. else if (KielHyreQuest == 12) {
  1201. mes "[Elly]";
  1202. mes "Oh, you don't know where";
  1203. mes "to find Kiel Hyre's cottage?";
  1204. mes "It's just north from this";
  1205. mes "academy. Please deliver my";
  1206. mes "cookies to Grandfather, and";
  1207. mes "let him know I really miss him.";
  1208. }
  1209. else if (KielHyreQuest == 14) {
  1210. cutin "kh_elly03",2;
  1211. mes "[Elly]";
  1212. mes "Hm? Grandfather's not";
  1213. mes "home? That's strange, he";
  1214. mes "didn't mention anything about";
  1215. mes "any business trips. I thought";
  1216. mes "he'd be at home all day...";
  1217. next;
  1218. cutin "kh_elly04",2;
  1219. mes "[Elly]";
  1220. mes "Would you go back to his";
  1221. mes "cottage one more time? Here,";
  1222. mes "you can use this Cottage Key.";
  1223. mes "That way, you can just go";
  1224. mes "inside and talk to him~";
  1225. getitem 7489,1; //Villa_Spare_Key
  1226. set KielHyreQuest,16;
  1227. }
  1228. else if ((KielHyreQuest >= 14) && (KielHyreQuest < 20)) {
  1229. mes "[Elly]";
  1230. mes "That's so weird...";
  1231. mes "I thought Grandfather";
  1232. mes "said that he'd be at";
  1233. mes "home all day today...";
  1234. }
  1235. else if (KielHyreQuest == 20) {
  1236. mes "[Elly]";
  1237. mes "Hmm...?";
  1238. mes "What's this,";
  1239. mes "a letter for me?";
  1240. next;
  1241. mes "^3355FFElly opened the envelope";
  1242. mes "and started reading the letter.^000000";
  1243. next;
  1244. mes "^333333Dearest Elly,";
  1245. mes " ";
  1246. mes "I have something to discuss";
  1247. mes "with my son Kiehl, so I am";
  1248. mes "leaving to meet with him.";
  1249. mes "If you don't hear from me";
  1250. mes "after 7 days after I've written";
  1251. mes "this letter, then you must";
  1252. mes "escape the academy as soon";
  1253. mes "as possible, and retrieve";
  1254. mes "something inside our ";
  1255. mes "cottage's study.";
  1256. mes " ";
  1257. mes "If you have a friend you";
  1258. mes "can trust, please ask him";
  1259. mes "to follow my traces in the";
  1260. mes "cottage. I might be in danger,";
  1261. mes "and in dire need of rescue.";
  1262. mes " ";
  1263. mes "Elly, don't trust anyone";
  1264. mes "in the academy, even your";
  1265. mes "classmates, since they may";
  1266. mes "be influenced by Kiehl.";
  1267. mes " ";
  1268. mes "Be careful, and I love you.";
  1269. mes " ";
  1270. mes "--Grandpa^000000";
  1271. next;
  1272. cutin "kh_elly03",2;
  1273. mes "[Elly]";
  1274. mes "What? Oh no, it's been";
  1275. mes "ten days since he wrote";
  1276. mes "this letter! Ah, does this";
  1277. mes "mean that he's in danger?!";
  1278. mes "Oh no, what should I do?";
  1279. delitem 7490,1; //Letter_to_Elly
  1280. set KielHyreQuest,22;
  1281. }
  1282. else if (KielHyreQuest == 22) {
  1283. cutin "kh_elly03",2;
  1284. mes "[Elly]";
  1285. mes "......";
  1286. mes ".........";
  1287. mes "............";
  1288. next;
  1289. switch(select("About your grandpa:Tell me about Kiehl:What's with this academy?")) {
  1290. case 1:
  1291. mes "[Elly]";
  1292. mes "Oh! My grandfather is";
  1293. mes "Kiel Hyre, founder and";
  1294. mes "CEO of the Kiel Hyre";
  1295. mes "foundation. He looks";
  1296. mes "strict and cold hearted,";
  1297. mes "but he's actually very nice!";
  1298. next;
  1299. mes "[Elly]";
  1300. mes "We're not related by";
  1301. mes "blood, but he's taken";
  1302. mes "care of me ever since";
  1303. mes "I lost my parents. Oh,";
  1304. mes "Grandapa, where are you?";
  1305. mes "I'm getting so worried!";
  1306. break;
  1307. case 2:
  1308. mes "[Elly]";
  1309. mes "Kiehl? That's my";
  1310. mes "grandfather's son...";
  1311. mes "I don't know him that";
  1312. mes "well, and only saw him";
  1313. mes "once at an academy event.";
  1314. next;
  1315. mes "[Elly]";
  1316. mes "Mmm, he's a good looking";
  1317. mes "guy with pale skin, silver";
  1318. mes "hair, and this cold, fierce";
  1319. mes "stare. A lot of my classmates";
  1320. mes "worship Kiehl because he's";
  1321. mes "also a business genius~";
  1322. next;
  1323. mes "[Elly]";
  1324. mes "It's weird though...";
  1325. mes "I have no idea why my";
  1326. mes "grandpa and Kiehl don't";
  1327. mes "get along. They're both";
  1328. mes "really good at what they do...";
  1329. break;
  1330. case 3:
  1331. mes "[Elly]";
  1332. mes "Well, I know the security";
  1333. mes "here is really tight, but";
  1334. mes "that's because everything";
  1335. mes "here is so luxurious and";
  1336. mes "expensive, you know~";
  1337. next;
  1338. mes "[Elly]";
  1339. mes "We also have a very";
  1340. mes "special curriculum where";
  1341. mes "you learn more of what you";
  1342. mes "want. Personally, I want to";
  1343. mes "become a great career woman";
  1344. mes "like ^0000FFMs. Allysia^000000. Heh heh~";
  1345. next;
  1346. mes "[Elly]";
  1347. mes "This place certainly";
  1348. mes "isn't like other schools.";
  1349. //mes "You already know that only";
  1350. mes "Yeah, everything is made to";
  1351. mes "fit each of the student's needs.";
  1352. next;
  1353. mes "[Elly]";
  1354. mes "Recently, though?";
  1355. mes "Some really weird stuff";
  1356. mes "has been happening. All of";
  1357. mes "my classmates are afraid of";
  1358. mes "going out alone by themselves.";
  1359. next;
  1360. cutin "kh_elly02",2;
  1361. mes "[Elly]";
  1362. mes "But I'll be okay!";
  1363. mes "You'll be there to";
  1364. mes "rescue me from danger,";
  1365. mes "right, "+strcharinfo(0)+"?";
  1366. next;
  1367. switch(select("Who is Ms. Allysia?:Strange incidents?")) {
  1368. case 1:
  1369. mes "[Elly]";
  1370. mes "Oh, Ms. Allysia is";
  1371. mes "Grandfather's secretary~";
  1372. mes "She's so beautiful, and";
  1373. mes "my grandfather really";
  1374. mes "trusts her with everything!";
  1375. break;
  1376. case 2:
  1377. cutin "kh_elly04",2;
  1378. mes "[Elly]";
  1379. mes "Well, "+strcharinfo(0)+"...";
  1380. mes "I'm not supposed to tell";
  1381. mes "anyone outside of the school,";
  1382. mes "but I can trust you! You see...";
  1383. mes "We're haunted by a ghost!";
  1384. next;
  1385. mes "[Elly]";
  1386. mes "I know it sounds crazy,";
  1387. mes "but this ghost wanders the";
  1388. mes "campus, and curses its victims,";
  1389. mes "making them so cold and lifeless.";
  1390. mes "It happened to my roommate,";
  1391. mes "Mayo. It's like she's a statue...";
  1392. next;
  1393. mes "[Elly]";
  1394. mes "I snuck into the medical";
  1395. mes "office to see her, and she...";
  1396. mes "She couldn't do anything!";
  1397. mes "What would happen if the";
  1398. mes "ghost decided to curse me?!";
  1399. next;
  1400. cutin "kh_elly02",2;
  1401. mes "[Elly]";
  1402. mes "You know what...?";
  1403. mes "If I ever got cursed";
  1404. mes "by that ghost, just yell";
  1405. mes "''^FF0000Wake up, Elly!^000000''";
  1406. mes "That'll wake me up for sure!";
  1407. set KielHyreQuest,24;
  1408. break;
  1409. }
  1410. }
  1411. }
  1412. else if (KielHyreQuest >= 24 && KielHyreQuest <= 26) {
  1413. cutin "kh_elly04",2;
  1414. mes "[Elly]";
  1415. mes "Argh, I'm in a fix!";
  1416. mes "I have to finish my";
  1417. mes "homework before it's due!";
  1418. mes "Yeah, I've got to go see";
  1419. mes "Mrs. Lecollane now.";
  1420. next;
  1421. mes "[Elly]";
  1422. mes "Say, "+strcharinfo(0)+",";
  1423. mes "if it's okay, would you";
  1424. mes "please go find what my";
  1425. mes "grandpa left for me in";
  1426. mes "the ^FF0000cottage study^000000? You're";
  1427. mes "the only one I can trust!";
  1428. next;
  1429. mes "[Elly]";
  1430. mes "Anyway, I'll see you later";
  1431. mes "in the evening! Please come";
  1432. mes "by my ^FF0000dorm room^000000. Um, the";
  1433. mes "dorms are in the church just";
  1434. mes "behind the academy, okay?";
  1435. next;
  1436. mes "[Elly]";
  1437. mes "My room is in the back,";
  1438. mes "and it's on the ^FF0000second floor^000000";
  1439. mes "^FF0000on the left side^000000. Please use";
  1440. mes "a ladder to come up, okay?";
  1441. mes "I'll leave my window open";
  1442. mes "for you, so just come, okay?";
  1443. next;
  1444. mes "[Elly]";
  1445. mes "Hurry, hurry, the";
  1446. mes "teacher's coming!";
  1447. set KielHyreQuest,26;
  1448. }
  1449. else {
  1450. mes "[Elly]";
  1451. mes "Hurry, hurry, the";
  1452. mes "teacher's coming!";
  1453. }
  1454. close2;
  1455. cutin "",255;
  1456. end;
  1457. }
  1458. //----------------------------------------------------------------------------
  1459. // Elly's Window
  1460. //----------------------------------------------------------------------------
  1461. yuno_fild08,69,185,0 script Window#kh 111,{
  1462. if (KielHyreQuest < 29) {
  1463. mes "^3355FFYou can see a curtain";
  1464. mes "decorated with a cute";
  1465. mes "design through the";
  1466. mes "window of this room,";
  1467. mes "which is probably";
  1468. mes "used by a young girl.^000000";
  1469. close;
  1470. }
  1471. else if (KielHyreQuest== 29) {
  1472. mes "^3355FFThis must be Elly's room.";
  1473. mes "It doesn't sound like anyone";
  1474. mes "is inside, so she probably";
  1475. mes "isn't back yet. For now, you";
  1476. mes "should try to find what her";
  1477. mes "grandfather left for her";
  1478. mes "in their cottage's Study.^000000";
  1479. close;
  1480. }
  1481. else if ((KielHyreQuest >= 30) && (KielHyreQuest <= 45)) {
  1482. mes "^3355FFThis slightly open window";
  1483. mes "must lead into Elly's room.";
  1484. mes "Although she asked you to";
  1485. mes "find a ladder to enter her";
  1486. mes "window, you probably won't";
  1487. mes "find one. You might be able";
  1488. mes "to climb up that water pipe...^000000";
  1489. next;
  1490. switch(select("Climb Water Pipe:Find Another Way")) {
  1491. case 1:
  1492. if (rand(1,3) == 2) {
  1493. mes "^3355FFYou climbed up the";
  1494. mes "water pipe, and sneaked";
  1495. mes "into Elly's room successfully.^000000";
  1496. close2;
  1497. warp "kh_school",185,185;
  1498. end;
  1499. }
  1500. else {
  1501. mes "^3355FFYou tried to climb";
  1502. mes "the water pipe, but";
  1503. mes "you ended up falling";
  1504. mes "and bumping your head.^000000";
  1505. percentheal -10,0;
  1506. close;
  1507. }
  1508. case 2:
  1509. mes "^3355FFThere must be some";
  1510. mes "other way to get into";
  1511. mes "Elly's room, aside from";
  1512. mes "climbing up this water pipe...^000000";
  1513. close;
  1514. }
  1515. }
  1516. else {
  1517. mes "^3355FFYou can't go up into";
  1518. mes "that open window.^000000";
  1519. close;
  1520. }
  1521. }
  1522. //----------------------------------------------------------------------------
  1523. // Elly (In Dormitory)
  1524. //----------------------------------------------------------------------------
  1525. kh_school,178,180,4 script Elly 895,{
  1526. if (checkweight(908,200) == 0) {
  1527. mes "^3355FFJust a second...";
  1528. mes "You're carrying too";
  1529. mes "many items with you";
  1530. mes "right now, so you'll";
  1531. mes "need to free up more";
  1532. mes "Inventory space first...^000000";
  1533. close;
  1534. }
  1535. if (KielHyreQuest < 30) {
  1536. mes "[Elly]";
  1537. mes "Who the heck are you?";
  1538. mes "Y-you're not supposed";
  1539. mes "to be able to get inside!";
  1540. mes "Get out of here right now!";
  1541. close2;
  1542. percentheal -99,0;
  1543. warp "yuno_fild08",100,100;
  1544. end;
  1545. }
  1546. else if (KielHyreQuest < 32) {
  1547. mes "[Elly]";
  1548. mes "......";
  1549. mes ".........";
  1550. mes "............";
  1551. close;
  1552. }
  1553. else if (KielHyreQuest == 32) {
  1554. mes "[Elly]";
  1555. mes "......";
  1556. mes ".........";
  1557. mes "............";
  1558. next;
  1559. mes "^3355FFElly seems to have";
  1560. mes "been cursed, and is";
  1561. mes "completely still and";
  1562. mes "lifeless. You've got to";
  1563. mes "try something, but what?^000000";
  1564. next;
  1565. switch(select("Wake her up by shaking.:Wake her up by yelling.:Ignore")) {
  1566. case 1:
  1567. mes "^3355FFYou grab Elly by the";
  1568. mes "shoulders, and try to get";
  1569. mes "her to respond by violently";
  1570. mes "shaking her entire body.^000000";
  1571. next;
  1572. mes "["+strcharinfo(0)+"]";
  1573. mes "Elly? Elly! No!";
  1574. mes "Come back to us!";
  1575. next;
  1576. mes "^3355FFElly's not responding...^000000";
  1577. close;
  1578. case 2:
  1579. input .@KHInput$;
  1580. if (.@KHInput$ == "Wake up, Elly!") {
  1581. mes "[Elly]";
  1582. mes ".............";
  1583. next;
  1584. mes "^3355FFAs soon as you said those";
  1585. mes "words, a ^000000Small Golden Key^3355FF";
  1586. mes "and a ^000000Button^3355FF drop from Elly's";
  1587. mes "hands. It looks like she woke";
  1588. mes "up, but only for an instant.^000000";
  1589. getitem 7493,1; //Golden_Key
  1590. getitem 7494,1; //Kiel_Button
  1591. set KielHyreQuest,34;
  1592. close;
  1593. }
  1594. else {
  1595. mes "[Elly]";
  1596. mes "......";
  1597. mes ".........";
  1598. mes "............";
  1599. next;
  1600. mes "^3355FFElly's not responding...^000000";
  1601. close;
  1602. }
  1603. case 3:
  1604. mes "^3355FFAlright...";
  1605. mes "But sooner or later,";
  1606. mes "you should try to break";
  1607. mes "the curse placed on Elly.^000000";
  1608. close;
  1609. }
  1610. }
  1611. else if (KielHyreQuest == 34) {
  1612. if (countitem(7491) < 1) {
  1613. //Missing text, needs another run through.
  1614. mes "^3355FFMaybe the golden key^000000";
  1615. mes "unlocks something in the^000000";
  1616. mes "Cottage. Let's take another look.^000000";
  1617. close;
  1618. }
  1619. else {
  1620. mes "^3355FFIt looks like Elly's";
  1621. mes "Golden Key might fit";
  1622. mes "into the keyhole on the";
  1623. mes "Grey Box you found inside";
  1624. mes "Kiel Hyre's Cottage.^000000";
  1625. next;
  1626. mes "^3355FFYou successfully open the";
  1627. mes "Grey Box with the Golden Key,";
  1628. mes "and find a Blue Keycard, along";
  1629. mes "with a folded note, inside the";
  1630. mes "Grey Box. You quickly read";
  1631. mes "the note's contents...^000000";
  1632. next;
  1633. mes "Dearest Elly,";
  1634. mes "Kiehl finally broke the taboo,";
  1635. mes "and tried to transform you guys";
  1636. mes "into something horrible.";
  1637. mes "^FFFFFF_^000000";
  1638. mes "By the time you read this,";
  1639. mes "my life is probably in danger.";
  1640. mes "Whether I live depends on you.";
  1641. mes "^FFFFFF_^000000";
  1642. mes "You'll already learn if you";
  1643. mes "meet Puppet, but I want to tell";
  1644. mes "you myself: you're not human.";
  1645. mes "You'll learn the details if you";
  1646. mes "enter the factory by using the";
  1647. mes "entrance near the grave next";
  1648. mes "to the church. Then, I want";
  1649. mes "you to find Allysia inside";
  1650. mes "the factory's secret room.";
  1651. mes "I've registered your name in";
  1652. mes "her security system, so don't";
  1653. mes "worry. Hopefully, Allysia will";
  1654. mes "then come to save me...";
  1655. mes "^FFFFFF_^000000";
  1656. mes "Sorry about that,";
  1657. mes "Grandpa";
  1658. getitem 7495,1; //Blue_Key_Card
  1659. delitem 7491,1; //Iron_Box
  1660. set KielHyreQuest,36;
  1661. close;
  1662. }
  1663. }
  1664. else if (KielHyreQuest >= 36) {
  1665. mes "^3355FFThis is where you";
  1666. mes "discovered the note";
  1667. mes "locked inside the Grey Box.";
  1668. mes "The following message was";
  1669. mes "written in the note by Elly's";
  1670. mes "grandfather, Kiel Hyre.^000000";
  1671. next;
  1672. mes "Dearest Elly,";
  1673. mes "Kiehl finally broke the taboo,";
  1674. mes "and tried to transform you guys";
  1675. mes "into something horrible.";
  1676. mes "^FFFFFF_^000000";
  1677. mes "By the time you read this,";
  1678. mes "my life is probably in danger.";
  1679. mes "Whether I live depends on you.";
  1680. mes "^FFFFFF_^000000";
  1681. mes "You'll already learn if you";
  1682. mes "meet Puppet, but I want to tell";
  1683. mes "you myself: you're not human.";
  1684. mes "You'll learn the details if you";
  1685. mes "enter the factory by using the";
  1686. mes "entrance near the grave next";
  1687. mes "to the church. Then, I want";
  1688. mes "you to find Allysia inside";
  1689. mes "the factory's secret room.";
  1690. mes "I've registered your name in";
  1691. mes "her security system, so don't";
  1692. mes "worry. Hopefully, Allysia will";
  1693. mes "then come to save me...";
  1694. mes "^FFFFFF_^000000";
  1695. mes "Sorry about that,";
  1696. mes "Grandpa";
  1697. close;
  1698. }
  1699. }
  1700. //----------------------------------------------------------------------------
  1701. // Cookie Basket
  1702. //----------------------------------------------------------------------------
  1703. kh_school,175,176,0 script Cookie Basket#kh 111,{
  1704. if (KielHyreQuest < 30) {
  1705. mes "^3355FFIt's a cookie";
  1706. mes "basket filled with";
  1707. mes "delicious cookies.^000000";
  1708. close;
  1709. }
  1710. else if (KielHyreQuest == 30) {
  1711. mes "^3355FFThis must be";
  1712. mes "Elly's cookie basket.";
  1713. mes "There appears to be";
  1714. mes "a folded note wedged";
  1715. mes "between the cookies.^000000";
  1716. next;
  1717. switch(select("Read Note:Ignore")) {
  1718. case 1:
  1719. mes ""+strcharinfo(0)+", help!";
  1720. mes "There's this guy dressed in";
  1721. mes "black who's walking around,";
  1722. mes "and casting this weird spell!";
  1723. mes "He's the one that's been making";
  1724. mes "people cold and lifeless as";
  1725. mes "puppets! I'm getting scared!";
  1726. mes "^FFFFFF_^000000";
  1727. mes "I hope you get this note...";
  1728. mes "He ran after me, but I locked";
  1729. mes "myself in my room. I'm going";
  1730. mes "to leave my window open so that";
  1731. mes "you can still find me. I hope he";
  1732. mes "doesn't cast his curse on me!";
  1733. set KielHyreQuest,32;
  1734. close;
  1735. case 2:
  1736. mes "^3355FFThat note probably";
  1737. mes "wasn't written just";
  1738. mes "for you, anyway.^000000";
  1739. close;
  1740. }
  1741. }
  1742. else if (KielHyreQuest < 108) {
  1743. mes "^3355FFThese cookies aren't";
  1744. mes "stale yet, but they're no";
  1745. mes "longer warm. If they're";
  1746. mes "not at room temperature,";
  1747. mes "then they're a little cold.^000000";
  1748. close;
  1749. }
  1750. else if (KielHyreQuest == 108) {
  1751. mes "^3355FFAs you stare at the";
  1752. mes "cookie basket, the wind";
  1753. mes "from the window jostles";
  1754. mes "it, revealing a letter that";
  1755. mes "was placed underneath.";
  1756. mes "It was probably written";
  1757. mes "by Elly for you to read.^000000";
  1758. next;
  1759. mes "^333333Dearest "+strcharinfo(0)+",";
  1760. mes " ";
  1761. mes "My teachers usually yell at me";
  1762. mes "since I make so many mistakes,";
  1763. mes "but today Mrs. Lecollane gave me";
  1764. mes "praise for my yummy cookies!";
  1765. mes "It's all thanks to you, my friend.";
  1766. mes "I'm very happy we've met:";
  1767. mes "you've taught me that there";
  1768. mes "are good people in the world.";
  1769. mes "And I know Grandpa will like";
  1770. mes "you, though, I don't know";
  1771. mes "where he could be...";
  1772. mes " ";
  1773. mes "Someday, I hope to become";
  1774. mes "as nice a person as you are.";
  1775. mes "Let's keep in touch and be";
  1776. mes "really good friends, okay?";
  1777. mes " ";
  1778. mes "Yours, Elly^000000";
  1779. next;
  1780. mes "^3355FFIt feels like you can";
  1781. mes "still sense Elly's warmth";
  1782. mes "and kindness from her";
  1783. mes "cookie basket. You picked";
  1784. mes "out a cookie, and put it";
  1785. mes "in your mouth. It was";
  1786. mes "deliciously bittersweet.";
  1787. set KielHyreQuest,109;
  1788. next;
  1789. input .@input$;
  1790. mes "["+strcharinfo(0)+"]";
  1791. mes ""+.@input$+"";
  1792. mes "It's time to go back. I can't";
  1793. mes "stay here much longer.";
  1794. close2;
  1795. warp "yuno_fild08",69,183;
  1796. end;
  1797. }
  1798. else {
  1799. mes "^3355FFAll the cookies";
  1800. mes "in this basket are";
  1801. mes "stale! Well, it shouldn't";
  1802. mes "come as a surprise.";
  1803. mes "It's been a long time";
  1804. mes "since they were baked.^000000";
  1805. close;
  1806. }
  1807. end;
  1808. }
  1809. //----------------------------------------------------------------------------
  1810. // Elly's Window (In Dormitory)
  1811. //----------------------------------------------------------------------------
  1812. kh_school,188,185,0 script Window#kh2 111,{
  1813. warp "yuno_fild08",69,183;
  1814. end;
  1815. }
  1816. //----------------------------------------------------------------------------
  1817. // Grave/Kiel Hyre dungeon entry
  1818. //----------------------------------------------------------------------------
  1819. yuno_fild08,71,170,0 script Grave#kh 111,{
  1820. if (KielHyreQuest < 36) {
  1821. mes "^3355FFIt's just a grave.";
  1822. mes "It might be important";
  1823. mes "to you later, but now";
  1824. mes "it's not really all that";
  1825. mes "helpful to you.^000000";
  1826. close;
  1827. }
  1828. else if (KielHyreQuest == 36) {
  1829. if (countitem(7492) < 1) {
  1830. mes "^3355FFIt's just a grave.";
  1831. mes "It might be important";
  1832. mes "to you later, but now";
  1833. mes "it's not really all that";
  1834. mes "helpful to you.^000000";
  1835. close;
  1836. }
  1837. else {
  1838. mes "^3355FFThere's a secret door";
  1839. mes "near this grave. It looks";
  1840. mes "like there's some kind of";
  1841. mes "slot and a number pad";
  1842. mes "installed on the door.^000000";
  1843. next;
  1844. mes "^3355FFWhat should you";
  1845. mes "insert into the slot?^000000";
  1846. next;
  1847. input .@KHInput$;
  1848. if (.@KHInput$ == "Yellow Keycard") {
  1849. mes "^3355FFAn electronic confirmation";
  1850. mes "chime sounds once you insert";
  1851. mes "the Yellow Keycard, followed by";
  1852. mes "an automated voice that asks:^000000";
  1853. next;
  1854. mes "[Security System]";
  1855. mes "Please enter the password.";
  1856. next;
  1857. input .@KHInput$;
  1858. next;
  1859. if (.@KHInput$ == "4772961") {
  1860. mes "[Security System]";
  1861. mes "Password confirmed.";
  1862. mes "Welcome, Kiel Hyre.";
  1863. next;
  1864. mes "^3355FFYou hear another ";
  1865. mes "pleasant beep, and";
  1866. mes "a secret path opens.^000000";
  1867. set KielHyreQuest,38;
  1868. close;
  1869. }
  1870. else {
  1871. mes "[Security System]";
  1872. mes "Incorrect password.";
  1873. mes "Please try again.";
  1874. close;
  1875. }
  1876. }
  1877. else {
  1878. mes "^3355FFWhatever you're trying";
  1879. mes "to insert into the slot";
  1880. mes "isn't working at all...^000000";
  1881. close;
  1882. }
  1883. }
  1884. }
  1885. else if ((KielHyreQuest >= 38) && (KielHyreQuest < 106)) {
  1886. mes "^3355FFThe door to the";
  1887. mes "factory is wide open.^000000";
  1888. next;
  1889. switch(select("Enter:Cancel")) {
  1890. case 1:
  1891. warp "kh_dun01",3,230;
  1892. end;
  1893. case 2:
  1894. mes "......";
  1895. mes ".........";
  1896. mes "............";
  1897. close;
  1898. }
  1899. }
  1900. else if (KielHyreQuest >= 106) {
  1901. if (countitem(7509) < 1) {
  1902. mes "^3355FFThe secret entrance";
  1903. mes "has now been sealed.^000000";
  1904. close;
  1905. }
  1906. else {
  1907. mes "As you aproach the";
  1908. mes "grave, it begins to";
  1909. mes "emit flashes of light.^000000";
  1910. next;
  1911. switch(select("Use the ^0000FFLuxurious Keycard^000000:Ignore")) {
  1912. case 1:
  1913. mes "Once you use the";
  1914. mes "Luxurious Keycard,";
  1915. mes "a secret path opens^000000";
  1916. next;
  1917. switch(select("Enter:cancel")) {
  1918. case 1:
  1919. warp "kh_dun01",3,230;
  1920. end;
  1921. case 2:
  1922. mes "......";
  1923. mes ".........";
  1924. mes "............";
  1925. close;
  1926. }
  1927. case 2:
  1928. mes "......";
  1929. mes ".........";
  1930. mes "............";
  1931. close;
  1932. }
  1933. }
  1934. }
  1935. }
  1936. //============================================================================
  1937. //Kiel Hyre Cottage NPCs
  1938. //============================================================================
  1939. //----------------------------------------------------------------------------
  1940. // Cottage Keeper
  1941. //----------------------------------------------------------------------------
  1942. yuno_fild02,93,210,4 script Cottage Keeper#kh 85,{
  1943. if ((KielHyreQuest < 12) || (KielHyreQuest > 12)) {
  1944. mes "[Cottage Keeper]";
  1945. mes "This is private property,";
  1946. mes "so please do not enter this";
  1947. mes "area unless you're authorized.";
  1948. close;
  1949. }
  1950. else if (KielHyreQuest == 12) {
  1951. mes "[Cottage Keeper]";
  1952. mes "This is private property,";
  1953. mes "so please do not enter this";
  1954. mes "area unless you're authorized.";
  1955. next;
  1956. switch(select("I have an appointment with Kiel Hyre.:Alright.")) {
  1957. case 1:
  1958. mes "[Cottage Keeper]";
  1959. mes "You have an";
  1960. mes "appointment with";
  1961. mes "Master Kiel Hyre?";
  1962. mes "Um, are you sure?";
  1963. next;
  1964. switch(select("Yes:No")) {
  1965. case 1:
  1966. mes "[Cottage Keeper]";
  1967. mes "There must be some sort";
  1968. mes "of mistake. Mister Hyre";
  1969. mes "wouldn't have left if he";
  1970. mes "was supposed to keep";
  1971. mes "an appointment...";
  1972. set KielHyreQuest,14;
  1973. close;
  1974. case 2:
  1975. mes "[Cottage Keeper]";
  1976. mes "Well unless you have";
  1977. mes "an appointment, I don't";
  1978. mes "think you'll be able to";
  1979. mes "meet with Mister Hyre.";
  1980. close;
  1981. }
  1982. case 2:
  1983. mes "[Cottage Keeper]";
  1984. mes "Goodbye.";
  1985. close;
  1986. }
  1987. }
  1988. }
  1989. //----------------------------------------------------------------------------
  1990. // Cottage Door (left)
  1991. //----------------------------------------------------------------------------
  1992. yuno_fild02,75,218,0 script Door#kh2 111,{
  1993. if (KielHyreQuest < 16) {
  1994. mes "^3355FFThis door is locked.";
  1995. mes "If someone inside won't";
  1996. mes "open it for you, then you'll";
  1997. mes "need the right key to unlock it.";
  1998. close;
  1999. }
  2000. if (KielHyreQuest == 16) {
  2001. mes "^3355FFThis door is locked.";
  2002. mes "If someone inside won't";
  2003. mes "open it for you, then you'll";
  2004. mes "need the right key to unlock it.";
  2005. next;
  2006. switch(select("Unlock:Cancel")) {
  2007. case 1:
  2008. mes "^3355FFYou unlock the door with the";
  2009. mes "key that Elly gave you, and";
  2010. mes "as you push it open, a folded";
  2011. mes "note dropped from top of the";
  2012. mes "door. The following words";
  2013. mes "are written on this crude note.";
  2014. next;
  2015. mes "6 Forward,";
  2016. mes "3 Left,";
  2017. mes "3 Forward,";
  2018. mes "4 Left";
  2019. close2;
  2020. set KielHyreQuest,18;
  2021. warp "kh_vila",188,18;
  2022. end;
  2023. case 2:
  2024. mes "......";
  2025. mes ".........";
  2026. mes "............";
  2027. close;
  2028. }
  2029. }
  2030. else {
  2031. mes "^3355FFThe door is open.^000000";
  2032. next;
  2033. switch(select("Enter:Cancel")) {
  2034. case 1:
  2035. warp "kh_vila",188,18;
  2036. end;
  2037. case 2:
  2038. close;
  2039. }
  2040. }
  2041. }
  2042. //----------------------------------------------------------------------------
  2043. // Cottage Door (Right)
  2044. //----------------------------------------------------------------------------
  2045. yuno_fild02,109,218,0 script Door#kh1 111,{
  2046. if (KielHyreQuest != 16) {
  2047. mes "^3355FFThis door is locked.";
  2048. mes "If someone inside won't";
  2049. mes "open it for you, then you'll";
  2050. mes "need the right key to unlock it.";
  2051. close;
  2052. }
  2053. if (KielHyreQuest == 16) {
  2054. mes "^3355FFThis door is locked.";
  2055. mes "If someone inside won't";
  2056. mes "open it for you, then you'll";
  2057. mes "need the right key to unlock it.";
  2058. next;
  2059. switch(select("Open:Cancel")) {
  2060. case 1:
  2061. mes "^3355FFYou don't have";
  2062. mes "the key that can";
  2063. mes "unlock this door.^000000";
  2064. close;
  2065. case 2:
  2066. mes "......";
  2067. mes ".........";
  2068. mes "............";
  2069. close;
  2070. }
  2071. }
  2072. }
  2073. //----------------------------------------------------------------------------
  2074. // Store room interior; Wall
  2075. //----------------------------------------------------------------------------
  2076. kh_vila,191,14,0 script Wall#kh 139,1,1,{
  2077. if (KielHyreQuest < 28) {
  2078. mes "^3355FFIt's just a wall.";
  2079. mes "It's not particularly";
  2080. mes "standing in your way.^000000";
  2081. close;
  2082. }
  2083. if (KielHyreQuest >= 28) {
  2084. mes "^3355FFThe wall is now";
  2085. mes "open, revealing";
  2086. mes "a secret path.^000000";
  2087. next;
  2088. switch(select("Enter:Cancel")) {
  2089. case 1:
  2090. warp "kh_vila",17,177;
  2091. end;
  2092. case 2:
  2093. close;
  2094. }
  2095. }
  2096. }
  2097. //----------------------------------------------------------------------------
  2098. // Store room interior; books
  2099. //----------------------------------------------------------------------------
  2100. kh_vila,184,20,0 script Book#kh1::BookKHQ1 111,{
  2101. if (KielHyreQuest != 26) {
  2102. mes "^3355FFThis bookshelf is^000000";
  2103. mes "^3355FFcrammed with many^000000";
  2104. mes "^3355FFlarge, hardcover books^000000";
  2105. close;
  2106. }
  2107. else if (KielHyreQuest == 26) {
  2108. if (rand(1,10) == 8) {
  2109. mes "^3355FFWithout thinking, you";
  2110. mes "reach for a book from";
  2111. mes "the bookshelf. As you";
  2112. mes "pull it towards you, the";
  2113. mes "wall slides opens open";
  2114. mes "to reveal a secret path.^000000";
  2115. set KielHyreQuest,28;
  2116. specialeffect EF_READYPORTAL2,AREA,"Wall#kh";
  2117. close;
  2118. }
  2119. else {
  2120. mes "^3355FFThis bookshelf is";
  2121. mes "crammed with many";
  2122. mes "large, hardcover books.^000000";
  2123. close;
  2124. }
  2125. }
  2126. }
  2127. kh_vila,181,20,0 duplicate(BookKHQ1) Book#kh2 111
  2128. kh_vila,178,20,0 duplicate(BookKHQ1) Book#kh3 111
  2129. kh_vila,175,19,0 duplicate(BookKHQ1) Book#kh4 111
  2130. //----------------------------------------------------------------------------
  2131. // Store room interior; Letter to Elly on the floor.
  2132. //----------------------------------------------------------------------------
  2133. kh_vila,179,11,0 script Letter#kh -1,1,1,{
  2134. OnTouch:
  2135. if (KielHyreQuest == 18) {
  2136. if (checkweight(7490,1) == 0) {
  2137. mes "^3355FFJust a minute...!";
  2138. mes "There's something on";
  2139. mes "the floor here, but you";
  2140. mes "can't pick it up since";
  2141. mes "you're carrying too";
  2142. mes "many items now.^000000";
  2143. close;
  2144. }
  2145. mes "^3355FFYou've found a letter";
  2146. mes "on the floor. Naturally,";
  2147. mes "you pick it up, despite";
  2148. mes "the fact that it's not";
  2149. mes "addressed to you.^000000";
  2150. getitem 7490,1; //Kyll_Hire_Letter
  2151. set KielHyreQuest,20;
  2152. close;
  2153. }
  2154. else{
  2155. mes "^3355FFYou entered the room.^000000";
  2156. close;
  2157. }
  2158. end;
  2159. }
  2160. //----------------------------------------------------------------------------
  2161. // Cottage interior, kitchen; Box (Pet Food vending machine)
  2162. //----------------------------------------------------------------------------
  2163. kh_vila,16,175,0 script Box#khp1 111,{
  2164. mes "^FFFFFF##^000000*Tasty-Nutricious-Delicious*";
  2165. mes "*Cute Pet Doof Vending Machine*";
  2166. mes "The best food for your Cute Pets";
  2167. mes "that is superior to the Pet Food";
  2168. mes "you can buy in the market!";
  2169. mes "^FFFFFF_^000000";
  2170. mes "Price: 1,100 zeny (cheap!)";
  2171. next;
  2172. switch(select("Buy!:Cancel")) {
  2173. case 1:
  2174. if (Zeny < 1100) {
  2175. mes "^3355FFUnfortunately, you";
  2176. mes "don't have enough";
  2177. mes "zeny to insert into";
  2178. mes "the vending machine.^000000";
  2179. close;
  2180. }
  2181. else {
  2182. mes "^3355FFOh no...!^000000";
  2183. mes "^3355FF1,100 zeny seems kind";
  2184. mes "of expensive for Pet Food,";
  2185. mes "but if it's better than the";
  2186. mes "normal stuff, it might";
  2187. mes "be worth a shot.^000000";
  2188. next;
  2189. mes "^3355FFOh no...!";
  2190. mes "There's nothing";
  2191. mes "special about it";
  2192. mes "at all! It's just";
  2193. mes "normal Pet Food!";
  2194. set Zeny, Zeny-1100;
  2195. getitem 537,1; //Pet_Food
  2196. close;
  2197. }
  2198. case 2:
  2199. mes "^3355FFThis vending machine";
  2200. mes "seems really shady and";
  2201. mes "suspicious for some reason.^000000";
  2202. close;
  2203. }
  2204. }
  2205. //----------------------------------------------------------------------------
  2206. // Cottage interior, kitchen; Apple Box (Useless?)
  2207. //----------------------------------------------------------------------------
  2208. kh_vila,30,184,0 script Apple Box#khp1 111,{
  2209. mes "^3355FFYou find a box filled with";
  2210. mes "ripe, delicious apples.^000000";
  2211. next;
  2212. switch(select("Take the box:Leave it")) {
  2213. case 1:
  2214. mes "^3355FFNo...! Wait!";
  2215. mes "Something's wrong!";
  2216. mes "Whatever you do,";
  2217. mes "don't take this box!^000000";
  2218. next;
  2219. mes "^3355FFAnd so, your inner";
  2220. mes "voice, your Jungian";
  2221. mes "shadow if you will,";
  2222. mes "prevented you from";
  2223. mes "taking the box.^000000";
  2224. close;
  2225. case 2:
  2226. mes "^3355FFSomething is wrong";
  2227. mes "with this box of apples.^000000";
  2228. close;
  2229. }
  2230. }
  2231. //----------------------------------------------------------------------------
  2232. // Cottage interior, dining room; Map
  2233. //----------------------------------------------------------------------------
  2234. kh_vila,44,126,0 script Map#khp1 111,{
  2235. if ((KHCottagePoem1 < 2) && (KielHyreQuest < 30)) {
  2236. mes "^3355FFA magnificent world map,";
  2237. mes "detailing the Rune-Midgarts";
  2238. mes "Kingdom, Schwaltzvalt Republic,";
  2239. mes "as well as another country to the";
  2240. mes "west whose name is unfamiliar";
  2241. mes "to you, is pasted to this wall.^000000";
  2242. next;
  2243. mes "^3355FFAs you examine the";
  2244. mes "world map more closely,";
  2245. mes "you find that something has";
  2246. mes "been hidden underneath it.^000000";
  2247. switch(select("Ignore:Examine")) {
  2248. case 1:
  2249. mes "^3355FFWhatever might be";
  2250. mes "hidden beneath this";
  2251. mes "map probably isn't";
  2252. mes "important enough for";
  2253. mes "you to investigate.^000000";
  2254. close;
  2255. case 2:
  2256. mes "^3355FFUnfortunately, you can't";
  2257. mes "see what's under the map";
  2258. mes "since it's pasted to the wall.";
  2259. mes "You'll need to find some";
  2260. mes "way to loosen the glue";
  2261. mes "without damaging the map...^000000";
  2262. set KHCottagePoem1,1;
  2263. close;
  2264. }
  2265. }
  2266. else if ((KHCottagePoem1 == 2) && (KielHyreQuest < 30)) {
  2267. mes "^3355FFYou bring the pot of";
  2268. mes "steaming hot liquid";
  2269. mes "close to the world map.";
  2270. mes "As the paste on the wall";
  2271. mes "moistens, the map slowly";
  2272. mes "begins to peel back.^000000";
  2273. next;
  2274. mes "^3355FFThe peeling map reveals";
  2275. mes "a folded piece of paper";
  2276. mes "hidden beneath it. You";
  2277. mes "take the paper, and smooth";
  2278. mes "the map out to adhere it to the";
  2279. mes "wall once again. A message is";
  2280. mes "written on the piece of paper.^000000";
  2281. next;
  2282. mes "^0000FFShe will be in a place";
  2283. mes "as cold as the poles.";
  2284. mes "When the well is dried";
  2285. mes "and the earth is cracked,";
  2286. mes "the path to her heart, a";
  2287. mes "heart as transparent as";
  2288. mes "crystal, will be open.^000000";
  2289. next;
  2290. mes "^3355FFI'll have to fight four";
  2291. mes "snakes with four swords";
  2292. mes "to find her. The first sword";
  2293. mes "is love. The second sword";
  2294. mes "is despair. The third sword";
  2295. mes "is rage. The fourth sword is";
  2296. mes "hope. To find her, to rescue her.^000000";
  2297. next;
  2298. mes "^3355FF...............................";
  2299. mes "The deeper meaning";
  2300. mes "of this poem, if it even";
  2301. mes "exists, eludes you.^000000";
  2302. set KHCottagePoem1,3;
  2303. close;
  2304. }
  2305. else if ((KHCottagePoem1 > 2) || (KielHyreQuest >= 30)) {
  2306. mes "^3355FFThis is were you found";
  2307. mes "the paper on which the";
  2308. mes "poem was written. Perhaps";
  2309. mes "it would be a good idea to";
  2310. mes "refresh your memory and";
  2311. mes "read that poem again.^000000";
  2312. next;
  2313. switch(select("Read:Cancel")) {
  2314. case 1:
  2315. mes "^0000FFShe will be in a place";
  2316. mes "as cold as the poles.";
  2317. mes "When the well is dried";
  2318. mes "and the earth is cracked,";
  2319. mes "the path to her heart, a";
  2320. mes "heart as transparent as";
  2321. mes "crystal, will be open.^000000";
  2322. next;
  2323. mes "^3355FFI'll have to fight four";
  2324. mes "snakes with four swords";
  2325. mes "to find her. The first sword";
  2326. mes "is love. The second sword";
  2327. mes "is despair. The third sword";
  2328. mes "is rage. The fourth sword is";
  2329. mes "hope. To find her, to rescue her.^000000";
  2330. next;
  2331. mes "^3355FF...............................";
  2332. mes "The deeper meaning";
  2333. mes "of this poem, if it even";
  2334. mes "exists, eludes you.^000000";
  2335. close;
  2336. case 2:
  2337. mes "^3355FFThere's no need for";
  2338. mes "you to reread this poem.";
  2339. mes "You're a freakin' genius!^000000";
  2340. close;
  2341. }
  2342. }
  2343. }
  2344. //----------------------------------------------------------------------------
  2345. // Cottage interior, kitchen; Pot
  2346. //----------------------------------------------------------------------------
  2347. kh_vila,33,184,0 script Pot#khp1 111,{
  2348. if (KHCottagePoem1 < 1) {
  2349. mes "^3355FFYou've found a pot";
  2350. mes "filled with boiling,";
  2351. mes "steaming liquid.^000000";
  2352. close;
  2353. }
  2354. else if (KHCottagePoem1 == 1) {
  2355. mes "^3355FFYou've found a pot";
  2356. mes "filled with boiling,";
  2357. mes "steaming liquid.";
  2358. mes "Steam... That you could";
  2359. mes "use to loosen the glue on";
  2360. mes "the map... You're a genius!^000000";
  2361. next;
  2362. switch(select("Try it.:That? That won't work!")) {
  2363. case 1:
  2364. mes "^3355FFYou picked up the";
  2365. mes "boiling pot, but";
  2366. mes "slightly burned your";
  2367. mes "hands by accident.";
  2368. set KHCottagePoem1,2;
  2369. close;
  2370. case 2:
  2371. mes "^3355FFNo, no...";
  2372. mes "We'd better try";
  2373. mes "something else.^000000";
  2374. close;
  2375. }
  2376. }
  2377. else if ((KHCottagePoem1 > 1) || (KielHyreQuest >= 30)){
  2378. mes "^3355FFThis is where you";
  2379. mes "picked up the pot filled";
  2380. mes "with steaming hot liquid.^000000";
  2381. close;
  2382. }
  2383. }
  2384. //----------------------------------------------------------------------------
  2385. // Cottage interior, fire place; Calabash
  2386. //----------------------------------------------------------------------------
  2387. kh_vila,14,55,0 script Calabash#khp1 111,{
  2388. if ((countitem(7329) < 1) && (countitem(7516) < 1) && (countitem(7491) < 1) && (KielHyreQuest < 38)) {
  2389. if (checkweight(7329,1) == 0) {
  2390. mes "^3355FFThat's a nice looking";
  2391. mes "calabash. You might even";
  2392. mes "get something from it...";
  2393. mes "But first you better get";
  2394. mes "rid of all your extra weight.";
  2395. mes "And by weight, I mean items.^000000";
  2396. close;
  2397. }
  2398. mes "^3355FFIt's an expensive";
  2399. mes "looking calabash--";
  2400. mes "or in less fancy";
  2401. mes "words, a ''gourd.''";
  2402. mes "Would do you do?^000000";
  2403. next;
  2404. switch(select("Break Open Calabash:Look Inside Calabash:Ignore")) {
  2405. case 1:
  2406. mes "^3355FFYou can't break";
  2407. mes "open that calabash...";
  2408. mes "You're a hero, not a vandal.";
  2409. mes "Now, if this act of vandalism";
  2410. mes "can be considered an act of";
  2411. mes "heroism, then it'd be okay.^000000";
  2412. close;
  2413. case 2:
  2414. mes "^3355FFYou tenderly place";
  2415. mes "your hand into the";
  2416. mes "calabash, and gently";
  2417. mes "feel around with your";
  2418. mes "fingers until you retrieve";
  2419. mes "an Old Bronze Key.^000000";
  2420. getitem 7329,1; //Old_Bronze_Key
  2421. close;
  2422. case 3:
  2423. mes "^3355FFThere's probably";
  2424. mes "nothing inside anyway.^000000";
  2425. close;
  2426. }
  2427. }
  2428. else {
  2429. mes "^3355FFThis is the expensive";
  2430. mes "looking calabash from";
  2431. mes "which you've obtained";
  2432. mes "the Old Bronze Key.";
  2433. mes "It's useless to you now.^000000";
  2434. close;
  2435. }
  2436. }
  2437. //----------------------------------------------------------------------------
  2438. // Cottage interior, garden; Pool
  2439. //----------------------------------------------------------------------------
  2440. kh_vila,39,41,0 script Pool#khp1 111,{
  2441. if ((KHCottagePoem1 < 3) && (KielHyreQuest < 30)) {
  2442. mes "^3355FFYou find a fancy pool";
  2443. mes "filled with fresh water.^000000";
  2444. close;
  2445. }
  2446. else if ((KHCottagePoem1 == 3) && (KielHyreQuest < 30)) {
  2447. mes "^3355FFYou find a fancy pool";
  2448. mes "filled with fresh water,";
  2449. mes "along with a conscpicuous";
  2450. mes "lion statue with two handles.^000000";
  2451. next;
  2452. switch(select("Pull Handles:Cancel")) {
  2453. case 1:
  2454. mes "Which handle would";
  2455. mes "you like to pull first?";
  2456. next;
  2457. switch(select("Right Handle:Left Handle")) {
  2458. case 1:
  2459. mes "^3355FFYou pull the right";
  2460. mes "handle, causing water";
  2461. mes "to gush out of the lion's";
  2462. mes "mouth. It looks pretty cool~^000000";
  2463. close;
  2464. case 2:
  2465. mes "^3355FFAs soon as you pull the";
  2466. mes "left handle, the water in";
  2467. mes "the pool drains away. The";
  2468. mes "pool empties, and you can";
  2469. mes "see a layer of green moss";
  2470. mes "covering the pool's bottom.^000000";
  2471. next;
  2472. switch(select("Ignore:Investigate")) {
  2473. case 1:
  2474. mes "^3355FFYou decide that";
  2475. mes "a pool is little more";
  2476. mes "than a hole without";
  2477. mes "any water to fill it.^000000";
  2478. close;
  2479. case 2:
  2480. mes "^3355FFAs you look through";
  2481. mes "the wet moss at the";
  2482. mes "bottom of the pool,";
  2483. mes "you stumble upon a";
  2484. mes "small, peculiar button.^000000";
  2485. next;
  2486. switch(select("Press button:Don't Press Button")) {
  2487. case 1:
  2488. mes "^3355FFYou press the button,";
  2489. mes "which seems to trigger";
  2490. mes "a strange sound coming";
  2491. mes "from the stairs at the hallway.^000000";
  2492. set KHCottagePoem1,4;
  2493. close;
  2494. case 2:
  2495. mes "^3355FFYou'd better not push";
  2496. mes "this button. Your enemies";
  2497. mes "must have hidden it carefully";
  2498. mes "for you to find: it must be";
  2499. mes "some sort of nefarious trap.^000000";
  2500. close;
  2501. }
  2502. }
  2503. }
  2504. case 2:
  2505. mes "^3355FFYou decided not";
  2506. mes "to pull any handles.^000000";
  2507. close;
  2508. }
  2509. }
  2510. else if ((KHCottagePoem1 > 3) || (KielHyreQuest >= 30)) {
  2511. mes "^3355FFThis is where you pressed";
  2512. mes "the small button that caused";
  2513. mes "some strange sound to come";
  2514. mes "from the stairs near the hallway.";
  2515. close;
  2516. }
  2517. }
  2518. //----------------------------------------------------------------------------
  2519. // Cottage interior, upstairs; Vicious Dog
  2520. //----------------------------------------------------------------------------
  2521. kh_vila,181,178,4 script Vicious Dog#khp1 81,7,3,{
  2522. OnTouch:
  2523. mes "*Grrr~*";
  2524. next;
  2525. mes "^3355FFAn extremely vicious";
  2526. mes "looking dog is glaring";
  2527. mes "at you. Can you really";
  2528. mes "pass by this creature";
  2529. mes "without getting hurt?^000000";
  2530. next;
  2531. switch(select("March forward:Run away")) {
  2532. case 1:
  2533. if (countitem(537) >= 1) {
  2534. mes "^3355FFWait! Perhaps you can";
  2535. mes "use food to soothe the";
  2536. mes "savage beast. Why don't";
  2537. mes "you feed it some of your Pet";
  2538. mes "Food and see what happens?^000000";
  2539. next;
  2540. switch(select("Give Pet Food:It won't work!")) {
  2541. case 1:
  2542. mes "^3355FFYou gingerly throw the";
  2543. mes "Pet Food towards the dog.";
  2544. mes "Its tail shakes violently as";
  2545. mes "it devours the food. You'd";
  2546. mes "better pass this dog now";
  2547. mes "while you have the chance!^000000";
  2548. delitem 537,1; //Pet_Food
  2549. close2;
  2550. warp "kh_vila",173,182;
  2551. end;
  2552. case 2:
  2553. break;
  2554. }
  2555. }
  2556. mes "^3355FFYou slowly approach";
  2557. mes "the dog, but it won't";
  2558. mes "stop snarling at you.";
  2559. mes "You try to run past the";
  2560. mes "dog, but it blocks all of";
  2561. mes "your moves. What to do?^000000";
  2562. next;
  2563. mes "[Vicious Dog]";
  2564. mes "BOW WOW!";
  2565. mes "BOW WOW!";
  2566. mes "BOW WOW WOW!";
  2567. next;
  2568. mes "^3355FFThe dog chased you";
  2569. mes "downstairs like the";
  2570. mes "suckah chump you are.^000000";
  2571. close2;
  2572. warp "kh_vila",126,70;
  2573. end;
  2574. case 2:
  2575. mes "^3355FFLet's get out of here!^000000";
  2576. close2;
  2577. warp "kh_vila",126,70;
  2578. end;
  2579. }
  2580. }
  2581. //----------------------------------------------------------------------------
  2582. // Cottage interior, upstairs; Drawer, first room nightstand
  2583. //----------------------------------------------------------------------------
  2584. kh_vila,115,186,0 script Drawer#khp1 111,{
  2585. if (checkweight(7492,1) == 0) {
  2586. mes "^3355FFThere's something inside";
  2587. mes "this drawer, but you can't";
  2588. mes "take it since you're carrying";
  2589. mes "to many items with you. Maybe";
  2590. mes "you should pay a visit to your";
  2591. mes "trusty Kafra Storage first.^000000";
  2592. close;
  2593. }
  2594. if ((countitem(7492) < 1) && (KielHyreQuest <= 36)) {
  2595. mes "^3355FFYou find an old drawer";
  2596. mes "^that has been closed.";
  2597. mes "^If you open it, then you";
  2598. mes "^might find something";
  2599. mes "^inside. Or could it be";
  2600. mes "^empty. Who knows?^000000";
  2601. next;
  2602. switch(select("Open Drawer:Ignore")) {
  2603. case 1:
  2604. mes "^3355FFYou obtain a Yellow";
  2605. mes "Keycard from inside the";
  2606. mes "drawer. Opening that drawer";
  2607. mes "turned out to be worthwhile.^000000";
  2608. getitem 7492,1; //Yellow_Key_Card
  2609. close;
  2610. case 2:
  2611. mes "^3355FFForget opening that";
  2612. mes "drawer. I mean, come on,";
  2613. mes "what would be the point?^000000";
  2614. close;
  2615. }
  2616. }
  2617. else {
  2618. mes "^3355FFThis is where you";
  2619. mes "found the Yellow Keycard.";
  2620. mes "This drawer is now empty.^000000";
  2621. close;
  2622. }
  2623. }
  2624. //----------------------------------------------------------------------------
  2625. // Cottage interior, upstairs; Box
  2626. //----------------------------------------------------------------------------
  2627. kh_vila,107,126,0 script Box#khp2 111,{
  2628. if ((countitem(7329) < 1) && (countitem(7516) < 1) && (countitem(7491) < 1) && (KielHyreQuest < 38)) {
  2629. mes "^3355FFA solid box is laid";
  2630. mes "on the floor in which";
  2631. mes "a smaller, locked box";
  2632. mes "has been placed inside.^000000";
  2633. close;
  2634. }
  2635. else if ((countitem(7329) >= 1) && (countitem(7516) < 1) && (countitem(7491) < 1) && (KielHyreQuest < 38)) {
  2636. mes "^3355FFA solid box is laid";
  2637. mes "on the floor in which";
  2638. mes "a smaller, locked box";
  2639. mes "has been placed inside.";
  2640. mes "Perhaps you can use your";
  2641. mes "Old Bronze Key to unlock it.^000000";
  2642. next;
  2643. switch(select("Use Old Bronze Key:No, it'll never work.")) {
  2644. case 1:
  2645. mes "^3355FFYour hunch paid off!";
  2646. mes "The Old Bronze Key really";
  2647. mes "did unlock that box! You";
  2648. mes "open the inner box and";
  2649. mes "obtain the Green Keycard";
  2650. mes "that was locked inside.";
  2651. getitem 7516,1; //Green_Key_Card
  2652. delitem 7329,1; //Old_Bronze_Key
  2653. close;
  2654. case 2:
  2655. mes "^3355FFWhat...?";
  2656. mes "What? Using a key";
  2657. mes "to unlock a lock?";
  2658. mes "Come on, that's";
  2659. mes "freakin' crazy talk!^000000";
  2660. close;
  2661. }
  2662. }
  2663. else {
  2664. mes "^3355FFThis is the box from";
  2665. mes "which you've obtained";
  2666. mes "the Green Keycard.^000000";
  2667. close;
  2668. }
  2669. }
  2670. //----------------------------------------------------------------------------
  2671. // Cottage interior, upstairs; Bookshelf.
  2672. //----------------------------------------------------------------------------
  2673. kh_vila,181,138,0 script Bookshelf#khp1 111,{
  2674. if ((countitem(7491) < 1) && (countitem(7329) >= 1) || (countitem(7516) >= 1)) {
  2675. mes "^3355FFOne of the books on";
  2676. mes "this crammed bookshelf";
  2677. mes "is labeled with the note,";
  2678. mes "''To Elly.'' It must have been";
  2679. mes "left behind by her grandfather.^000000";
  2680. next;
  2681. switch(select("Examine Book:Ignore")) {
  2682. case 1:
  2683. mes "^3355FFYou skim through the";
  2684. mes "book's pages, and don't";
  2685. mes "find anything particularly";
  2686. mes "interesting. However, you";
  2687. mes "notice a steel surface behind the";
  2688. mes "shelf as you place the book back.^000000";
  2689. next;
  2690. switch(select("Examine the steel surface:Ignore")) {
  2691. case 1:
  2692. mes "^3355FFYou remove more of the";
  2693. mes "shelf's books to reveal";
  2694. mes "that the steel surface is";
  2695. mes "part of a safe hidden behind";
  2696. mes "the bookshelf. There are two";
  2697. mes "keyholes on the steel safe.^000000";
  2698. next;
  2699. switch(select("Try all your keys:Cancel")) {
  2700. case 1:
  2701. mes "^3355FFWhich key will";
  2702. mes "you insert into";
  2703. mes "the first keyhole?^000000";
  2704. next;
  2705. if (countitem(7329) >= 1) {
  2706. select("Old Bronze Key:Cottage Key");
  2707. mes "^3355FFWhich key will";
  2708. mes "you insert into";
  2709. mes "the second keyhole?^000000";
  2710. next;
  2711. select("Old Bronze Key:Cottage Key");
  2712. }
  2713. else if (countitem(7516) >= 1) {
  2714. switch(select("Green Keycard:Cottage Key")) {
  2715. case 1:
  2716. set .@KHFirstKeyhole,1;
  2717. break;
  2718. case 2:
  2719. set .@KHFirstKeyhole,2;
  2720. break;
  2721. }
  2722. mes "^3355FFWhich key will";
  2723. mes "you insert into";
  2724. mes "the second keyhole?^000000";
  2725. next;
  2726. switch(select("Green Keycard:Cottage Key")) {
  2727. case 1:
  2728. set .@KHSecondKeyhole,1;
  2729. break;
  2730. case 2:
  2731. set .@KHSecondKeyhole,2;
  2732. break;
  2733. }
  2734. if (.@KHFirstKeyhole == 2) && (.@KHSecondKeyhole == 1) {
  2735. mes "^3355FFThe safe opens with";
  2736. mes "a click, and you see";
  2737. mes "a Grey Box inside.";
  2738. mes "You take the Grey Box";
  2739. mes "with you, hoping that it";
  2740. mes "will come in handy later.^000000";
  2741. delitem 7489,1; //Villa_Spare_Key
  2742. delitem 7516,1; //Green_Key_Card
  2743. getitem 7491,1; //Iron_Box
  2744. close;
  2745. }
  2746. }
  2747. mes "^3355FFThe safe won't open.^000000";
  2748. close;
  2749. case 2:
  2750. mes "^3355FFIt's probably a better";
  2751. mes "idea to investigate the";
  2752. mes "cottage for the keys that";
  2753. mes "will open up this safe...^000000";
  2754. close;
  2755. }
  2756. case 2:
  2757. mes "^3355FFYou place the books";
  2758. mes "back on the bookshelf.^000000";
  2759. close;
  2760. }
  2761. case 2:
  2762. mes "^3355FFYou can probably";
  2763. mes "find better clues";
  2764. mes "somewhere else";
  2765. mes "around here.^000000";
  2766. close;
  2767. }
  2768. }
  2769. else {
  2770. mes "^3355FFYou've found a";
  2771. mes "bookshelf that's";
  2772. mes "crammed with books.^000000";
  2773. close;
  2774. }
  2775. }
  2776. //----------------------------------------------------------------------------
  2777. // Cottage interior, upstairs; Desk
  2778. //----------------------------------------------------------------------------
  2779. kh_vila,118,144,0 script Desk#khp1 111,{
  2780. if (KHCottagePoem2 < 1) {
  2781. mes "^3355FFThere are piles of papers";
  2782. mes "and books stacked on top";
  2783. mes "of the desk covering topics";
  2784. mes "like artificial power, Sage";
  2785. mes "Varmundt's research, factory";
  2786. mes "robotization, and magic scrolls...^000000";
  2787. next;
  2788. mes "^3355FFWhile rummaging through";
  2789. mes "the books and papers, you";
  2790. mes "find a piece of paper with";
  2791. mes "the Kiel Hyre Foundation's";
  2792. mes "official seal. You decide that";
  2793. mes "it might come in handy someday.^000000";
  2794. next;
  2795. mes "^3355FFYou've obtained";
  2796. mes "a blank piece of";
  2797. mes "paper with the Kiel";
  2798. mes "Hyre Foundation seal.^000000";
  2799. set KHCottagePoem2,1;
  2800. close;
  2801. }
  2802. else if (KHCottagePoem2 >= 1) {
  2803. mes "^3355FFThere are piles of papers";
  2804. mes "and books, covering various";
  2805. mes "scientific and magic topics,";
  2806. mes "stacked on top of this desk.^000000";
  2807. close;
  2808. }
  2809. }
  2810. //----------------------------------------------------------------------------
  2811. // Cottage interior, upstairs; Medicine Chest
  2812. //----------------------------------------------------------------------------
  2813. kh_vila,123,170,0 script Medicine Chest#khp1 111,{
  2814. if ((KHCottagePoem2 < 1) && (KielHyreQuest < 30)) {
  2815. mes "^3355FFThis medicine cabinet";
  2816. mes "is filled with bottles of";
  2817. mes "various colors. What kind";
  2818. mes "of medicine can be found here?^000000";
  2819. close;
  2820. }
  2821. else if ((KHCottagePoem2 == 1) && (KielHyreQuest < 30)) {
  2822. mes "^3355FFThis medicine cabinet";
  2823. mes "is filled with bottles of";
  2824. mes "various colors. What kind";
  2825. mes "of medicine can be found here?^000000";
  2826. next;
  2827. mes "^3355FFWait, you have a blank piece";
  2828. mes "of paper with the Kiel Hyre";
  2829. mes "Foundation seal! It's strange";
  2830. mes "that the seal was put on a blank";
  2831. mes "piece of paper. Maybe something";
  2832. mes "is written on it with special ink?^000000";
  2833. next;
  2834. mes "^3355FFIt's a crazy hunch, but";
  2835. mes "maybe, just maybe, you can";
  2836. mes "use something inside this";
  2837. mes "medicine cabinet that will";
  2838. mes "reveal any invisible ink";
  2839. mes "written on this document!^000000";
  2840. next;
  2841. switch(select("What? That's crazy!:Of course! Let's try it!")) {
  2842. case 1:
  2843. mes "^3355FFSorry.";
  2844. mes "I thought it";
  2845. mes "was a good idea...^000000";
  2846. close;
  2847. case 2:
  2848. switch(select("Try Red Liquid:Try Blue Liquid:Try Yellow Liquid:Try Green Liquid:Cancel")) {
  2849. case 1:
  2850. set .@KHPotionColor$,"red";
  2851. break;
  2852. case 2:
  2853. mes "^3355FFIt works!";
  2854. mes "The blue liquid is";
  2855. mes "revealing small text";
  2856. mes "written on the paper.";
  2857. mes "It looks like some";
  2858. mes "kind of long poem...^000000";
  2859. next;
  2860. mes "[Poem]";
  2861. mes "The first snake is made of";
  2862. mes "steel, but I used my rage";
  2863. mes "to destroy it. The second";
  2864. mes "snake is made of magic,";
  2865. mes "but my love pierced its heart.";
  2866. next;
  2867. mes "[Poem]";
  2868. mes "The third snake is flesh";
  2869. mes "and blood, but my hope";
  2870. mes "defeated it in the end.";
  2871. mes "However, the fourth and";
  2872. mes "final snake is formless, and";
  2873. mes "no one knows its appearance.";
  2874. next;
  2875. mes "[Poem]";
  2876. mes "I cast my despair to the air,";
  2877. mes "but nobody knows if it killed";
  2878. mes "the snake. I am merely ^0000FFa little";
  2879. mes "lost devil^000000 with four swords and";
  2880. mes "four snakes, searching for that";
  2881. mes "girl in the darkness.";
  2882. next;
  2883. mes "^3355FFThis is a very";
  2884. mes "strange poem. What";
  2885. mes "could it possibly mean?^000000";
  2886. set KHCottagePoem2,2;
  2887. close;
  2888. case 3:
  2889. set .@KHPotionColor$,"yellow";
  2890. break;
  2891. case 4:
  2892. set .@KHPotionColor$,"green";
  2893. break;
  2894. case 5:
  2895. mes "^3355FFNever mind.";
  2896. mes "This idea sounds";
  2897. mes "too crazy to work...";
  2898. mes "like puttting a man";
  2899. mes "on the moon. Can you";
  2900. mes "believe that hogwash?^000000";
  2901. close;
  2902. }
  2903. mes "^3355FFYou tried sprinkling";
  2904. mes "the "+.@KHPotionColor$+" liquid from the";
  2905. mes "medicine cabinet onto";
  2906. mes "the blank paper with the";
  2907. mes "Kiel Hyre Foundation seal.";
  2908. mes "However, nothing happened...^000000";
  2909. close;
  2910. }
  2911. }
  2912. else if ((KHCottagePoem2 >= 2) || (KielHyreQuest >= 30)) {
  2913. mes "^3355FFThis is where you poured";
  2914. mes "some blue liquid to read";
  2915. mes "a poem written in invisible";
  2916. mes "ink on the blank piece of paper";
  2917. mes "with the Kiel Hyre Foundation";
  2918. mes "seal. Would you like read it?^000000";
  2919. next;
  2920. switch(select("No time!:Read")) {
  2921. case 1:
  2922. mes "^3355FFYou're running out of";
  2923. mes "time! For now, it would";
  2924. mes "be best for you to search";
  2925. mes "every inch of this cottage.^000000";
  2926. close;
  2927. case 2:
  2928. mes "[Poem]";
  2929. mes "The first snake is made of";
  2930. mes "steel, but I used my rage";
  2931. mes "to destroy it. The second";
  2932. mes "snake is made of magic,";
  2933. mes "but my love pierced its heart.";
  2934. next;
  2935. mes "[Poem]";
  2936. mes "The third snake is flesh";
  2937. mes "and blood, but my hope";
  2938. mes "defeated it in the end.";
  2939. mes "However, the fourth and";
  2940. mes "final snake is formless, and";
  2941. mes "no one knows it's appearance.";
  2942. next;
  2943. mes "[Poem]";
  2944. mes "I cast my despair to the air,";
  2945. mes "but nobody knows if it killed";
  2946. mes "the snake. I am merely a ^3355FFlittle^000000";
  2947. mes "^3355FFlost devil^000000 with four swords and";
  2948. mes "four snakes, searching for that";
  2949. mes "girl in the darkness.";
  2950. close;
  2951. }
  2952. }
  2953. }
  2954. //----------------------------------------------------------------------------
  2955. // Cottage interior, stair case; Sword hilt
  2956. //----------------------------------------------------------------------------
  2957. kh_vila,136,68,0 script Sword Hilt#kh 111,{
  2958. if ((KHCottagePoem1 < 3) || (KHCottagePoem2 < 2) && (KielHyreQuest < 30)) {
  2959. mes "^3355FFThere are four elaborately";
  2960. mes "designed swords positioned";
  2961. mes "next to four creepy looking";
  2962. mes "snake sculptures.^000000";
  2963. close;
  2964. }
  2965. else if ((KHCottagePoem1 <= 4) || (KHCottagePoem2 <= 2) && (KielHyreQuest < 30)) {
  2966. mes "^3355FFThere are four elaborately";
  2967. mes "designed swords positioned";
  2968. mes "next to four creepy looking";
  2969. mes "snake sculptures. Wait!";
  2970. mes "Perhaps they're related to";
  2971. mes "that poem you read earlier...";
  2972. next;
  2973. switch(select("No way!:Of course!")) {
  2974. case 1:
  2975. mes "^3355FFImpossible...";
  2976. mes "It must be some";
  2977. mes "kind of coincidence...^000000";
  2978. close;
  2979. case 2:
  2980. mes "^3355FFOf course! And look!";
  2981. mes "There's a hole on top";
  2982. mes "of the head of each snake";
  2983. mes "sculpture. These holes seem";
  2984. mes "big enough to insert each of";
  2985. mes "the ornamental swords nearby...^000000";
  2986. next;
  2987. switch(select("Ignore:Insert Ornamental Swords")) {
  2988. case 1:
  2989. mes "^3355FFImposible...^000000";
  2990. mes "^3355FFIt must be some^000000";
  2991. mes "^3355FFkind of coincidence...^000000";
  2992. close;
  2993. case 2:
  2994. if (KHCottagePoem1 != 4) {
  2995. mes "^3355FFCan't... Pull out...";
  2996. mes "Sword! It must be";
  2997. mes "locked into place";
  2998. mes "somehow, or sealed";
  2999. mes "by some strange force!^000000";
  3000. close;
  3001. }
  3002. else {
  3003. mes "^3355FFYou should probably";
  3004. mes "try to insert each sword";
  3005. mes "into the correct snake.";
  3006. mes "First, please select the";
  3007. mes "snake in which you will";
  3008. mes "insert the first sword.^000000";
  3009. next;
  3010. switch(select("First Snake:Second Snake:Third Snake:Fourth Snake")) {
  3011. default:
  3012. break;
  3013. case 2:
  3014. set .@KHSwords,.@KHSwords+1;
  3015. break;
  3016. }
  3017. next;
  3018. mes "^3355FFNow, please choose";
  3019. mes "the snake in which you";
  3020. mes "will insert the second sword.^000000";
  3021. next;
  3022. switch(select("First Snake:Second Snake:Third Snake:Fourth Snake")) {
  3023. default:
  3024. break;
  3025. case 4:
  3026. set .@KHSwords,.@KHSwords+1;
  3027. break;
  3028. }
  3029. next;
  3030. mes "^3355FFNext, please select";
  3031. mes "the snake in which you";
  3032. mes "will insert the third sword.^000000";
  3033. next;
  3034. switch(select("First Snake:Second Snake:Third Snake:Fourth Snake")) {
  3035. case 1:
  3036. set .@KHSwords,.@KHSwords+1;
  3037. break;
  3038. default:
  3039. break;
  3040. }
  3041. next;
  3042. mes "^3355FFLastly, please select";
  3043. mes "the snake in which you";
  3044. mes "will insert the fourth sword.^000000";
  3045. next;
  3046. switch(select("First Snake:Second Snake:Third Snake:Fourth Snake")) {
  3047. default:
  3048. break;
  3049. case 3:
  3050. set .@KHSwords,.@KHSwords+1;
  3051. break;
  3052. }
  3053. if (.@KHSwords == 4) {
  3054. mes "^3355FFYour ears are suddenly";
  3055. mes "filled with a low buzzing";
  3056. mes "noise, and your mind";
  3057. mes "and body feel as if they";
  3058. mes "are being swept away...^000000";
  3059. set KHCottagePoem1,5;
  3060. set KHCottagePoem2,3;
  3061. close2;
  3062. warp "kh_vila",178,72;
  3063. end;
  3064. }
  3065. else {
  3066. mes "^3355FFNothing happened...";
  3067. mes "You probably didn't";
  3068. mes "insert the swords into";
  3069. mes "the correct snakes. For now,";
  3070. mes "you should return the swords,";
  3071. mes "and then try this again later.^000000";
  3072. close;
  3073. }
  3074. }
  3075. }
  3076. }
  3077. }
  3078. else if ((KHCottagePoem1 == 5) && (KHCottagePoem2 == 3) || (KielHyreQuest >= 30)) {
  3079. mes "^3355FFHere is a hidden";
  3080. mes "path that leads to";
  3081. mes "the secret laboratory.^000000";
  3082. next;
  3083. switch(select("Enter:Cancel")) {
  3084. case 1:
  3085. warp "kh_vila",178,72;
  3086. end;
  3087. case 2:
  3088. close;
  3089. }
  3090. }
  3091. }
  3092. //----------------------------------------------------------------------------
  3093. // Cottage interior, Secret Room; left test tube
  3094. //----------------------------------------------------------------------------
  3095. kh_vila,179,68,0 script Test Tube#khp2 111,{
  3096. mes "^3355FFThis test tube contains";
  3097. mes "a young man dressed in";
  3098. mes "a Kiel Hyre Academy";
  3099. mes "uniform. Somehow, you";
  3100. mes "get the feeling that you've";
  3101. mes "seen him somewhere before.^000000";
  3102. close;
  3103. }
  3104. //----------------------------------------------------------------------------
  3105. // Cottage interior, Secret Room; Right test tube
  3106. //----------------------------------------------------------------------------
  3107. kh_vila,185,68,0 script Test Tube::TestTubeKHQ2 111,{
  3108. if (KielHyreQuest > 28) {
  3109. mes "^3355FFA strange looking,";
  3110. mes "wizened old man is";
  3111. mes "held within this test tube.^000000";
  3112. close;
  3113. }
  3114. else if (KielHyreQuest == 28) {
  3115. mes "^3355FFA strange looking,";
  3116. mes "wizened old man is";
  3117. mes "held within this test tube.";
  3118. mes "There is a small red button";
  3119. mes "right underneath the test tube.^000000";
  3120. next;
  3121. switch(select("Press Button:Investigate Further")) {
  3122. case 1:
  3123. mes "[???]";
  3124. mes "H-hello...? C-can you";
  3125. mes "hear me? I don't recognize";
  3126. mes "you... But... Maybe I forgot?";
  3127. mes "Wait, wait. If you're my friend,";
  3128. mes "then you know what to call me,";
  3129. mes "right? Do you know what I am?";
  3130. next;
  3131. input .@KHInput$;
  3132. if (.@KHInput$ == "little lost devil") {
  3133. mes "[???]";
  3134. mes "Heh... Heh heh...";
  3135. mes "He knows... Hey, you";
  3136. mes "have to remember these";
  3137. mes "numbers, okay? D-don't";
  3138. mes "forget, they'll be important...";
  3139. mes "^FF00004^000000, ^FF00007^000000, ^FF00007^000000, ^FF00002^000000, ^FF00009^000000, ^FF00006^000000, ^FF00001^000000. That's all...";
  3140. next;
  3141. mes "^3355FF4772961^000000";
  3142. mes "^3355FFWhat could^000000";
  3143. mes "^3355FFthose numbers^000000";
  3144. mes "^3355FFpossibly mean?^000000";
  3145. //KHCottagePoem1 and KHCottagePoem2 no longer needed-- deleting
  3146. set KHCottagePoem1,0;
  3147. set KHCottagePoem2,0;
  3148. set KielHyreQuest,30;
  3149. close;
  3150. }
  3151. else {
  3152. mes "[???]";
  3153. mes "No... No...";
  3154. mes "That's not right.";
  3155. mes "I don't think we";
  3156. mes "were friends. No...";
  3157. close;
  3158. }
  3159. case 2:
  3160. mes "^3355FFLet's investigate";
  3161. mes "this area a little";
  3162. mes "more first.^000000";
  3163. close;
  3164. }
  3165. }
  3166. else if (KielHyreQuest >= 30) {
  3167. if ((countitem(7491) > 0) && (countitem(7492) > 0)){
  3168. mes "^3355FFWhat could the";
  3169. mes "number 4772961";
  3170. mes "mean? For now, you've";
  3171. mes "found everything that";
  3172. mes "you need from this place,";
  3173. mes "so you should return to Elly.^000000";
  3174. close;
  3175. }
  3176. else {
  3177. mes "^3355FFWhat could the";
  3178. mes "number 4772961";
  3179. mes "mean? For now, you'd";
  3180. mes "better search this cottage";
  3181. mes "for any clues you can find...^000000";
  3182. close;
  3183. }
  3184. }
  3185. end;
  3186. }
  3187. //============================================================================
  3188. // Robot Factory NPCs
  3189. //============================================================================
  3190. //----------------------------------------------------------------------------
  3191. // Robotic's Factory; Heavy Door
  3192. //----------------------------------------------------------------------------
  3193. kh_dun01,235,48,0 script Heavy Door#kh1::HeavyDoorKHQ1 111,{
  3194. if (KielHyreQuest < 38) {
  3195. mes "^3355FFThere is a large, heavy";
  3196. mes "door infront of you.^000000";
  3197. next;
  3198. switch(select("Open Door:Cancel")) {
  3199. case 1:
  3200. input .@KHInput$;
  3201. mes "^3355FFYou try to push the";
  3202. mes "door open with all";
  3203. mes "your might, but fail";
  3204. mes "to make it budge.^000000";
  3205. close;
  3206. case 2:
  3207. mes "^3355FFyou decided to leave";
  3208. mes "this door alone until";
  3209. mes "you can figure out";
  3210. mes "how to open it^000000";
  3211. close;
  3212. }
  3213. }
  3214. else if ((KielHyreQuest >= 38) && (KielHyreQuest < 46)) {
  3215. mes "^3355FFThere is a large, heavy";
  3216. mes "door in front of you.^000000";
  3217. next;
  3218. switch(select("Open Door:Cancel")) {
  3219. case 1:
  3220. input .@KHInput$;
  3221. if (.@KHInput$ == "Blue Keycard") {
  3222. mes "^3355FFYou've successfully";
  3223. mes "opened the door.";
  3224. close2;
  3225. warp "kh_school",119,144;
  3226. end;
  3227. }
  3228. else {
  3229. mes "^3355FFYou try to push the";
  3230. mes "door open with all";
  3231. mes "your might, but fail";
  3232. mes "to make it budge.^000000";
  3233. close;
  3234. }
  3235. case 2:
  3236. mes "^3355FFYou decided to leave";
  3237. mes "this door alone until";
  3238. mes "you can figure out";
  3239. mes "how you can open it.^000000";
  3240. close;
  3241. }
  3242. }
  3243. else {
  3244. mes "^3355FFThis is an incredibly";
  3245. mes "heavy door that is tightly";
  3246. mes "closed. You won't be able to";
  3247. mes "open it through brute force.^000000";
  3248. close;
  3249. }
  3250. }
  3251. //----------------------------------------------------------------------------
  3252. // Robotic's Factory; Heavy Door (These doors don't seem to serve any purpose)
  3253. //----------------------------------------------------------------------------
  3254. kh_dun01,76,233,0 script Heavy Door::HeavyDoorKHQ2 111,{
  3255. if ((KielHyreQuest >= 38) && (KielHyreQuest < 46)) {
  3256. mes "^3355FFThere is a large, heavy";
  3257. mes "door infront of you.^000000";
  3258. next;
  3259. switch(select("Open Door:Cancel")) {
  3260. case 1:
  3261. input .@KHInput$;
  3262. mes "^3355FFYou try to push the";
  3263. mes "door open with all";
  3264. mes "your might, but fail";
  3265. mes "to make it budge.^000000";
  3266. close;
  3267. case 2:
  3268. mes "^3355FFyou decided to leave";
  3269. mes "this door alone until";
  3270. mes "you can figure out";
  3271. mes "how to open it^000000";
  3272. close;
  3273. }
  3274. }
  3275. else {
  3276. mes "^3355FFThere is a large, heavy";
  3277. mes "door infront of you^000000";
  3278. close;
  3279. }
  3280. }
  3281. kh_dun01,106,233,0 duplicate(HeavyDoorKHQ2) Heavy Door#kh3 111
  3282. kh_dun01,6,164,0 duplicate(HeavyDoorKHQ2) Heavy Door#kh4 111
  3283. kh_dun01,6,133,0 duplicate(HeavyDoorKHQ2) Heavy Door#kh5 111
  3284. kh_dun01,6,60,0 duplicate(HeavyDoorKHQ2) Heavy Door#kh6 111
  3285. kh_dun01,6,30,0 duplicate(HeavyDoorKHQ2) Heavy Door#kh7 111
  3286. kh_dun01,6,18,0 duplicate(HeavyDoorKHQ2) Heavy Door#kh8 111
  3287. kh_dun01,235,70,0 duplicate(HeavyDoorKHQ2) Heavy Door#kh9 111
  3288. kh_dun01,235,92,0 duplicate(HeavyDoorKHQ2) Heavy Door#kh10 111
  3289. kh_dun01,235,114,0 duplicate(HeavyDoorKHQ2) Heavy Door#kh11 111
  3290. //----------------------------------------------------------------------------
  3291. // Beautiful Lady and Beautiful Lady copies.
  3292. //----------------------------------------------------------------------------
  3293. kh_school,119,149,4 script Beautiful Lady#kh1::BeatifulLadyKHQ1 894,{
  3294. cutin "kh_ellisia",2;
  3295. if (KielHyreQuest < 40) {
  3296. mes "[Allysia]";
  3297. mes "Hm? I don't think";
  3298. mes "I know you. Kiel Hyre";
  3299. mes "has only authorized Elly,";
  3300. mes "and a trusted friend that";
  3301. mes "may be helping her, to";
  3302. mes "be admitted to this area.";
  3303. next;
  3304. mes "[Allysia]";
  3305. mes "I cannot see ^FF0000Elly^000000.";
  3306. mes "Has she been attacked as well?";
  3307. mes "Are you ^FF0000Elly's friend^000000?";
  3308. next;
  3309. mes "[Allysia]";
  3310. mes "I don't see Elly anywhere";
  3311. mes "around here. I can only let";
  3312. mes "you enter if you can identify";
  3313. mes "yourself as Elly's friend.";
  3314. mes "Is there anything that you";
  3315. mes "can present to me as proof?";
  3316. next;
  3317. switch(select("Yellow Keycard:Blue Keycard:Golden Key:Carved Button:...?")) {
  3318. default:
  3319. break;
  3320. case 3:
  3321. mes "[Allysia]";
  3322. mes "Ah, isn't this the";
  3323. mes "key that Kiel Hyre gave";
  3324. mes "to Elly? Yes, I'm convinced";
  3325. mes "that you've been helping her.";
  3326. mes "I've been waiting for you, so";
  3327. mes "let me guide you to my room.";
  3328. close2;
  3329. cutin "",255;
  3330. warp "kh_school",120,180;
  3331. end;
  3332. case 4:
  3333. mes "[Allysia]";
  3334. mes "Th-that's Kiehl's";
  3335. mes "seal! Did he send you";
  3336. mes "here to get me?! I'm";
  3337. mes "not taking any chances!";
  3338. close2;
  3339. cutin "",255;
  3340. monster "kh_school",117,144,"Bomb",1745,1;
  3341. monster "kh_school",117,144,"Bomb",1745,1;
  3342. monster "kh_school",117,144,"Bomb",1745,1;
  3343. monster "kh_school",117,144,"Bomb",1745,1;
  3344. end;
  3345. case 5:
  3346. mes "[Allysia]";
  3347. mes "......";
  3348. mes "........";
  3349. mes "...........";
  3350. close2;
  3351. cutin "",255;
  3352. end;
  3353. }
  3354. mes "[Allysia]";
  3355. mes "Hm? This doesn't prove";
  3356. mes "that Elly really trusts you...";
  3357. close2;
  3358. cutin "",255;
  3359. end;
  3360. }
  3361. else if (KielHyreQuest >= 40) {
  3362. mes "[Allysia]";
  3363. mes "Please follow me.";
  3364. close2;
  3365. cutin "",255;
  3366. warp "kh_school",120,180;
  3367. end;
  3368. }
  3369. }
  3370. kh_school,117,149,4 script Beautiful lady#kh2::BeatifulLadyKHQ2 894,{
  3371. end;
  3372. }
  3373. kh_school,118,149,4 duplicate(BeatifulLadyKHQ2) Beautiful lady#kh3 894
  3374. kh_school,120,149,4 duplicate(BeatifulLadyKHQ2) Beautiful lady#kh4 894
  3375. kh_school,121,149,4 duplicate(BeatifulLadyKHQ1) Beautiful lady#kh5 894
  3376. //----------------------------------------------------------------------------
  3377. // Beautiful Lady "Allysia"
  3378. //----------------------------------------------------------------------------
  3379. kh_school,122,186,4 script Beautiful Lady#kh6 894,{
  3380. if (checkweight(7496,1) == 0) {
  3381. mes "^3355FFJust a second...";
  3382. mes "You're carrying too";
  3383. mes "many items with you";
  3384. mes "right now, so you'll";
  3385. mes "need to free up more";
  3386. mes "Inventory space first...^000000";
  3387. close;
  3388. }
  3389. cutin "kh_ellisia",2;
  3390. if (KielHyreQuest < 38) {
  3391. mes "[??????]";
  3392. mes "This is private property.";
  3393. mes "Please leave immediately!";
  3394. close2;
  3395. cutin "kh_ellisia",255;
  3396. warp "yuno_fild08",73,172;
  3397. end;
  3398. }
  3399. else if (KielHyreQuest <= 38) {
  3400. mes "[Allysia]";
  3401. mes "Friend of prototype Elly,";
  3402. mes "I welcome you. As you may";
  3403. mes "have figured out, I need your";
  3404. mes "help. Kiel Hyre is being held";
  3405. mes "somewhere inside this factory.";
  3406. next;
  3407. mes "[Allysia]";
  3408. mes "It is imperative that";
  3409. mes "you search for Kiel Hyre";
  3410. mes "and rescue him as soon";
  3411. mes "as you possibly can!";
  3412. next;
  3413. switch(select("What is this factory?:What happened to ^FF0000Kiel Hyre^000000?")) {
  3414. case 1:
  3415. mes "[Allysia]";
  3416. mes "This factory is part of";
  3417. mes "the Kiel Hyre Foundation's";
  3418. mes "secret business where humanoid";
  3419. mes "robots are manufactured. Myself,";
  3420. mes "and all of the academy's students";
  3421. mes "are actually robots, not humans.";
  3422. next;
  3423. mes "[Allysia]";
  3424. mes "The Kiel Hyre Foundation's";
  3425. mes "ultimate goal is to develop";
  3426. mes "superior robots that will help";
  3427. mes "human society. As robots, we";
  3428. mes "can handle tasks that are too";
  3429. mes "dangerous or difficult for humans.";
  3430. break;
  3431. case 2:
  3432. mes "[Allysia]";
  3433. mes "^3355FFKiehl^000000 has proceeded to";
  3434. mes "perform abnormal modifications";
  3435. mes "to the humanoid robots. This";
  3436. mes "has been reported to Kiel Hyre,";
  3437. mes "who has left to stop Kiehl.";
  3438. mes "However, Hyre hasn't returned.";
  3439. next;
  3440. mes "[Allysia]";
  3441. mes "Fearing that Kiehl would";
  3442. mes "break me, Kiel Hyre brought";
  3443. mes "a copy of me instead. I can still";
  3444. mes "detect Kiel Hyre's heartbeat,";
  3445. mes "so he should be alright, but his";
  3446. mes "own son might harm him soon.";
  3447. next;
  3448. mes "[Allysia]";
  3449. mes "Take this Keycard";
  3450. mes "which will enable you";
  3451. mes "to enter the secret areas";
  3452. mes "inside this factory. If you";
  3453. mes "locate Kiel Hyre, please";
  3454. mes "let me know right away.";
  3455. getitem 7496,1; //Red_Key_Card
  3456. set KielHyreQuest,40;
  3457. break;
  3458. }
  3459. close2;
  3460. cutin "",255;
  3461. end;
  3462. }
  3463. else if (KielHyreQuest == 40) {
  3464. mes "[Allysia]";
  3465. mes "I can still detect";
  3466. mes "Kiel Hyre's heartbeat,";
  3467. mes "but his sone Kiehl might";
  3468. mes "do something desperate to";
  3469. mes "him soon. Please locate Kiel";
  3470. mes "Hyre before that can happen!";
  3471. close2;
  3472. cutin "",255;
  3473. warp "kh_dun01",22,216;
  3474. end;
  3475. }
  3476. else if (KielHyreQuest == 42) {
  3477. mes "[Allysia]";
  3478. mes "Have you already";
  3479. mes "located Kiel Hyre?";
  3480. next;
  3481. mes "^3355FFYou tell Allysia where^000000";
  3482. mes "^3355FFKiel Hyre has been locked^000000";
  3483. mes "^3355FFup, and give her the metal^000000";
  3484. mes "^3355FFfragment that Kiel Hyre handed^000000";
  3485. mes "^3355FFto you. She took fragment^000000";
  3486. mes "^3355FFand wore it around her wrist.^000000";
  3487. next;
  3488. mes "[Allysia]";
  3489. mes "...Kiel Hyre's secret code";
  3490. mes "confirmed. B_2_3 area.";
  3491. mes "Vital signs are normal.";
  3492. mes "Envelope received. Sending";
  3493. mes "modified Puppet Designs...";
  3494. next;
  3495. mes "[Allysia]";
  3496. mes "Alright, I've recieved";
  3497. mes "Kiel Hyre's orders, and";
  3498. mes "must carry them out...";
  3499. delitem 7497,1; //Steel_Piece
  3500. set KielHyreQuest,44;
  3501. close2;
  3502. cutin "",255;
  3503. end;
  3504. }
  3505. else if (KielHyreQuest == 44) {
  3506. mes "[Allysia]";
  3507. mes "Alright, I have a mission";
  3508. mes "to carry out for Kiel Hyre,";
  3509. mes "and I don't have much time.";
  3510. mes "Let me give you some specific";
  3511. mes "instructions very quickly.";
  3512. next;
  3513. mes "[Allysia]";
  3514. mes "Firstly, I need to take your";
  3515. mes "keycards for security reasons.";
  3516. mes "Secondly, meet me at the Kiel";
  3517. mes "Hyre Mansion in Lighthalzen.";
  3518. mes "Present the Golden Key to";
  3519. mes "be admitted to the premises.";
  3520. delitem 7492,1; //Yellow_Key_Card
  3521. delitem 7495,1; //Blue_Key_Card
  3522. delitem 7496,1; //Red_Key_Card
  3523. set KielHyreQuest,46;
  3524. next;
  3525. mes "[Allysia]";
  3526. mes "I understand that this";
  3527. mes "is sudden, and I'm not";
  3528. mes "giving you a thorough";
  3529. mes "explanation, but something";
  3530. mes "horrible will happen if I don't";
  3531. mes "hurry as quickly as possible.";
  3532. close2;
  3533. warp "yuno_fild08",73,172;
  3534. cutin "",255;
  3535. end;
  3536. }
  3537. else if (KielHyreQuest >= 44) {
  3538. mes "[Allysia]";
  3539. mes "I understand that this";
  3540. mes "is sudden, and I'm not";
  3541. mes "giving you a thorough";
  3542. mes "explanation, but something";
  3543. mes "horrible will happen if i don't";
  3544. mes "hurry as quickly as possible.";
  3545. close2;
  3546. warp "yuno_fild08",73,172;
  3547. cutin "",255;
  3548. end;
  3549. }
  3550. }
  3551. //----------------------------------------------------------------------------
  3552. // Signboard (another useless NPC?)
  3553. //----------------------------------------------------------------------------
  3554. kh_dun01,163,223,4 script Signboard#kh 857,{
  3555. mes "[Notice]";
  3556. mes "Cute Pets are prohibited";
  3557. mes "in this area. (Cute Pets that";
  3558. mes "provide special assistance";
  3559. mes "to the visually impaired are";
  3560. mes "exempt from this rule.)";
  3561. close;
  3562. }
  3563. //----------------------------------------------------------------------------
  3564. // Mechanical Devices for accessing restricted area
  3565. //----------------------------------------------------------------------------
  3566. kh_dun01,166,223,0 script Mechanical Device#kh::KHKeyardReader 111,{
  3567. if ((KielHyreQuest <= 38) || (KielHyreQuest >= 44)) {
  3568. mes "^3355FFYou encounter";
  3569. mes "a mechanical device.";
  3570. mes "It looks like it can be";
  3571. mes "operated by inserting the";
  3572. mes "correct keycard into the slot.^000000";
  3573. close;
  3574. }
  3575. else if ((KielHyreQuest == 40) && (countitem(7496) >= 1)) {
  3576. mes "^3355FFYou encounter";
  3577. mes "a mechanical device.";
  3578. mes "It looks like it can be";
  3579. mes "operated by inserting the";
  3580. mes "correct keycard into the slot.^000000";
  3581. next;
  3582. input .@KHInput$;
  3583. if (.@KHInput$ == "Red Keycard") {
  3584. mes "^3355FFThe door opens once";
  3585. mes "you insert the Red Keycard.^000000";
  3586. close2;
  3587. warp "kh_dun01",170,227;
  3588. end;
  3589. }
  3590. else {
  3591. mes "^3355FFNothing happened.^000000";
  3592. close;
  3593. }
  3594. }
  3595. }
  3596. kh_dun01,162,206,0 duplicate(KHKeyardReader) Mechanical Device 111
  3597. //----------------------------------------------------------------------------
  3598. // Keep monsters out of the quest area.
  3599. // Silly really since the rest of it's a dungeon
  3600. //----------------------------------------------------------------------------
  3601. //kh_dun01,180,220,0 script Monster Warp#kh1::KHMobWarp -1,5,20,{
  3602. //OnTouchNPC:
  3603. // warp "kh_dun01",178,138;
  3604. // end;
  3605. //}
  3606. //kh_dun01,190,220,0 duplicate(KHMobWarp) Monster Warp#kh2 -1,5,20
  3607. //kh_dun01,200,250,0 duplicate(KHMobWarp) Monster Warp#kh3 -1,5,20
  3608. //kh_dun01,210,220,0 duplicate(KHMobWarp) Monster Warp#kh4 -1,5,20
  3609. //kh_dun01,220,220,0 duplicate(KHMobWarp) Monster Warp#kh5 -1,5,10
  3610. //----------------------------------------------------------------------------
  3611. // Kiel Hyre - OnTouch
  3612. //----------------------------------------------------------------------------
  3613. kh_dun01,224,233,0 script Factory B Area Door -1,5,5,{
  3614. OnTouch:
  3615. if (KielHyreQuest == 40) {
  3616. if (checkweight(7497,1) == 0) {
  3617. mes "^3355FFJust a second...";
  3618. mes "You're carrying too";
  3619. mes "many items with you";
  3620. mes "right now, so you'll";
  3621. mes "need to free up more";
  3622. mes "Inventory space first...^000000";
  3623. close;
  3624. }
  3625. mes "^3355FFYou can faintly hear";
  3626. mes "a voice from the other";
  3627. mes "side of this door.^000000";
  3628. next;
  3629. mes "[????]";
  3630. mes "^333333...Kiehl...";
  3631. mes "...How dare you...!^000000";
  3632. next;
  3633. mes "["+strcharinfo(0)+"]";
  3634. mes "Mister Kiel Hyre?";
  3635. mes "Is that you in there?";
  3636. next;
  3637. mes "[Kiel Hyre]";
  3638. mes "Wh-who's there?";
  3639. mes "Identify yourself!";
  3640. next;
  3641. mes "["+strcharinfo(0)+"]";
  3642. mes "I'm... I'm...";
  3643. next;
  3644. mes "^3355FFYou explain your story";
  3645. mes "to the voice behind the";
  3646. mes "door, and tell him what";
  3647. mes "happened to Elly and Allysia.^000000";
  3648. next;
  3649. mes "[Kiel Hyre]";
  3650. mes "^333333...Yes... It's me.";
  3651. mes "I'm Kiel Hyre, trapped";
  3652. mes "in here. He went so far";
  3653. mes "as to modify Elly, eh?";
  3654. mes "...............................^000000";
  3655. next;
  3656. mes "[Kiel Hyre]";
  3657. mes "^333333Hurry, take this";
  3658. mes "module to Allysia!";
  3659. mes "She'll know what to do";
  3660. mes "with it. If you're really";
  3661. mes "helping us, then she'll have";
  3662. mes "some instructions for you too.^000000 ";
  3663. next;
  3664. mes "^3355FFKiel Hyre slid";
  3665. mes "a strange metal";
  3666. mes "fragment through";
  3667. mes "the gap between the";
  3668. mes "door and the floor.^000000";
  3669. getitem 7497,1; //Steel_Piece
  3670. set KielHyreQuest,42;
  3671. close;
  3672. }
  3673. else if (KielHyreQuest >= 42) {
  3674. mes "[Kiel Hyre]";
  3675. mes "......";
  3676. close;
  3677. }
  3678. }
  3679. //----------------------------------------------------------------------------
  3680. // Robot Factory Second Floor Entrances
  3681. //----------------------------------------------------------------------------
  3682. kh_dun01,44,203,0 script Entrance Device#khd2::KHAccess 111,{
  3683. if (countitem(7509) < 1) {
  3684. mes "^3355FFYou encounter";
  3685. mes "a mechanical device.";
  3686. mes "It looks like it can be";
  3687. mes "operated by inserting the";
  3688. mes "correct keycard into the slot.^000000";
  3689. close;
  3690. }
  3691. else {
  3692. mes "^3355FFYou encounter";
  3693. mes "a mechanical device.";
  3694. mes "It looks like it can be";
  3695. mes "operated by inserting the";
  3696. mes "correct keycard into the slot.^000000";
  3697. next;
  3698. input .@KHInput$;
  3699. if (.@KHInput$ == "Luxurious Keycard") {
  3700. mes "^3355FFAs you insert the";
  3701. mes "Luxurious Keycard";
  3702. mes "into the keycard slot,";
  3703. mes "the door swings open";
  3704. mes "to reveal a long flight";
  3705. mes "of descending stairs.^000000";
  3706. next;
  3707. switch(select("Descend Stairs:Cancel")) {
  3708. case 1:
  3709. warp "kh_dun02",41,198;
  3710. end;
  3711. case 2:
  3712. mes "^3355FFIt looks like this door";
  3713. mes "has automatically closed";
  3714. mes "after the preprogrammed";
  3715. mes "time limit has elapsed.^000000";
  3716. close;
  3717. }
  3718. }
  3719. else {
  3720. mes "^3355FFYou try to push the";
  3721. mes "door open with all";
  3722. mes "your might, but fail";
  3723. mes "to make it budge.^000000";
  3724. close;
  3725. }
  3726. }
  3727. }
  3728. kh_dun01,36,195,0 duplicate(KHAccess) Entrance Device#khd1 111
  3729. //============================================================================
  3730. // Kiel Hyre Mansion NPCs, and Kiehl's Room NPCs
  3731. //============================================================================
  3732. //----------------------------------------------------------------------------
  3733. // Kiel's Steward
  3734. //----------------------------------------------------------------------------
  3735. kh_mansion,78,55,5 script Steward#kh 109,{
  3736. if (KielHyreQuest < 46) {
  3737. mes "[Steward]";
  3738. mes "This is a private residence,";
  3739. mes "please leave.";
  3740. close2;
  3741. warp "lighthalzen",188,201;
  3742. end;
  3743. }
  3744. if ((KielHyreQuest >= 46) && (KielHyreQuest < 50)) {
  3745. mes "[Steward]";
  3746. mes "Greetings.";
  3747. mes "Have you been invited";
  3748. mes "by the master of";
  3749. mes "this mansion?";
  3750. next;
  3751. switch(select("Present Golden Key:????")) {
  3752. case 1:
  3753. mes "[Steward]";
  3754. mes "Ah, Master "+strcharinfo(0)+".";
  3755. mes "I've been expecting your";
  3756. mes "arrival. Please, this way.";
  3757. close2;
  3758. warp "kh_mansion",21,14;
  3759. end;
  3760. case 2:
  3761. mes "[Steward]";
  3762. mes "If you have not been";
  3763. mes "invited by the master of";
  3764. mes "this mansion, then I'm";
  3765. mes "afraid that I must insist on";
  3766. mes "your immediate departure!";
  3767. close2;
  3768. warp "lighthalzen",188,201;
  3769. end;
  3770. }
  3771. }
  3772. if ((KielHyreQuest >= 50) && (KielHyreQuest < 64) || (KielHyreQuest >= 70)) {
  3773. mes "[Steward]";
  3774. mes "Ah, Master "+strcharinfo(0)+".";
  3775. mes "It is a pleasure to";
  3776. mes "receive your company";
  3777. mes "once again. Would you";
  3778. mes "like to see my master?";
  3779. next;
  3780. switch(select("Yes:No")) {
  3781. case 1:
  3782. mes "[Steward]";
  3783. mes "Very well.";
  3784. mes "Right this way~";
  3785. close2;
  3786. warp "kh_mansion",21,14;
  3787. end;
  3788. case 2:
  3789. mes "[Steward]";
  3790. mes "Very well.";
  3791. mes "Please make";
  3792. mes "yourself at home.";
  3793. close;
  3794. }
  3795. }
  3796. if ((KielHyreQuest == 52) || (KielHyreQuest == 54) || (KielHyreQuest >= 64) && (KielHyreQuest <= 70)) {
  3797. mes "[Steward]";
  3798. mes "Ah, Master "+strcharinfo(0)+".";
  3799. mes "It is a pleasure to";
  3800. mes "receive your company";
  3801. mes "once again. Would you";
  3802. mes "like to see my master, or...?";
  3803. next;
  3804. switch(select("^FF0000Kiel Hyre^000000:^3355FFMitchell^000000")) {
  3805. case 1:
  3806. mes "[Steward]";
  3807. mes "Very well.";
  3808. mes "Right this way~";
  3809. close2;
  3810. warp "kh_mansion",21,14;
  3811. end;
  3812. case 2:
  3813. mes "[Steward]";
  3814. mes "Oh...? You must.";
  3815. mes "be here to deliver";
  3816. mes "good news. Excuse me...";
  3817. next;
  3818. mes "^3355FFThe Steward furtively^000000";
  3819. mes "^3355FFlooked around to check^000000";
  3820. mes "^3355FFif anyone is watching him.^000000";
  3821. next;
  3822. mes "[Steward]";
  3823. mes "I believe it should";
  3824. mes "be safe enough to let";
  3825. mes "you go see him now...";
  3826. mes "Please, hurry this way.";
  3827. close2;
  3828. warp "kh_mansion",20,87;
  3829. end;
  3830. }
  3831. }
  3832. }
  3833. //----------------------------------------------------------------------------
  3834. // Kiel Hyre
  3835. //----------------------------------------------------------------------------
  3836. kh_mansion,22,28,4 script Kiel Hyre#kh 903,{
  3837. if (checkweight(908,200) == 0) {
  3838. mes "^3355FFJust a second...";
  3839. mes "You're carrying too";
  3840. mes "many items with you";
  3841. mes "right now, so you'll";
  3842. mes "need to free up more";
  3843. mes "inventory space first...^000000";
  3844. close;
  3845. }
  3846. cutin "kh_kyel01",2;
  3847. if (KielHyreQuest < 46) {
  3848. mes "[Kiel Hyre]";
  3849. mes ".........";
  3850. mes ".........";
  3851. mes "............";
  3852. close2;
  3853. cutin "",255;
  3854. end;
  3855. }
  3856. else if (KielHyreQuest == 46) {
  3857. cutin "kh_kyel01",2;
  3858. mes "[Kiel Hyre]";
  3859. mes "Ah, you must be "+strcharinfo(0)+".";
  3860. mes "I'd like to thank you for saving";
  3861. mes "my life. You must have many";
  3862. mes "questions to ask me, so I'll";
  3863. mes "do my best to give you answers.";
  3864. next;
  3865. while(1) {
  3866. switch(select("Robots?:^3355FFKiehl^000000?:^FF0000Elly^000000's button?")) {
  3867. case 1:
  3868. mes "[Kiel Hyre]";
  3869. mes "I've been researching";
  3870. mes "robotics for thirty-two";
  3871. mes "years now. I'm proud to";
  3872. mes "say that I've succeeded";
  3873. mes "where the great Sage";
  3874. mes "Varmundt did not.";
  3875. next;
  3876. mes "[Kiel Hyre]";
  3877. mes "It's been my dream to";
  3878. mes "develop humanoid robots";
  3879. mes "from humans. Those Guardians";
  3880. mes "might be robots too, but they";
  3881. mes "don't operate using free will.";
  3882. next;
  3883. mes "[Kiel Hyre]";
  3884. mes "If you'd like to know more";
  3885. mes "of the specifics concerning";
  3886. mes "robotics, why don't you speak";
  3887. mes "with ^3355FFAllysia^000000? She can explain";
  3888. mes "everything much more succinctly";
  3889. mes "than I can. I tend to ramble...";
  3890. set .@KHQRead,.@KHQRead+1;
  3891. next;
  3892. break;
  3893. case 2:
  3894. mes "[Kiel Hyre]";
  3895. mes "^3355FFKiehl^000000 is my only son,";
  3896. mes "but the love of my life";
  3897. mes "died after giving birth to";
  3898. mes "him. I'll admit that he's";
  3899. mes "a genius in mechanical";
  3900. mes "design and development.";
  3901. next;
  3902. mes "[Kiel Hyre]";
  3903. mes "He's largely responsible";
  3904. mes "for the creation of Third";
  3905. mes "Generation robots like Elly.";
  3906. mes "Unfortunately, he's trying to";
  3907. mes "modify his creations for";
  3908. mes "some sinister purpose.";
  3909. next;
  3910. mes "[Kiel Hyre]";
  3911. mes "I tried to stop him,";
  3912. mes "but I ended up getting";
  3913. mes "locked inside the factory.";
  3914. mes "I don't know why he wants";
  3915. mes "to do this. I still have";
  3916. mes "absolutely no clue...";
  3917. set .@KHQRead,.@KHQRead+1;
  3918. next;
  3919. break;
  3920. case 3:
  3921. mes "[Kiel Hyre]";
  3922. mes "That button Elly was";
  3923. mes "holding has ^3355FFKiehl's emblem^000000";
  3924. mes "engraved on it. Ah, and that";
  3925. mes "man in black menacing the";
  3926. mes "students? That was probably";
  3927. mes "^3355FFKaiser^000000, Kiehl's bodyguard.";
  3928. next;
  3929. mes "[Kiel Hyre]";
  3930. mes "Kaiser...";
  3931. mes "I don't know";
  3932. mes "anything about him.";
  3933. mes "I've never even seen";
  3934. mes "his face! Kiehl just hired";
  3935. mes "him without letting me know...";
  3936. set .@KHQRead,.@KHQRead+1;
  3937. next;
  3938. break;
  3939. }
  3940. if (.@KHQRead == 3) {
  3941. mes "[Kiel Hyre]";
  3942. mes "If you don't have";
  3943. mes "anymore questions for me,";
  3944. mes "then would you please";
  3945. mes "let me rest?? I'm still not";
  3946. mes "feeling well from the time";
  3947. mes "I was locked up in the factory.";
  3948. delitem 7493,1; //Golden_Key
  3949. delitem 7494,1; //Kiel_Button
  3950. set KielHyreQuest,48;
  3951. break;
  3952. }
  3953. }
  3954. }
  3955. else if (KielHyreQuest == 48) {
  3956. mes "[Kiel Hyre]";
  3957. mes "Ah, I almost forgot.";
  3958. mes "Please, take this as";
  3959. mes "a little reward for";
  3960. mes "saving my life.";
  3961. getitem 12105,1; //Taming_Gift_Set
  3962. getexp (checkre(3))?70000:700000,0;
  3963. set KielHyreQuest,50;
  3964. }
  3965. else if ((KielHyreQuest >= 50) && (KielHyreQuest < 64)) {
  3966. mes "[Kiel Hyre]";
  3967. mes "If you don't have";
  3968. mes "anymore questions for me,";
  3969. mes "then would you please";
  3970. mes "let me rest?? I'm still not";
  3971. mes "feeling well from the time";
  3972. mes "I was locked up in the factory.";
  3973. }
  3974. else if (KielHyreQuest == 64) {
  3975. cutin "kh_kyel01",2;
  3976. mes "[Kiel Hyre]";
  3977. mes "Hm? Did you";
  3978. mes "have something";
  3979. mes "that you wanted";
  3980. mes "to ask me?";
  3981. next;
  3982. mes "["+strcharinfo(0)+"]";
  3983. mes "I don't have enough";
  3984. mes "concrete evidence yet,";
  3985. mes "but I might have some";
  3986. mes "questions soon enough.";
  3987. }
  3988. else if (KielHyreQuest == 68) {
  3989. cutin "kh_kyel02",2;
  3990. mes "[Kiel Hyre]";
  3991. mes "Ah, "+strcharinfo(0)+".";
  3992. mes "It's you. So how can";
  3993. mes "I help you today?";
  3994. next;
  3995. select("About ^3355FFAllysia^000000...");
  3996. mes "["+strcharinfo(0)+"]";
  3997. mes "You know, I was looking";
  3998. mes "through this deserted house";
  3999. mes "in Juno, and discovered";
  4000. mes "an old portrait of a woman";
  4001. mes "that looks just like Allysia.";
  4002. next;
  4003. cutin "kh_kyel02",2;
  4004. mes "[Kiel Hyre]";
  4005. mes "Oh...";
  4006. mes "Is that all?";
  4007. mes "I thought you had";
  4008. mes "a robotics question.";
  4009. next;
  4010. cutin "kh_Kyel03",2;
  4011. mes "[Kiel Hyre]";
  4012. mes "Anyway, that's a";
  4013. mes "strange coincidence.";
  4014. mes "Well, I suppose it's";
  4015. mes "not so strange to find";
  4016. mes "look-a-likes for other people...";
  4017. next;
  4018. mes "["+strcharinfo(0)+"]";
  4019. mes "I don't think it's just";
  4020. mes "a coincidence. The woman";
  4021. mes "in that thirty year old portrait";
  4022. mes "was also named Allysia, and she";
  4023. mes "worked at Orsimier street";
  4024. mes "in Juno. Does that ring a bell?";
  4025. next;
  4026. cutin "kh_kyel02",2;
  4027. mes "[Kiel Hyre]";
  4028. mes "......";
  4029. mes ".........";
  4030. mes "............";
  4031. next;
  4032. cutin "kh_kyel01",2;
  4033. mes "["+strcharinfo(0)+"]";
  4034. mes "Then I thought that this";
  4035. mes "Allysia must have been the";
  4036. mes "woman that you loved, and";
  4037. mes "that you based your robot's";
  4038. mes "apperance on her.";
  4039. next;
  4040. cutin "kh_kyel02",2;
  4041. mes "[Kiel Hyre]";
  4042. mes "............";
  4043. next;
  4044. cutin "kh_kyel01",2;
  4045. mes "["+strcharinfo(0)+"]";
  4046. mes "I think this is what happened:";
  4047. mes "when you were a young, poor";
  4048. mes "man, you fell in love with";
  4049. mes "Allysia. However, she was";
  4050. mes "in love with Rosimier, who";
  4051. mes "was rich and powerful.";
  4052. next;
  4053. mes "["+strcharinfo(0)+"]";
  4054. mes "However, Rosimier was";
  4055. mes "betrothed to some other";
  4056. mes "woman, and he ended up";
  4057. mes "marrying his fiancee, thus";
  4058. mes "breaking Allysia's heart.";
  4059. next;
  4060. mes "["+strcharinfo(0)+"]";
  4061. mes "Feeling betrayed, her";
  4062. mes "heart broken, Allysia jumped";
  4063. mes "into a river. Then, you decided";
  4064. mes "to get revenge on Rosimier, so";
  4065. mes "you ended up joining";
  4066. mes "Rekenber Corporation!";
  4067. next;
  4068. cutin "kh_Kyel03",2;
  4069. mes "[Kiel Hyre]";
  4070. mes "Hahahahahahaha!";
  4071. mes "Oh, what an imagination~";
  4072. mes "That's very ridiculous...";
  4073. mes "Though, I admit, maybe";
  4074. mes "I did design Allysia after";
  4075. mes "seeing that woman long ago.";
  4076. next;
  4077. mes "[Kiel Hyre]";
  4078. mes "I'd almost forgotten";
  4079. mes "about her! I think we";
  4080. mes "were friends... Though,";
  4081. mes "where did you get the idea";
  4082. mes "that I might have";
  4083. mes "been in love with her?";
  4084. next;
  4085. select("Reveal Kiel's Portrait from Hut");
  4086. cutin "kh_kyel02",2;
  4087. mes "[Kiel Hyre]";
  4088. mes "Wh-what...";
  4089. mes "How did...";
  4090. mes "Where did you...?";
  4091. next;
  4092. mes "["+strcharinfo(0)+"]";
  4093. mes "Kiel Hyre, I found this";
  4094. mes "portrait of you as a young";
  4095. mes "man from the house of the";
  4096. mes "man that bought Allysia's ring.";
  4097. mes "I even spoke to the fisherman";
  4098. mes "that discovered Allysia's body.";
  4099. next;
  4100. mes "["+strcharinfo(0)+"]";
  4101. mes "You paid an awful lot";
  4102. mes "of money to buy Allysia's";
  4103. mes "ring. How can you not tell";
  4104. mes "me that you didn't love her?";
  4105. next;
  4106. cutin "kh_Kyel03",2;
  4107. mes "[Kiel Hyre]";
  4108. mes "*Sigh...*";
  4109. mes "You got me, you got me.";
  4110. mes "I didn't want you to learn";
  4111. mes "the truth. You are correct.";
  4112. mes "I loved Allysia, and designed";
  4113. mes "my robot to look just like her.";
  4114. next;
  4115. mes "[Kiel Hyre]";
  4116. mes "I could never forget her.";
  4117. mes "Ever. But I would never";
  4118. mes "do anything to harm the";
  4119. mes "Rosimiers! I'm a scientist!";
  4120. mes "I hated him when I was young,";
  4121. mes "but things are different now!";
  4122. next;
  4123. mes "[Kiel Hyre]";
  4124. mes "I shed no tears when the";
  4125. mes "Rosimiers fell, but I wasn't";
  4126. mes "responsible. Besides, I didn't";
  4127. mes "have the resources or the";
  4128. mes "capability to cause it...";
  4129. next;
  4130. cutin "kh_kyel02",2;
  4131. mes "["+strcharinfo(0)+"]";
  4132. mes "I'm afraid that the";
  4133. mes "evidence shows otherwise.";
  4134. next;
  4135. select("Reveal Portrait of Rosimiers");
  4136. mes "["+strcharinfo(0)+"]";
  4137. mes "Take a good look";
  4138. mes "at this portrait that";
  4139. mes "I found at the Rosimiers'";
  4140. mes "old house. Do you see";
  4141. mes "anything... incriminating?";
  4142. next;
  4143. cutin "kh_Kyel03",2;
  4144. mes "[Kiel Hyre]";
  4145. mes "Aside from that";
  4146. mes "James Rosimier, you";
  4147. mes "mean? No! I don't see";
  4148. mes "anything wrong with";
  4149. mes "this picture at all.";
  4150. next;
  4151. mes "["+strcharinfo(0)+"]";
  4152. mes "Take a good look";
  4153. mes "at the pocketwatch";
  4154. mes "in the portrait. That's";
  4155. mes "the pocketwatch you";
  4156. mes "wear today, isn't it?";
  4157. next;
  4158. cutin "kh_kyel02",2;
  4159. mes "[Kiel Hyre]";
  4160. mes "...!!!";
  4161. next;
  4162. mes "["+strcharinfo(0)+"]";
  4163. mes "You might not have caused";
  4164. mes "the downfall of the Rosimiers";
  4165. mes "yourself, but with the aid of";
  4166. mes "the Rekenber Corporation, I'd";
  4167. mes "say it was entirely possible!";
  4168. next;
  4169. cutin "kh_Kyel03",2;
  4170. mes "[Kiel Hyre]";
  4171. mes "Well played, adventurer.";
  4172. mes "Well played. I don't regret";
  4173. mes "what I did: they killed my";
  4174. mes "Allysia! If James didn't betray";
  4175. mes "her, if only he didn't drive";
  4176. mes "her to commit suicide...";
  4177. next;
  4178. mes "["+strcharinfo(0)+"]";
  4179. mes "That's where you're wrong!";
  4180. mes "Allysia was killed, she didn't";
  4181. mes "commit suicide. Take a good";
  4182. mes "look at this note right here!";
  4183. next;
  4184. mes "[Kiel Hyre]";
  4185. mes "What?!";
  4186. next;
  4187. select("Show James's Note");
  4188. mes "[Kiel Hyre]";
  4189. mes "What does this prove?";
  4190. mes "This doesn't show that";
  4191. mes "James didn't betray Allysia.";
  4192. mes "How does this change anything?";
  4193. mes "She's dead, nothing I can do";
  4194. mes "will bring her back to me!";
  4195. next;
  4196. mes "["+strcharinfo(0)+"]";
  4197. mes "I never said James didn't";
  4198. mes "betray her. Look at the date";
  4199. mes "on the note. James made plans";
  4200. mes "to run away with her on August";
  4201. mes "20th. However, her body was";
  4202. mes "found on the same day.";
  4203. next;
  4204. mes "["+strcharinfo(0)+"]";
  4205. mes "Ergo, Allysia must have";
  4206. mes "died on August 19th. If she";
  4207. mes "was planning to run away with";
  4208. mes "her love on the next day, then";
  4209. mes "she had no reason to kill herself!";
  4210. next;
  4211. mes "[Kiel Hyre]";
  4212. mes "No, that's not right!";
  4213. mes "She probably couldn't";
  4214. mes "trust me! She must have";
  4215. mes "realized she was nothing";
  4216. mes "but another toy to him!";
  4217. next;
  4218. mes "["+strcharinfo(0)+"]";
  4219. mes "Oh yeah? I say she jumped";
  4220. mes "into the river because you";
  4221. mes "met her on that day. Now,";
  4222. mes "take a good look at this!";
  4223. next;
  4224. select("Show K.H.'s note");
  4225. mes "["+strcharinfo(0)+"]";
  4226. mes "This note was written by";
  4227. mes "a man with your initials,";
  4228. mes "K.H. These initials were also";
  4229. mes "signed on her portrait. You";
  4230. mes "must have written this note:";
  4231. mes "there's too many coincidences!";
  4232. next;
  4233. mes "["+strcharinfo(0)+"]";
  4234. mes "According to this note,";
  4235. mes "you told Allysia that you";
  4236. mes "wanted to see her again";
  4237. mes "at the place you first met.";
  4238. mes "I think you did see her again...";
  4239. mes "on August 19th, the day she died!";
  4240. next;
  4241. mes "["+strcharinfo(0)+"]";
  4242. mes "I'm assuming the place you";
  4243. mes "two first met was near the";
  4244. mes "river. No more of your lies:";
  4245. mes "Tell me what really happened!";
  4246. next;
  4247. cutin "kh_kyel02",2;
  4248. mes "[Kiel Hyre]";
  4249. mes "............";
  4250. mes ".........";
  4251. mes "......";
  4252. next;
  4253. cutin "kh_Kyel03",2;
  4254. mes "[Kiel Hyre]";
  4255. mes "Hah... Ha ha ha...";
  4256. mes "Yes... That's right...";
  4257. mes "That horrible night.";
  4258. mes "I remember it well...";
  4259. mes ".....................";
  4260. next;
  4261. cutin "kh_kyel02",2;
  4262. mes "[Kiel Hyre]";
  4263. mes "That night, when she came";
  4264. mes "to the river to meet me as";
  4265. mes "I had asked, I begged her to";
  4266. mes "run away with me, instead";
  4267. mes "of waiting for that James.";
  4268. next;
  4269. mes "[Kiel Hyre]";
  4270. mes "She insisted that James";
  4271. mes "never betrayed her, and he";
  4272. mes "promised to take her away";
  4273. mes "with him the next day. Can";
  4274. mes "you imagine how that made";
  4275. mes "me feel? I was nothing to her.";
  4276. next;
  4277. mes "[Kiel Hyre]";
  4278. mes "My feelings didn't matter to";
  4279. mes "her at all! She kept fidgeting";
  4280. mes "with that ring...I lost control";
  4281. mes "and tried to take that damned";
  4282. mes "thing away from her, and";
  4283. mes "throw it into the river...";
  4284. next;
  4285. mes "[Kiel Hyre]";
  4286. mes "But you know what?";
  4287. mes "She struggled, she actually";
  4288. mes "fought me! It was just a small";
  4289. mes "fight, but then, before I knew";
  4290. mes "it, the ground underneath us";
  4291. mes "collapsed and... the rains...";
  4292. next;
  4293. select(".........");
  4294. mes "[Kiel Hyre]";
  4295. mes "I'm not sure what it";
  4296. mes "was. The rain weakened";
  4297. mes "the ground, something went";
  4298. mes "wrong... and she just... just...";
  4299. mes "The river swallowed her...";
  4300. mes "I felt empty. She was gone. ";
  4301. delitem 7499,1; //Family_Portrait
  4302. delitem 7500,1; //Elysia_Portrait
  4303. delitem 7501,1; //Kyll_Hyre_Letter2
  4304. delitem 7502,1; //Piece_Memo_Of_James
  4305. delitem 7503,1; //Man_Portrait
  4306. set KielHyreQuest,70;
  4307. close2;
  4308. cutin "",255;
  4309. end;
  4310. }
  4311. else if (KielHyreQuest <= 70) {
  4312. cutin "kh_kyel01",2;
  4313. mes "[Kiel Hyre]";
  4314. mes "You already know that";
  4315. mes "she was found dead the";
  4316. mes "next day. But what really";
  4317. mes "broke my heart was that";
  4318. mes "she held that ring so tightly";
  4319. mes "in her hand, even in death...";
  4320. next;
  4321. cutin "kh_kyel03",2;
  4322. mes "[Kiel Hyre]";
  4323. mes "His family had everything";
  4324. mes "while I had nothing. And";
  4325. mes "he had the audacity to take";
  4326. mes "Allysia away from me?!";
  4327. mes "How could that be right?";
  4328. next;
  4329. mes "[Kiel Hyre]";
  4330. mes "Even though she had passed";
  4331. mes "away, I still wanted to prove";
  4332. mes "to Allysia what kind of ugly";
  4333. mes "person James really was.";
  4334. mes "That was when I joined the";
  4335. mes "Rekenber Corporation.";
  4336. next;
  4337. mes "[Kiel Hyre]";
  4338. mes "I designed the very first";
  4339. mes "First Generation Robot, which";
  4340. mes "I named Allysia, and sold the";
  4341. mes "designs to Rekenber. I gave them";
  4342. mes "robots, and they gave me money,";
  4343. mes "power, obedient subordinates.";
  4344. next;
  4345. mes "[Kiel Hyre]";
  4346. mes "Of course I knew they'd use";
  4347. mes "my robots for spying and killing!";
  4348. mes "But you know what? It didn't";
  4349. mes "matter so long as they gave me";
  4350. mes "the means to my revenge. It was";
  4351. mes "the perfect partnership, really.";
  4352. next;
  4353. mes "[Kiel Hyre]";
  4354. mes "You've got me right";
  4355. mes "where you want me.";
  4356. mes "Who are you working";
  4357. mes "for, and what exactly";
  4358. mes "do you want? My designs?";
  4359. mes "My death? Everything...?";
  4360. next;
  4361. cutin "kh_kyel01",2;
  4362. mes "["+strcharinfo(0)+"]";
  4363. mes "Actually, I just want";
  4364. mes "to ask about the nature";
  4365. mes "of your professional";
  4366. mes "relationship with the";
  4367. mes "Rekenber Corporation.";
  4368. mes "And about Kiehl.";
  4369. next;
  4370. mes "[Kiel Hyre]";
  4371. mes "Kiehl, eh? After hearing";
  4372. mes "my crazy story, I'm guessing";
  4373. mes "that you already suspect the";
  4374. mes "truth about him... He's also";
  4375. mes "a robot, specifically the first";
  4376. mes "of the Second Generation models.";
  4377. next;
  4378. mes "[Kiel Hyre]";
  4379. mes "His mind was developed using.";
  4380. mes "an experimental, and unstable,";
  4381. mes "form of the Condensed Magic";
  4382. mes "Spell Scrolls. He was the only";
  4383. mes "Second Generation robot that";
  4384. mes "I was allowed to keep.";
  4385. next;
  4386. mes "[Kiel Hyre]";
  4387. mes "I've become very attached";
  4388. mes "to Kiehl. It's not surprising,";
  4389. mes "seeing that robotics have";
  4390. mes "become my life. I even raised";
  4391. mes "him as my own son, and taught";
  4392. mes "him everything about robotics";
  4393. next;
  4394. mes "[Kiel Hyre]";
  4395. mes "Kiehl is now a genius,";
  4396. mes "and has even developed the";
  4397. mes "Third Generation of robots.";
  4398. mes "Unfortunately, I failed to";
  4399. mes "properly raise him with";
  4400. mes "human morals and ethics.";
  4401. next;
  4402. select("......");
  4403. mes "[Kiel Hyre]";
  4404. mes "He's been transforming";
  4405. mes "the Third Generation robots";
  4406. mes "into killing machines. That's";
  4407. mes "why I tried to put them all";
  4408. mes "into the academy, so they";
  4409. mes "could learn human behavior.";
  4410. next;
  4411. mes "[Kiel Hyre]";
  4412. mes "Although the academy";
  4413. mes "has delayed Kiehl's plans,";
  4414. mes "he has succeeded into";
  4415. mes "converting all of the robots";
  4416. mes "into uncontrollable engines";
  4417. mes "of mass destruction.";
  4418. next;
  4419. mes "[Kiel Hyre]";
  4420. mes "Yes, he's been working";
  4421. mes "closely with Rekenber.";
  4422. mes "Their true objective is to";
  4423. mes "create killing machines";
  4424. mes "for Rekenber's use.";
  4425. next;
  4426. mes "[Kiel Hyre]";
  4427. mes "You know all the secrets";
  4428. mes "of my past now. I'm not";
  4429. mes "upset with you or anything,";
  4430. mes "but I do have something";
  4431. mes "that I want to ask of you.";
  4432. next;
  4433. mes "[Kiel Hyre]";
  4434. mes "Please! Stop Kiehl!";
  4435. mes "I don't want his madness";
  4436. mes "to destroy any more robots!";
  4437. mes "I see each and every one";
  4438. mes "of them as one of my children!";
  4439. next;
  4440. mes "[Kiel Hyre]";
  4441. mes "I know that I must take";
  4442. mes "full responsibility for all";
  4443. mes "that has happened. I promise";
  4444. mes "to take any punishment for";
  4445. mes "my actions once everything";
  4446. mes "has been resolved.";
  4447. next;
  4448. select("Accept:Okay:Nod");
  4449. mes "[Kiel Hyre]";
  4450. mes "Thank you so much!";
  4451. mes "You can find Kiehl";
  4452. mes "in the underground";
  4453. mes "level in this mansion.";
  4454. next;
  4455. mes "[Kiel Hyre]";
  4456. mes "He stays in the old room";
  4457. mes "where he was created, but";
  4458. mes "he reconstructed it as some";
  4459. mes "kind of cave to keep everyone";
  4460. mes "out, including me. Yes, he";
  4461. mes "doesn't trust anyone anymore...";
  4462. next;
  4463. mes "[Kiel Hyre]";
  4464. mes "When you find him, I want";
  4465. mes "you to take Allysia's ring";
  4466. mes "out of his heart. If you";
  4467. mes "remove it, that should stop";
  4468. mes "him from going berserk.";
  4469. next;
  4470. select("Allysia's Ring?");
  4471. mes "[Kiel Hyre]";
  4472. mes "Yes... Her ring is the";
  4473. mes "beginning of everything";
  4474. mes "I put that in his heart so";
  4475. mes "that I'd never forget what";
  4476. mes "the Rosimiers did to me.";
  4477. next;
  4478. mes "[Kiel Hyre]";
  4479. mes "I think Kiehl's grown";
  4480. mes "so powerful that normal";
  4481. mes "weapons might not work";
  4482. mes "on him anymore. Use this";
  4483. mes "device that will cause his";
  4484. mes "power supply to fluctuate.";
  4485. getitem 7504,1; //Toy_Motor
  4486. next;
  4487. cutin "kh_kyel03",2;
  4488. mes "[Kiel Hyre]";
  4489. mes "If you successfully attach";
  4490. mes "this to Kiehl's body, then";
  4491. mes "he won't be able to use his";
  4492. mes "body's full power. While he's";
  4493. mes "weakened, open up his chest";
  4494. mes "and get the ring from his heart.";
  4495. next;
  4496. mes "[Kiel Hyre]";
  4497. mes "Let me know once";
  4498. mes "you're ready. Then, I'll";
  4499. mes "guide you Kiehl's room.";
  4500. set KielHyreQuest,74;
  4501. }
  4502. else if ((KielHyreQuest >= 74) && (KielHyreQuest <= 104)) {
  4503. mes "[Kiel Hyre]";
  4504. mes "Are you ready";
  4505. mes "to confront";
  4506. mes "Kiehl now?";
  4507. next;
  4508. switch(select("Yes:No")) {
  4509. case 1:
  4510. mes "[Kiel Hyre]";
  4511. mes "There... the secret";
  4512. mes "passage is open now.";
  4513. mes "Just go to the right of";
  4514. mes "me, but be careful. Kiehl";
  4515. mes "is extremely dangerous.";
  4516. close2;
  4517. enablenpc "Kiehl_Room_Warp";
  4518. donpcevent "Kiehl_Room_Warp::OnEnable";
  4519. cutin "",255;
  4520. end;
  4521. break;
  4522. case 2:
  4523. mes "[Kiel Hyre]";
  4524. mes "Please take your";
  4525. mes "time. I imagine that";
  4526. mes "it won't be easy.";
  4527. break;
  4528. }
  4529. }
  4530. else if ((KielHyreQuest >= 74) && (KielHyreQuest <= 106)) {
  4531. cutin "kh_kyel01",2;
  4532. mes "[Kiel Hyre]";
  4533. mes "You're back...!";
  4534. mes "So were you able";
  4535. mes "to retrieve Allysia's";
  4536. mes "Ring from Kiehl's heart?";
  4537. next;
  4538. if (countitem(7508) < 1) {
  4539. mes "[Kiel Hyre]";
  4540. mes "You mean... You don't have it?";
  4541. mes "Please, retrieve Allysia's Ring";
  4542. mes "from Kiehl's heart!";
  4543. next;
  4544. enablenpc "Kiehl_Room_Warp";
  4545. donpcevent "Kiehl_Room_Warp::OnEnable";
  4546. close2;
  4547. cutin "",255;
  4548. end;
  4549. }
  4550. mes "[Kiel Hyre]";
  4551. mes "Wh-what happened...?";
  4552. mes "Kiehl developed a new";
  4553. mes "body for himself? Th-that";
  4554. mes "would make him a Fourth";
  4555. mes "Generation robot. I had";
  4556. mes "no idea he was this smart.";
  4557. next;
  4558. mes "[Kiel Hyre]";
  4559. mes "Wait, now that I think about";
  4560. mes "it, I did see robot bodies that";
  4561. mes "looked like Kiehl when I was";
  4562. mes "locked in the factory. So he";
  4563. mes "was using those copies to";
  4564. mes "develop personal upgrades.";
  4565. next;
  4566. mes "[Kiel Hyre]";
  4567. mes "Here, please take this";
  4568. mes "Keycard which will let you";
  4569. mes "enter and investigate the";
  4570. mes "deepest levels of the factory.";
  4571. mes "I'll investigate Kiehl's room.";
  4572. getitem 7509,1; //Fancy_Key_Card
  4573. set KielHyreQuest,108;
  4574. next;
  4575. if (Sex == SEX_FEMALE) {
  4576. if (getpartnerid() == 0) set .@KHTitle$,"Miss";
  4577. else set .@KHSTitle$,"Mrs";
  4578. }
  4579. else set .@KHTitle$,"Mr";
  4580. mes "[Kiel Hyre]";
  4581. mes "Kiehl is my responsibility...";
  4582. mes "No matter what the cost may";
  4583. mes "be, I've got to stop him! Oh,";
  4584. mes "and here, please take this";
  4585. mes "with my thanks for all of";
  4586. mes "your help, "+.@KHTitle$+" "+strcharinfo(0)+".";
  4587. getitem 616,1; //Old Card Album
  4588. delitem 7508,1; //Elysia_Ring
  4589. getexp (checkre(3))?100000:1000000,0;
  4590. }
  4591. else if (KielHyreQuest >= 108) {
  4592. mes "[Kiel Hyre]";
  4593. mes "......";
  4594. mes ".........";
  4595. mes "............";
  4596. }
  4597. close2;
  4598. cutin "",255;
  4599. end;
  4600. }
  4601. //----------------------------------------------------------------------------
  4602. // Allysia
  4603. //----------------------------------------------------------------------------
  4604. kh_mansion,18,30,4 script Allysia 894,{
  4605. if (KielHyreQuest < 46) {
  4606. mes "[Allysia]";
  4607. mes "Who are you?";
  4608. mes "How did you get here?";
  4609. mes "Go away";
  4610. close;
  4611. }
  4612. cutin "kh_ellisia",2;
  4613. if (KielHyreQuest < 70) {
  4614. mes "[Allysia]";
  4615. mes "You must be surprised";
  4616. mes "by everything that's been";
  4617. mes "happening. Maybe everything";
  4618. mes "would be easier to understand";
  4619. mes "if I explained about robots?";
  4620. next;
  4621. switch(select("Yes:No")) {
  4622. case 1:
  4623. mes "[Allysia]";
  4624. mes "The robots you've been";
  4625. mes "encountering are automated";
  4626. mes "mechanical puppets that can";
  4627. mes "independantly think and operate.";
  4628. mes "Many sages have tried to develop";
  4629. mes "their own robots, but have failed.";
  4630. next;
  4631. mes "[Allysia]";
  4632. mes "My master, Kiel Hyre, has";
  4633. mes "been studying robotics since";
  4634. mes "he was twenty years old, and";
  4635. mes "has developed three different";
  4636. mes "generations of robots, the first,";
  4637. mes "second, and third generations.";
  4638. next;
  4639. switch(select("First Generation:Second Generation:Third Generation")) {
  4640. case 1:
  4641. mes "[Allysia]";
  4642. mes "I am a good example of one";
  4643. mes "of Kiel Hyre's First Generation";
  4644. mes "robots. I was constructed using";
  4645. mes "a heavy mechanical framework,";
  4646. mes "a robotic heart, and chemically";
  4647. mes "synthesized skin covering.";
  4648. next;
  4649. mes "[Allysia]";
  4650. mes "My central processing unit,";
  4651. mes "equivalent to your brain, is";
  4652. mes "essentially a Memory Scroll";
  4653. mes "based on the design of the";
  4654. mes "Magic Spell Scrolls that you";
  4655. mes "adventurers use in battle.";
  4656. next;
  4657. mes "[Allysia]";
  4658. mes "I'm the oldest type of";
  4659. mes "humanoid robot, so I weigh";
  4660. mes "a lot, and my mind can only";
  4661. mes "process a limited amount of";
  4662. mes "data. Therefore, I can't express";
  4663. mes "emotion similarly to a human.";
  4664. next;
  4665. break;
  4666. case 2:
  4667. mes "[Allysia]";
  4668. mes "The First Generation robots";
  4669. mes "were developed from mostly";
  4670. mes "mechanical parts, but the";
  4671. mes "Second Generation robots";
  4672. mes "incorporated Homunculus";
  4673. mes "science and technology.";
  4674. next;
  4675. mes "[Allysia]";
  4676. mes "Second Generation robots";
  4677. mes "are more life-like since they";
  4678. mes "have artifically created skin";
  4679. mes "and flesh, although they still";
  4680. mes "are constructed from a heavy";
  4681. mes "mechanical framework.";
  4682. next;
  4683. mes "[Allysia]";
  4684. mes "Sage elemental scroll";
  4685. mes "technology was also used";
  4686. mes "to develop the Condensed";
  4687. mes "Memory Scroll, a central";
  4688. mes "processing unit superior to that";
  4689. mes "used in First Generation robots.";
  4690. next;
  4691. mes "[Allysia]";
  4692. mes "Although Condensed Memory";
  4693. mes "Scrolls were 100,000 times";
  4694. mes "more powerful than ordinary";
  4695. mes "Memory Scrolls, they were";
  4696. mes "problematic and were prone";
  4697. mes "to too many error problems.";
  4698. next;
  4699. mes "[Allysia]";
  4700. mes "Second Generation robots";
  4701. mes "were capable of expressing";
  4702. mes "human-like emotion, but their";
  4703. mes "production halted after six";
  4704. mes "years because they were";
  4705. mes "considered faulty.";
  4706. next;
  4707. break;
  4708. case 3:
  4709. mes "[Allysia]";
  4710. mes "Third Generation robots";
  4711. mes "were mostly designed by";
  4712. mes "Kiel Hyre's son, Kiehl,";
  4713. mes "and don't use a mechanical";
  4714. mes "framework at all: the entire";
  4715. mes "body is basically a homunculus.";
  4716. next;
  4717. mes "[Allysia]";
  4718. mes "With their organic bodies";
  4719. mes "and advanced artificial hearts";
  4720. mes "made from imitation Ymir Heart";
  4721. mes "Pieces, they can experience";
  4722. mes "physiologic phenomena";
  4723. mes "just like ordinary humans.";
  4724. next;
  4725. mes "[Allysia]";
  4726. mes "Kiehl was able to develop";
  4727. mes "a more stable form of the";
  4728. mes "Condensed Memory Scroll";
  4729. mes "which does not suffer from";
  4730. mes "critical errors, and can be";
  4731. mes "cheaply mass processed.";
  4732. next;
  4733. mes "[Allysia]";
  4734. mes "Elly is actually a Third";
  4735. mes "Generation prototype. Once";
  4736. mes "we optimize the prototypes,";
  4737. mes "we will begin mass production.";
  4738. mes "In fact, the academy is our";
  4739. mes "prototype testing ground.";
  4740. next;
  4741. mes "[Allysia]";
  4742. mes "The fact that out prototype";
  4743. mes "robots can interact just like";
  4744. mes "real humans is proof of our";
  4745. mes "success in robotics.";
  4746. next;
  4747. break;
  4748. }
  4749. case 2:
  4750. mes "[Allysia]";
  4751. mes "Please let me know if";
  4752. mes "you'd like to learn more";
  4753. mes "about Kiel Hyre's robots.";
  4754. break;
  4755. }
  4756. }
  4757. else {
  4758. mes "[Allysia]";
  4759. mes "......";
  4760. mes ".........";
  4761. mes "............";
  4762. }
  4763. close2;
  4764. cutin "",255;
  4765. end;
  4766. }
  4767. //----------------------------------------------------------------------------
  4768. // Abduction triggering NPC
  4769. //----------------------------------------------------------------------------
  4770. lighthalzen,188,200,0 script Abduction_trigger -1,3,1,{
  4771. OnTouch:
  4772. if (KielHyreQuest == 50) {
  4773. mes "^3355FFAs you walked out of";
  4774. mes "the mansion, something";
  4775. mes "smashed the top of your";
  4776. mes "head, and you instantly";
  4777. mes "lose consciousness...";
  4778. close2;
  4779. percentheal -99,0;
  4780. warp "kh_mansion",30,75;
  4781. }
  4782. end;
  4783. }
  4784. //----------------------------------------------------------------------------
  4785. // Mysterious Woman "Mitchell Layla"
  4786. //----------------------------------------------------------------------------
  4787. kh_mansion,25,79,4 script Mysterious Woman#kh 727,3,3,{
  4788. OnTouch:
  4789. if (KielHyreQuest == 50) {
  4790. mes "^3355FFYou awaken with your";
  4791. mes "head painfully throbbing,";
  4792. mes "and a mysterious woman";
  4793. mes "standing in front of you.^000000";
  4794. next;
  4795. mes "[??????]";
  4796. mes "Hm? Oh, you're awake";
  4797. mes "earlier than I thought.";
  4798. mes "You must feel confused,";
  4799. mes "but listen carefully. If you";
  4800. mes "don't, then I can't guarantee";
  4801. mes "your safety, okay? Alright.";
  4802. next;
  4803. mes "[??????]";
  4804. mes "All you need to know it";
  4805. mes "that I'm a secret agent for";
  4806. mes "the Schwaltzvalt Republic";
  4807. mes "government. We're investigating";
  4808. mes "abnormal activity between Kiel";
  4809. mes "Hyre and the Rekenber Corporation.";
  4810. next;
  4811. mes "[??????]";
  4812. mes "We saw you enter the";
  4813. mes "mansion and speak to";
  4814. mes "Kiel Hyre, so basically";
  4815. mes "you're here for questioning.";
  4816. mes "Now tell me the truth. How";
  4817. mes "do you know Kiel Hyre?";
  4818. next;
  4819. switch(select("I'll tell you everything!:I don't know nuthin'!")) {
  4820. case 2:
  4821. mes "[??????]";
  4822. mes "Don't...know...nuthin'?";
  4823. mes "You sure about that? Only";
  4824. mes "a select few can even speak";
  4825. mes "with Kiel Hyre in person. You";
  4826. mes "must have some connection";
  4827. mes "to him. I'm right, aren't it?";
  4828. next;
  4829. mes "["+strcharinfo(0)+"]";
  4830. mes "......";
  4831. mes ".........";
  4832. mes "............";
  4833. next;
  4834. mes "[??????]";
  4835. mes "Are you trying to protect";
  4836. mes "him? I think that you might";
  4837. mes "not understand what kind of";
  4838. mes "person you're really dealing";
  4839. mes "with here. I'll tell you what";
  4840. mes "I've learned about him...";
  4841. next;
  4842. mes "[??????]";
  4843. mes "Kiel Hyre. CEO of the";
  4844. mes "Kiel Hyre Foundation,";
  4845. mes "manufacturer of various";
  4846. mes "machinery. His company started";
  4847. mes "as a small Einbroch store whose";
  4848. mes "technology slowly grew famous.";
  4849. next;
  4850. mes "[??????]";
  4851. mes "Rekenber Corperation offered";
  4852. mes "a merger with the Kiel Hyre";
  4853. mes "Foundation. We're still not";
  4854. mes "sure why they wanted Kiel";
  4855. mes "Hyre in particular to repair";
  4856. mes "and develop their Guardians...";
  4857. next;
  4858. mes "[??????]";
  4859. mes "We're also not sure why";
  4860. mes "they wanted to suddenly";
  4861. mes "focus more on Guardian";
  4862. mes "development. Then, all";
  4863. mes "of a sudden, Kiel Hyre's son";
  4864. mes "appears from out of nowehre.";
  4865. next;
  4866. mes "[??????]";
  4867. mes "It's very suspicious.";
  4868. mes "There's no records of his";
  4869. mes "birth or anything. Still, maybe";
  4870. mes "Kiel Hyre really did have him";
  4871. mes "with his secretary, Allysia.";
  4872. mes "Well, no one is really sure.";
  4873. next;
  4874. mes "[??????]";
  4875. mes "In any case, Kiel Hyre's";
  4876. mes "son and heir, Kiehl, helped";
  4877. mes "his father establish this";
  4878. mes "special academy as their";
  4879. mes "way of giving back to society.";
  4880. next;
  4881. mes "[??????]";
  4882. mes "Almost every corporation and";
  4883. mes "organization tried to get their";
  4884. mes "spies to enter this academy,";
  4885. mes "but all of them were rejected.";
  4886. mes "it's strange. At least one of";
  4887. mes "them should have made it in.";
  4888. next;
  4889. mes "[??????]";
  4890. mes "And recently, Kiehl Hyre";
  4891. mes "has held a secret meeting with";
  4892. mes "Rekenber executives to announce";
  4893. mes "his new project. He intends to";
  4894. mes "create advanced humanoid robots";
  4895. mes "that will replace guardians!";
  4896. next;
  4897. mes "[??????]";
  4898. mes "Our spies reported that";
  4899. mes "Kiel Hyre was nowhere to";
  4900. mes "be seen at that meeting,";
  4901. mes "as well as his trusted";
  4902. mes "secretary, Allysia. He...";
  4903. mes "He just disappeared!";
  4904. next;
  4905. mes "[??????]";
  4906. mes "Then, Kiel Hyre pops back";
  4907. mes "in his mansion after all";
  4908. mes "this time as if nothing";
  4909. mes "happened! At the same time,";
  4910. mes "Kiehl disappears, under the";
  4911. mes "excuse of conducting research.";
  4912. next;
  4913. mes "[??????]";
  4914. mes "Rekenber is sponsoring";
  4915. mes "both Kiehl and Kiel, but";
  4916. mes "there's some kind of conflict";
  4917. mes "going on between father and";
  4918. mes "son, I just know it! Now tell";
  4919. mes "me, what's going on?";
  4920. next;
  4921. mes "[??????]";
  4922. mes "I'm not sure how well you";
  4923. mes "know this country, but the";
  4924. mes "fact that Rekenber is invoved";
  4925. mes "must tell you that these aren't";
  4926. mes "good people. Tell me what";
  4927. mes "you know about them!";
  4928. next;
  4929. case 1:
  4930. mes "^3355FFYou tell the woman^000000";
  4931. mes "^3355FFeverything you know^000000";
  4932. mes "^3355FFabout Kiel Hyre. Your^000000";
  4933. mes "^3355FFvoice quivers with sadness^000000";
  4934. mes "^3355FFwhenever you mention Elly.^000000";
  4935. next;
  4936. mes "[??????]";
  4937. mes "I see, I see...";
  4938. mes "That poor girl... So...";
  4939. mes "Your involvement in this";
  4940. mes "is a coincidence? In that";
  4941. mes "case, I want your help";
  4942. mes "in our investigation.";
  4943. next;
  4944. switch(select("Okay:......")) {
  4945. case 2:
  4946. mes "[??????]";
  4947. mes "If you don't cooperate,";
  4948. mes "then I can't guarantee";
  4949. mes "your safety, adventurer";
  4950. next;
  4951. mes "["+strcharinfo(0)+"]";
  4952. mes "Huh? What...?";
  4953. mes "What does that mean?";
  4954. mes "Are you threatening me?";
  4955. next;
  4956. select("Just do what she says.");
  4957. case 1:
  4958. mes "[??????]";
  4959. mes "Great.";
  4960. mes "I'm Agent Mitchell Layla.";
  4961. mes "From here on, you're working";
  4962. mes "for the Schwaltzvalt Republic!";
  4963. set KielHyreQuest,52;
  4964. close;
  4965. }
  4966. }
  4967. }
  4968. else if (KielHyreQuest == 52) {
  4969. mes "[Mitchell]";
  4970. mes "I've got some new";
  4971. mes "information for you.";
  4972. mes "There's an old lady in";
  4973. mes "Juno that knew a woman";
  4974. mes "named Allysia 30 years ago.";
  4975. next;
  4976. mes "[Mitchell]";
  4977. mes "The clincher is that this";
  4978. mes "Allysia from 30 years ago";
  4979. mes "commited suicide, and is";
  4980. mes "identical to Kiel Hyre's";
  4981. mes "secretary, who is also";
  4982. mes "named Allysia.";
  4983. next;
  4984. mes "[Mitchell]";
  4985. mes "This is too much of a";
  4986. mes "coincidence. I want you to";
  4987. mes "go to Juno and investigate.";
  4988. mes "When you're done, talk to";
  4989. mes "Kiel Hyre's steward, and";
  4990. mes "he'll send you over to me.";
  4991. next;
  4992. mes "[Mitchell]";
  4993. mes "Yeah, I know.";
  4994. mes "That guy actually";
  4995. mes "works for me. Anyway,";
  4996. mes "when you're ready to go";
  4997. mes "to Juno, let me know, and you";
  4998. mes "can board the federal airship.";
  4999. set KielHyreQuest,54;
  5000. close;
  5001. }
  5002. else if (KielHyreQuest == 54) {
  5003. mes "[Mitchell]";
  5004. mes "Are you ready?";
  5005. mes "I'll let you board";
  5006. mes "the federal Airship so";
  5007. mes "you can get to Juno, and";
  5008. mes "finish your mission quickly.";
  5009. next;
  5010. switch(select("Yes:No")) {
  5011. case 1:
  5012. mes "[Mitchell]";
  5013. mes "Good luck. Once you";
  5014. mes "complete your mission,";
  5015. mes "make sure that you report";
  5016. mes "to Kiel Hyre's steward so";
  5017. mes "that he can send you to me.";
  5018. close2;
  5019. warp "yuno",54,209;
  5020. end;
  5021. case 2:
  5022. mes "[Mitchell]";
  5023. mes "Take your time...";
  5024. mes "But keep in mind that";
  5025. mes "I'm not a patient woman!";
  5026. close;
  5027. }
  5028. }
  5029. else if (KielHyreQuest == 64) {
  5030. mes "[Mitchell]";
  5031. mes "Ah, you're back.";
  5032. mes "What do you have";
  5033. mes "to report from your";
  5034. mes "investigation?";
  5035. next;
  5036. mes "[Mitchell]";
  5037. mes ".....................";
  5038. mes "Ah, I see. Good work.";
  5039. mes "Why don't you go speak to Kiel";
  5040. mes "Hyre and confront him with";
  5041. mes "what you've learned about";
  5042. mes "his past? Yeah, grill him.";
  5043. next;
  5044. mes "[Mitchell]";
  5045. mes "Wear this hidden mic,";
  5046. mes "so we can send help if";
  5047. mes "you're endangered. I want";
  5048. mes "you to find out who Kiel";
  5049. mes "really is, and what's his";
  5050. mes "relationship to Rekenber.";
  5051. set KielHyreQuest,68;
  5052. next;
  5053. warp "kh_mansion",83,50;
  5054. end;
  5055. }
  5056. else if (KielHyreQuest >= 68) {
  5057. mes "[Mitchell]";
  5058. mes "Shouldn't you be";
  5059. mes "leaving about now?";
  5060. next;
  5061. warp "kh_mansion",83,50;
  5062. end;
  5063. }
  5064. }
  5065. //----------------------------------------------------------------------------
  5066. // Warp portal into Kiehl's 'Room'
  5067. // - Anyone can enter
  5068. // - After 30-40 seonds this NPC should be disabled.
  5069. //----------------------------------------------------------------------------
  5070. kh_mansion,27,27,0 script Kiehl_Room_Warp 45,2,2,{
  5071. OnTouch_:
  5072. warp "kh_kiehl01",10,31;
  5073. end;
  5074. OnEnable:
  5075. initnpctimer;
  5076. specialeffect EF_SUMMONSLAVE;
  5077. end;
  5078. OnTimer30000:
  5079. stopnpctimer;
  5080. specialeffect EF_SUMMONSLAVE;
  5081. disablenpc "Kiehl_Room_Warp";
  5082. end;
  5083. OnInit:
  5084. disablenpc "Kiehl_Room_Warp";
  5085. end;
  5086. }
  5087. //============================================================================
  5088. // Rosimier NPCs and other Related NPCs
  5089. //============================================================================
  5090. //----------------------------------------------------------------------------
  5091. // Odd Grandma
  5092. //----------------------------------------------------------------------------
  5093. yuno,257,140,4 script Odd Grandma 846,{
  5094. if (KielHyreQuest < 54) {
  5095. mes "[Grandma]";
  5096. mes "Where did you go,";
  5097. mes "my darling? Where";
  5098. mes "are you, my little dear?";
  5099. close;
  5100. }
  5101. else if (KielHyreQuest == 54) {
  5102. mes "[Grandma]";
  5103. mes "Lullabye...";
  5104. mes "Say goodnight...";
  5105. mes "Hush little baby...";
  5106. mes "Go to sleeeeep~";
  5107. next;
  5108. switch(select("What are you doing?:Um, I don't see a baby...")) {
  5109. case 1:
  5110. mes "[Grandma]";
  5111. mes "Oh? My baby won't stop";
  5112. mes "crying and can't seem";
  5113. mes "to sleep. She needs to";
  5114. mes "rest, so I can go to work.";
  5115. mes "The house is so messy,";
  5116. mes "and the boss is unhappy...";
  5117. set KielHyreQuest,56;
  5118. next;
  5119. select("Um, I don't see a baby...");
  5120. mes "[Grandma]";
  5121. mes "What, she's right--";
  5122. mes "Well. Darling, what";
  5123. mes "are you doing? Don't";
  5124. mes "misbehave in front of";
  5125. mes "our friend! Shhh, be";
  5126. mes "good, my little girl.";
  5127. //GetHEALTHSTATE VAR_CURSE 30
  5128. close;
  5129. case 2:
  5130. mes "[Grandma]";
  5131. mes "What are you...?";
  5132. mes "Oh, look at that.";
  5133. mes "You made my little";
  5134. mes "darling cry! Shhh,";
  5135. mes "hush, little ^0000FFAllysia^000000.";
  5136. mes "Go to sleeeeeeep~";
  5137. close;
  5138. }
  5139. }
  5140. else if ((KielHyreQuest >= 56) && (KielHyreQuest < 60)) {
  5141. mes "[Grandma]";
  5142. mes "Allysia...?!";
  5143. mes "Allysia, where did";
  5144. mes "you go? You were";
  5145. mes "supposed to come";
  5146. mes "home a while ago!";
  5147. if (countitem(7500) < 1) {
  5148. close;
  5149. }
  5150. else {
  5151. next;
  5152. switch(select("Allysia? Isn't she...")) {
  5153. case 1:
  5154. cutin "kh_ellisia_port",1;
  5155. mes "^3355FFYou show Allysia's";
  5156. mes "portrait to the old woman.^000000";
  5157. next;
  5158. cutin "",255;
  5159. mes "[Grandma]";
  5160. mes "Oh, do you know";
  5161. mes "Allysia? She's been";
  5162. mes "missing! She left home";
  5163. mes "yesterday and hasn't";
  5164. mes "come back! C-can you";
  5165. mes "tell me where she is?!";
  5166. close;
  5167. }
  5168. }
  5169. }
  5170. else if (KielHyreQuest >= 60) {
  5171. mes "[Grandma]";
  5172. mes "Don't worry, Allysia...";
  5173. mes "Mommy will always be";
  5174. mes "here for you. There's no";
  5175. mes "need to be sad...";
  5176. close;
  5177. }
  5178. }
  5179. //----------------------------------------------------------------------------
  5180. // Old Lady; gives you the key to the Rosimier Mansion
  5181. //----------------------------------------------------------------------------
  5182. yuno,250,132,0 script Old Lady#kh 711,{
  5183. if (KielHyreQuest < 56) {
  5184. mes "[Old Lady]";
  5185. mes "Oooh, my legs and back";
  5186. mes "are so sore. These old";
  5187. mes "bones ache all over...";
  5188. close;
  5189. }
  5190. else if (KielHyreQuest == 56) {
  5191. if (checkweight(7498,1) == 0) {
  5192. mes "^3355FFJust a second...";
  5193. mes "You're carrying too";
  5194. mes "many items with you";
  5195. mes "right now, so you'll";
  5196. mes "need to free up more";
  5197. mes "Inventory space first...^000000";
  5198. close;
  5199. }
  5200. mes "[Old Lady]";
  5201. mes "Goodness, I hate this";
  5202. mes "weather! Reminds me";
  5203. mes "of how old I've gotten!";
  5204. mes "It chills my bones, it does!";
  5205. next;
  5206. switch(select("......:Do you know that grandma?")) {
  5207. case 1:
  5208. mes "[Old Lady]";
  5209. mes "Damn it! If only I didn't";
  5210. mes "have all those adventures";
  5211. mes "in my youth! Then maybe";
  5212. mes "I wouldn't suffer so in";
  5213. mes "my advanced age!";
  5214. close;
  5215. case 2:
  5216. mes "[Old Lady]";
  5217. mes "Oh... Yes. She was";
  5218. mes "the mother of my best";
  5219. mes "friend, ^3355FFAllysia^000000. Ever since";
  5220. mes "she commited suicide, things";
  5221. mes "haven't been the same. Her";
  5222. mes "mother lost her sanity...";
  5223. next;
  5224. select("Was ^3355FFAllysia^000000...?");
  5225. mes "[Old Lady]";
  5226. mes "Oh, Allysia was such";
  5227. mes "a beautiful girl. So many";
  5228. mes "men wanted her, especially";
  5229. mes "that dashing James Rosimier.";
  5230. mes "I remember hearing that they";
  5231. mes "were going to get married...";
  5232. next;
  5233. mes "[Old Lady]";
  5234. mes "I was so happy for her!";
  5235. mes "But then, all of a sudden,";
  5236. mes "she killed herself. Well,";
  5237. mes "that's what they all say.";
  5238. mes "Even today, I'm still not";
  5239. mes "sure what happened.";
  5240. next;
  5241. select("Wait, who's James Rosimier?");
  5242. mes "[Old Lady]";
  5243. mes "Oh, James belonged to";
  5244. mes "one of the oldest and richest";
  5245. mes "families in Juno. Everything";
  5246. mes "was going great for them, but";
  5247. mes "some time after Allysia died,";
  5248. mes "the family went bankrupt.";
  5249. next;
  5250. mes "[Old Lady]";
  5251. mes "The city manages their";
  5252. mes "old residence now. For";
  5253. mes "some reason, they decided";
  5254. mes "to entrust me with the master";
  5255. mes "key to the Rosimier Mansion.";
  5256. next;
  5257. select("May I borrow the Master Key?");
  5258. mes "[Old Lady]";
  5259. mes "Well, I'm really not";
  5260. mes "supposed to give it to just";
  5261. mes "anyone, but I can tell that";
  5262. mes "you're working with Allysia's";
  5263. mes "best interests at heart.";
  5264. next;
  5265. mes "[Old Lady]";
  5266. mes "However, you've got to";
  5267. mes "make sure that you return";
  5268. mes "it to me before the people";
  5269. mes "from City Hall ask me for it.";
  5270. mes "Alright then, I hope you find";
  5271. mes "what you're looking for.";
  5272. getitem 7498,1; //Rosimier_Key
  5273. set KielHyreQuest,58;
  5274. close;
  5275. }
  5276. }
  5277. else if ((KielHyreQuest == 58) &&
  5278. (countitem(7499) < 1) ||
  5279. (countitem(7500) < 1) ||
  5280. (countitem(7501) < 1) ||
  5281. (countitem(7502) < 1)) {
  5282. mes "[Old Lady]";
  5283. mes "Please hurry and find";
  5284. mes "whatever you're searching";
  5285. mes "for in the Rosimier Mansion.";
  5286. mes "I might get in trouble if";
  5287. mes "the people from City Hall";
  5288. mes "come and ask me for the key...";
  5289. close;
  5290. }
  5291. else if ((KielHyreQuest == 58) &&
  5292. (countitem(7499) == 1) &&
  5293. (countitem(7500) == 1) &&
  5294. (countitem(7501) == 1) &&
  5295. (countitem(7502) == 1)) {
  5296. mes "[Old Lady]";
  5297. mes "Oh, you're finished";
  5298. mes "searching the mansion?";
  5299. mes "Depressing, isn't it?";
  5300. mes "The creditors basically";
  5301. mes "ransacked everything";
  5302. mes "a very long time ago.";
  5303. next;
  5304. select("Why did ^3355FFAllysia^000000...?");
  5305. mes "[Old Lady]";
  5306. mes "Well, I know that James";
  5307. mes "and Allysia were in love,";
  5308. mes "and he promised to marry";
  5309. mes "her. Now, supposedly his";
  5310. mes "family already betrothed";
  5311. mes "him to another woman.";
  5312. next;
  5313. mes "[Old Lady]";
  5314. mes "Time went by, and he";
  5315. mes "was forced to marry his";
  5316. mes "fiancee. Allysia was pretty";
  5317. mes "devastated. I think maybe";
  5318. mes "that's what she... you know...";
  5319. next;
  5320. mes "[Old Lady]";
  5321. mes "Listen, if you want to learn";
  5322. mes "more about what happened,";
  5323. mes "then I think you should talk";
  5324. mes "to the ^3355FFfisherman that lives^000000";
  5325. mes "^3355FFsouth of the Kiel Hyre Academy.^000000";
  5326. next;
  5327. mes "[Old Lady]";
  5328. mes "He's the one that found";
  5329. mes "Allysia's body in the river,";
  5330. mes "so he might have a better";
  5331. mes "idea of what had happened.";
  5332. delitem 7498,1; //Rosimier_Key
  5333. set KielHyreQuest,60;
  5334. close;
  5335. }
  5336. else if (KielHyreQuest >= 60) {
  5337. mes "[Old Lady]";
  5338. mes "Yep, Rain's coming.";
  5339. mes "Can feel it in my bones.";
  5340. close;
  5341. }
  5342. }
  5343. //----------------------------------------------------------------------------
  5344. // Warp portal into Rosimier Mansion
  5345. //----------------------------------------------------------------------------
  5346. yuno,273,141,0 script Rosimmir_Entrance 45,2,2,{
  5347. OnTouch_:
  5348. if (countitem(7498) < 1) {
  5349. mes "That mansion seems to have";
  5350. mes "been destroyed by the time.";
  5351. mes "However, the door looks like";
  5352. mes "it'd be still operational if";
  5353. mes "you had the right key.";
  5354. close;
  5355. }
  5356. else {
  5357. warp "kh_rossi",20,92;
  5358. }
  5359. end;
  5360. }
  5361. //----------------------------------------------------------------------------
  5362. // Rosimier Mansion, first floor; Table
  5363. //----------------------------------------------------------------------------
  5364. kh_rossi,23,23,0 script Table#khr2 111,{
  5365. if (checkweight(7499,1) == 0) {
  5366. mes "^3355FFJust a second...";
  5367. mes "You're carrying too";
  5368. mes "many items with you";
  5369. mes "right now, so you'll";
  5370. mes "need to free up more";
  5371. mes "Inventory space first...^000000";
  5372. close;
  5373. }
  5374. if (KielHyreQuest < 58) {
  5375. mes "^3355FFThere's nothing here";
  5376. mes "of importance to you.^000000";
  5377. close;
  5378. }
  5379. else if (KielHyreQuest < 60) {
  5380. if (countitem(7499) < 1) {
  5381. cutin "kh_family_port",1;
  5382. mes "^3355FFYou examine the table,";
  5383. mes "and find a framed portrait";
  5384. mes "inside the open drawer.^000000";
  5385. getitem 7499,1; //Family_Portrait
  5386. }
  5387. else {
  5388. mes "^3355FFThe open drawer of";
  5389. mes "this desk is now empty.^000000";
  5390. }
  5391. }
  5392. else{
  5393. mes "^3355FFThis was the desk in";
  5394. mes "which you obtained the";
  5395. mes "Rosimier family portrait.";
  5396. mes "Its drawers are empty now.^000000";
  5397. close;
  5398. }
  5399. close2;
  5400. cutin "",255;
  5401. end;
  5402. }
  5403. //----------------------------------------------------------------------------
  5404. // Rosimier Mansion, first floor; Shelf
  5405. //----------------------------------------------------------------------------
  5406. kh_rossi,92,40,0 script Shelf#khr 111,{
  5407. if (checkweight(7500,1) == 0) {
  5408. mes "^3355FFJust a second...";
  5409. mes "You're carrying too";
  5410. mes "many items with you";
  5411. mes "right now, so you'll";
  5412. mes "need to free up more";
  5413. mes "Inventory space first...^000000";
  5414. close;
  5415. }
  5416. if (KielHyreQuest < 58) {
  5417. mes "^3355FFThere's nothing here";
  5418. mes "of importance to you.^000000";
  5419. close;
  5420. }
  5421. else if (KielHyreQuest < 60) {
  5422. if (countitem(7500) < 1) {
  5423. mes "^3355FFThere are locked";
  5424. mes "boxes on these bookshelves.";
  5425. mes "Perhaps if you used this";
  5426. mes "mansions's Master Key, you";
  5427. mes "might be able to open them.^000000";
  5428. next;
  5429. switch(select("Use Key:Pass")) {
  5430. case 1:
  5431. mes "^3355FFWhich box do you";
  5432. mes "want to try to open?^000000";
  5433. next;
  5434. switch(select("First Box:Second Box")) {
  5435. case 1:
  5436. mes "^3355FFYou use the Master Key to";
  5437. mes "unlock the box, and obtain";
  5438. mes "a portait of a woman that";
  5439. mes "looks just like Kiel Hyre's";
  5440. mes "assistant, Allysia.^000000";
  5441. next;
  5442. cutin "kh_ellisia_port",2;
  5443. mes "^3355FFThe message, ''To my love,";
  5444. mes "Allysia. From James.'' is";
  5445. mes "written on the back.^000000";
  5446. getitem 7500,1; //Elysia_Portrait
  5447. close2;
  5448. cutin "",255;
  5449. end;
  5450. case 2:
  5451. mes "^3355FFThis box is empty.^000000";
  5452. close;
  5453. }
  5454. case 2:
  5455. mes "^3355FFThis box is empty.^000000";
  5456. close;
  5457. }
  5458. }
  5459. else {
  5460. mes "^3355FFYou've found a woman's";
  5461. mes "portrait in one of the";
  5462. mes "boxes on this shelf.^000000";
  5463. close;
  5464. }
  5465. }
  5466. else {
  5467. mes "^3355FFYou've found a woman's";
  5468. mes "portrait in one of the";
  5469. mes "boxes on this shelf.";
  5470. mes "This box is now empty.^000000";
  5471. close;
  5472. }
  5473. }
  5474. //----------------------------------------------------------------------------
  5475. // Rosimier Mansion, top floor; Desk
  5476. //----------------------------------------------------------------------------
  5477. kh_rossi,144,286,0 script Desk#khr3 111,{
  5478. if (checkweight(7501,1) == 0) {
  5479. mes "^3355FFJust a second...";
  5480. mes "You're carrying too";
  5481. mes "many items with you";
  5482. mes "right now, so you'll";
  5483. mes "need to free up more";
  5484. mes "Inventory space first...^000000";
  5485. close;
  5486. }
  5487. if (KielHyreQuest < 58) {
  5488. mes "^3355FFIt's just a desk.^000000";
  5489. close;
  5490. }
  5491. else if (KielHyreQuest < 60) {
  5492. mes "^3355FFThe desk has";
  5493. mes "three drawers.^000000";
  5494. next;
  5495. switch(select("First Drawer:Second Drawer:Third Drawer:Cancel")) {
  5496. case 1:
  5497. mes "^3355FFThe first drawer is locked.^000000";
  5498. close;
  5499. case 2:
  5500. if (countitem(7501) < 1) {
  5501. mes "^3355FFThere is a letter inside";
  5502. mes "this second drawer. It";
  5503. mes "was sent by a person";
  5504. mes "with the initials, K.H.,";
  5505. mes "and addressed to Allysia.^000000";
  5506. getitem 7501,1; //Kyll_Hyre_Letter2
  5507. close;
  5508. }
  5509. else {
  5510. mes "^3355FFThis drawer is now empty.^000000";
  5511. close;
  5512. }
  5513. case 3:
  5514. mes "^3355FFThere is a small note";
  5515. mes "inside this third drawer.";
  5516. mes "It's written by James, and";
  5517. mes "mentions that he wants to";
  5518. mes "marry Allysia, and that she";
  5519. mes "received an engagement ring.^000000";
  5520. close;
  5521. case 4:
  5522. mes "......";
  5523. mes ".........";
  5524. mes "............";
  5525. close;
  5526. }
  5527. }
  5528. else{
  5529. mes "^3355FFThis is the desk where";
  5530. mes "you found a letter written";
  5531. mes "by K.H., and a note scribbled";
  5532. mes "by James Rosimier. Both of";
  5533. mes "these are addressed to";
  5534. mes "the same woman, Allysia.^000000";
  5535. close;
  5536. }
  5537. }
  5538. //----------------------------------------------------------------------------
  5539. // Rosimier Mansion, top floor; Bookshelf
  5540. //----------------------------------------------------------------------------
  5541. kh_rossi,148,288,0 script Bookshelf#khr 111,{
  5542. if (checkweight(7502,1) == 0) {
  5543. mes "^3355FFJust a second...";
  5544. mes "You're carrying too";
  5545. mes "many items with you";
  5546. mes "right now, so you'll";
  5547. mes "need to free up more";
  5548. mes "Inventory space first...^000000";
  5549. close;
  5550. }
  5551. if (KielHyreQuest < 58) {
  5552. mes "^3355FFYou encounter a dusty";
  5553. mes "bookshelf filled with";
  5554. mes "numerous books.^000000";
  5555. close;
  5556. }
  5557. else if (KielHyreQuest < 60) {
  5558. if (countitem(7502) < 1) {
  5559. mes "^3355FFYou encounter a dusty";
  5560. mes "bookshelf filled with";
  5561. mes "numerous books. You";
  5562. mes "find a folded note between";
  5563. mes "the books as you examine them.^000000";
  5564. getitem 7502,1; //Piece_Memo_Of_James
  5565. close;
  5566. }
  5567. else {
  5568. mes "^3355FFYou encounter a dusty";
  5569. mes "bookshelf filled with";
  5570. mes "numerous books.^000000";
  5571. close;
  5572. }
  5573. }
  5574. else{
  5575. mes "^3355FFYou encounter a dusty";
  5576. mes "bookshelf filled with";
  5577. mes "numerous books.^000000";
  5578. close;
  5579. }
  5580. }
  5581. //----------------------------------------------------------------------------
  5582. // Rosimier Mansion, top floor; Bed
  5583. //----------------------------------------------------------------------------
  5584. kh_rossi,154,286,0 script Bed#khr 111,{
  5585. if (KielHyreQuest < 58) {
  5586. mes "^3355FFYou found a well made";
  5587. mes "bed that has collected";
  5588. mes "a thick layer of dust";
  5589. mes "after years of disuse.^000000";
  5590. close;
  5591. }
  5592. else if (KielHyreQuest < 60) {
  5593. mes "^3355FFYou found a well made";
  5594. mes "bed that has collected";
  5595. mes "a thick layer of dust";
  5596. mes "after years of disuse.^000000";
  5597. next;
  5598. switch(select("Check Bedsheets:Check Under Bed")) {
  5599. case 1:
  5600. mes "^3355FFYou brush the bed's";
  5601. mes "surface with your hand,";
  5602. mes "causing a cloud of nasty";
  5603. mes "dust to irritate your nose";
  5604. mes "and throat. Eww, yucky!^000000";
  5605. percentheal -10,0;
  5606. close;
  5607. case 2:
  5608. mes "^3355FFYou search underneath";
  5609. mes "the bed, and find an empty";
  5610. mes "engagement ring box.^000000";
  5611. close;
  5612. }
  5613. }
  5614. else {
  5615. mes "^3355FFThis is a dirty bed.^000000";
  5616. close;
  5617. }
  5618. }
  5619. //----------------------------------------------------------------------------
  5620. // Fisherman
  5621. //----------------------------------------------------------------------------
  5622. yuno_fild12,232,222,0 script Old Fisherman 709,{
  5623. if (KielHyreQuest < 60) {
  5624. mes "[Fisherman]";
  5625. mes "These days, it's much";
  5626. mes "harder to catch and fish.";
  5627. mes "Ever since they built";
  5628. mes "this factory, the fish";
  5629. mes "have started to change,";
  5630. mes "and they look different too...";
  5631. close;
  5632. }
  5633. else if (KielHyreQuest == 60) {
  5634. mes "[Fisherman]";
  5635. mes "Eh? You want something?";
  5636. mes "Heh, youngsters! I know";
  5637. mes "how much you love handouts,";
  5638. mes "but you're not getting any.";
  5639. mes "Now, if you bring me some";
  5640. mes "Raw Fish, I'd be more friendly~";
  5641. if (countitem(544) >= 10) {
  5642. next;
  5643. mes "[Fisherman]";
  5644. mes "Oh, is all this fish";
  5645. mes "for me? Heh, how very";
  5646. mes "generous of you. If you're";
  5647. mes "going to be so kind, then";
  5648. mes "I suppose I have to repay";
  5649. mes "the favor. Ask me anything~";
  5650. next;
  5651. select("30 years ago, a woman killed herself...");
  5652. mes "[Fisherman]";
  5653. mes "Oh? Ohh. Oh yeah.";
  5654. mes "I remember that. Yeah.";
  5655. mes "it was August 20th, my";
  5656. mes "wife's birthday. That day,";
  5657. mes "instead of catching fish,";
  5658. mes "I caught a dead woman.";
  5659. next;
  5660. mes "[Fisherman]";
  5661. mes "Of course, I reported it";
  5662. mes "to the Juno Police! They told";
  5663. mes "me she killed herself since";
  5664. mes "she was betrayed by her lover,";
  5665. mes "who also happened to be her";
  5666. mes "employer. Really tragic stuff.";
  5667. next;
  5668. mes "[Fisherman]";
  5669. mes "Anyway, when they were";
  5670. mes "moving her body out of the";
  5671. mes "river, her hand dropped";
  5672. mes "some ring. I picked it up,";
  5673. mes "hoping to sell it later for";
  5674. mes "some zeny. I know, I know...";
  5675. next;
  5676. mes "[Fisherman]";
  5677. mes "I was pretty lucky the";
  5678. mes "police didn't see me take";
  5679. mes "it. Later that day, some guy";
  5680. mes "came up to me and offered";
  5681. mes "me a lot of money for it.";
  5682. mes "I guess it was my lucky day!";
  5683. next;
  5684. mes "[Fisherman]";
  5685. mes "I found out later that he was";
  5686. mes "some mechanical repairman--";
  5687. mes "something. He sold everything";
  5688. mes "to buy that ring, so I guess";
  5689. mes "he wanted it desperately.";
  5690. mes "Then he just dissapeared.";
  5691. next;
  5692. select("Do you remember his name?");
  5693. mes "[Fisherman]";
  5694. mes "His name...?";
  5695. mes "It was something like...";
  5696. mes "Heil? Hyre? Anyway, it";
  5697. mes "was a long time ago. Oh,";
  5698. mes "his old house is still around.";
  5699. next;
  5700. mes "[Fisherman]";
  5701. mes "If you're going to be";
  5702. mes "that curious, you might";
  5703. mes "as well check it out.";
  5704. mes "Let's see, he lived in";
  5705. mes "a hut near the northeast";
  5706. mes "forest guard camp.";
  5707. delitem 544,10; //Fish_Slice
  5708. set KielHyreQuest,62;
  5709. close;
  5710. }
  5711. else {
  5712. close;
  5713. }
  5714. }
  5715. else if (KielHyreQuest >= 62) {
  5716. mes "[Fisherman]";
  5717. mes "Don't you remember";
  5718. mes "what I told you? That";
  5719. mes "guy lived in a hut near";
  5720. mes "the northeast forest";
  5721. mes "guard camp! Why don't";
  5722. mes "you check that place out?";
  5723. close;
  5724. }
  5725. }
  5726. //----------------------------------------------------------------------------
  5727. // Kiel Hyre's hut; Wooden Board
  5728. //----------------------------------------------------------------------------
  5729. yuno_fild09,158,217,0 script Wooden Board#kh 111,{
  5730. if (checkweight(7503,1) == 0) {
  5731. mes "^3355FFJust a second...";
  5732. mes "You're carrying too";
  5733. mes "many items with you";
  5734. mes "right now, so you'll";
  5735. mes "need to free up more";
  5736. mes "Inventory space first...^000000";
  5737. close;
  5738. }
  5739. if ((KielHyreQuest < 62) || (KielHyreQuest >= 64)) {
  5740. mes "^3355FFIt's a useless";
  5741. mes "wooden board";
  5742. mes "in the bushes.^000000";
  5743. close;
  5744. }
  5745. else if (KielHyreQuest == 62) {
  5746. mes "^3355FFYou found a long";
  5747. mes "wooden board carved";
  5748. mes "with the initials, ''K.H.''^000000";
  5749. next;
  5750. cutin "kh_kyel_port",2;
  5751. mes "^3355FFYou find a portrait of";
  5752. mes "a young man, that looks";
  5753. mes "like a younger version";
  5754. mes "of Kiel Hyre, in a broken";
  5755. mes "picture frame underneath";
  5756. mes "the old wooden board.^000000";
  5757. getitem 7503,1; //Man_Portrait
  5758. set KielHyreQuest,64;
  5759. next;
  5760. cutin "",255;
  5761. mes "^3355FFYou have enough";
  5762. mes "information by now,";
  5763. mes "so you should report";
  5764. mes "back to Mitchell.^000000";
  5765. close;
  5766. }
  5767. }
  5768. //============================================================================
  5769. // Kiehl Hyre's Room and Boss NPCs
  5770. //============================================================================
  5771. // Beyond here the NPC for the final areas.
  5772. // Now, this area is not someplace you wanna slow down so
  5773. // you can pick up dialog. I used packet logging to pull
  5774. // what I could and for the sake of the two people with me,
  5775. // did not bother doing all the proper NPC positioning
  5776. // or some of the 'error/wrong option' dialogs.
  5777. // All the doors are kind of weird.
  5778. //============================================================================
  5779. //----------------------------------------------------------------------------
  5780. // Kiehl's Room; Receiver (Gives black keycards upon killing mobs)
  5781. //----------------------------------------------------------------------------
  5782. kh_kiehl01,17,39,0 script Receiver#kh 111,{
  5783. if (mobcount("kh_kiehl01","Receiver#kh::OnMyMobDead") < 1) {
  5784. mes "^333333*BBBZZZ*^000000";
  5785. if (KielHyreQuest == 74) {
  5786. next;
  5787. mes "[????]";
  5788. mes "^333333*Bzzzz...*";
  5789. mes "I've never seen you";
  5790. mes "before. Did Father send";
  5791. mes "you to kill me? We'll just";
  5792. mes "see about that! Go ahead,";
  5793. mes "try to find me, adventurer.^000000.";
  5794. set KielHyreQuest,76;
  5795. }
  5796. close2;
  5797. monster "kh_kiehl01",16,32,"Alicel",1739,1,"Receiver#kh::OnMyMobDead";
  5798. monster "kh_kiehl01",18,31,"Aliot",1740,1,"Receiver#kh::OnMyMobDead";
  5799. end;
  5800. }
  5801. else {
  5802. end;
  5803. }
  5804. OnMyMobDead:
  5805. if (mobcount("kh_kiehl01","Receiver#kh::OnMyMobDead") <1) {
  5806. makeitem 7506,1,"this",19,36;
  5807. }
  5808. end;
  5809. }
  5810. //----------------------------------------------------------------------------
  5811. // Kiehl's Room; Flower Vase (Gives...password...for Box)
  5812. //----------------------------------------------------------------------------
  5813. kh_kiehl01,13,40,0 script Flower Vase#kh1 111,{
  5814. if (KielHyreQuest < 74) {
  5815. mes "^3355FFYou found";
  5816. mes "a flower vase.^000000";
  5817. close;
  5818. }
  5819. if (KielHyreQuest >= 74) {
  5820. mes "^3355FFYou found";
  5821. mes "a flower vase.^000000";
  5822. next;
  5823. switch(select("Pick Up Vase:Break Vase:Turn Vase Upside-down")) {
  5824. case 1:
  5825. mes "^3355FFThe vase is empty.^000000";
  5826. close;
  5827. case 2:
  5828. mes "^3355FFYou can't destroy";
  5829. mes "this vase, even by";
  5830. mes "striking it with all your";
  5831. mes "might. It must have been";
  5832. mes "specially manufactured by";
  5833. mes "the Rekenber Corporation.^000000";
  5834. close;
  5835. case 3:
  5836. mes "^3355FFThe following words";
  5837. mes "are written at the";
  5838. mes "bottom of the vase.^000000";
  5839. next;
  5840. mes "[Vase Message]";
  5841. mes "''The rabbit often";
  5842. mes "observes the door";
  5843. mes "The night eats the";
  5844. mes "pickled orange.''";
  5845. close;
  5846. }
  5847. }
  5848. else{
  5849. mes "^3355FFThe following words";
  5850. mes "are written at the";
  5851. mes "bottom of the vase.^000000";
  5852. next;
  5853. mes "[Vase Message]";
  5854. mes "''The rabbit often";
  5855. mes "observes the door.";
  5856. mes "The night eats the";
  5857. mes "pickled orange.''";
  5858. close;
  5859. }
  5860. }
  5861. //----------------------------------------------------------------------------
  5862. // Kiehl's Room; Box
  5863. //----------------------------------------------------------------------------
  5864. kh_kiehl01,19,25,0 script Box#kh1 111,{
  5865. if (checkweight(7505,1) == 0) {
  5866. mes "^3355FFJust a second...";
  5867. mes "You're carrying too";
  5868. mes "many items with you";
  5869. mes "right now, so you'll";
  5870. mes "need to free up more";
  5871. mes "Inventory space first...^000000";
  5872. close;
  5873. }
  5874. if (KielHyreQuest < 74) {
  5875. mes "^3355FFYou found a box with";
  5876. mes "a button for each letter";
  5877. mes "of the alphabet on top of it.^000000";
  5878. next;
  5879. input .@KHInput$;
  5880. mes "^3355FFNothing happened.^000000";
  5881. close;
  5882. }
  5883. if (KielHyreQuest >= 74) {
  5884. if (countitem(7505) < 1) {
  5885. mes "^3355FFYou found a box with";
  5886. mes "a button for each letter";
  5887. mes "of the alphabet on top of it.^000000";
  5888. next;
  5889. input .@KHInput$;
  5890. if (.@KHInput$ == "open the door") {
  5891. mes "^3355FFAs soon as you enter the";
  5892. mes "password, the nearby door";
  5893. mes "emits a pleasant chiming";
  5894. mes "sound, and the box pops";
  5895. mes "open to reveal a small key.^000000";
  5896. getitem 7505,1; //Toy_Key
  5897. close;
  5898. }
  5899. else {
  5900. mes "^3355FFNothing happened.^000000";
  5901. close;
  5902. }
  5903. }
  5904. else {
  5905. mes "^3355FFThis is where you";
  5906. mes "found the Toy key^000000";
  5907. close;
  5908. }
  5909. }
  5910. else{
  5911. mes "^3355FFThe box is wide";
  5912. mes "open, and there";
  5913. mes "is nothing in it.^000000";
  5914. close;
  5915. }
  5916. }
  5917. //----------------------------------------------------------------------------
  5918. // Kiehl's Room; Big Door, (First)
  5919. // - Anyone can pass through this door
  5920. // - Consume one Black KeyCard when opened.
  5921. // - Only one person actually needs to open it.
  5922. //----------------------------------------------------------------------------
  5923. kh_kiehl01,44,33,0 script Big Door#BigDoorKHQ1 111,{
  5924. if (.KHDoor1Opened == 0) {
  5925. mes "^3355FFThe door is locked,";
  5926. mes "but there is a narrow";
  5927. mes "slot next to the doorknob.^000000";
  5928. next;
  5929. input .@KHInput$;
  5930. if (.@KHInput$ == "Black Keycard") {
  5931. if (countitem(7506) >= 1) {
  5932. mes "^3355FFYou insert the";
  5933. mes "Black Keycard into the";
  5934. mes "slot, and successfully";
  5935. mes "unlock and open the door.^000000";
  5936. delitem 7506,1; //Black_Key_Card
  5937. donpcevent "Big_Door_1_Warp::OnEnable";
  5938. enablenpc "Big_Door_1_Warp";
  5939. set .KHDoor1Opened,1;
  5940. close;
  5941. }
  5942. }
  5943. mes "^3355FFYou try to push the";
  5944. mes "door open with all";
  5945. mes "your might, but fail";
  5946. mes "to make it budge.^000000";
  5947. close;
  5948. }
  5949. else {
  5950. mes "^3355FFThe door is open.^000000";
  5951. close;
  5952. }
  5953. }
  5954. kh_kiehl01,43,33,0 script Big_Door_1_Warp 45,1,1,{
  5955. OnEnable:
  5956. initnpctimer;
  5957. specialeffect EF_SUMMONSLAVE;
  5958. end;
  5959. OnInit:
  5960. disablenpc "Big_Door_1_Warp";
  5961. end;
  5962. OnTimer30000:
  5963. stopnpctimer;
  5964. specialeffect EF_SUMMONSLAVE;
  5965. disablenpc "Big_Door_1_Warp";
  5966. set getvariableofnpc(.KHDoor1Opened,"Big Door#BigDoorKHQ1"),0;
  5967. end;
  5968. OnTouch_:
  5969. warp "kh_kiehl01",55,33;
  5970. end;
  5971. }
  5972. //----------------------------------------------------------------------------
  5973. // Kiehl's Room; Big Door, (second)
  5974. // - Consume Toy Key when opened.
  5975. // - Only one person actually needs to open it.
  5976. //----------------------------------------------------------------------------
  5977. kh_kiehl01,174,40,0 script Big Door#BigDoorKHQ2 111,{
  5978. if (.KHDoor2Opened == 0) {
  5979. mes "^3355FFThe door is locked,";
  5980. mes "but there is a small";
  5981. mes "keyhole next to the knob.^000000";
  5982. next;
  5983. input .@KHInput$;
  5984. if (.@KHInput$ == "Toy Key") {
  5985. if (countitem(7505) >= 1) {
  5986. mes "^3355FFYou insert the key into";
  5987. mes "the keyhole, and the door";
  5988. mes "unlocks with a click as";
  5989. mes "you turn the key.^000000";
  5990. delitem 7505,1; //Toy_Key
  5991. donpcevent "Big_Door_2_Warp::OnEnable";
  5992. enablenpc "Big_Door_2_Warp";
  5993. set .KHDoor2Opened,1;
  5994. close;
  5995. }
  5996. }
  5997. mes "^3355FFYou try to push the";
  5998. mes "door open with all";
  5999. mes "your might, but fail";
  6000. mes "to make it budge.^000000";
  6001. close;
  6002. }
  6003. else {
  6004. mes "^3355FFThe door is open.^000000";
  6005. close;
  6006. }
  6007. }
  6008. kh_kiehl01,173,39,0 script Big_Door_2_Warp 45,1,1,{
  6009. OnEnable:
  6010. initnpctimer;
  6011. specialeffect EF_SUMMONSLAVE;
  6012. end;
  6013. OnInit:
  6014. disablenpc "Big_Door_2_Warp";
  6015. end;
  6016. OnTimer30000:
  6017. stopnpctimer;
  6018. specialeffect EF_SUMMONSLAVE;
  6019. disablenpc "Big_Door_2_Warp";
  6020. set getvariableofnpc(.KHDoor2Opened,"Big Door#BigDoorKHQ2"),0;
  6021. end;
  6022. OnTouch_:
  6023. if (KielHyreQuest == 48)
  6024. warp "kh_kiehl01",173,35;
  6025. else
  6026. warp "kh_kiehl01",173,52;
  6027. end;
  6028. }
  6029. //----------------------------------------------------------------------------
  6030. // Kiehl's Room; Big Door, (Third)
  6031. // - Consume one Black KeyCard when opened.
  6032. // - Only one person actually needs to open it.
  6033. //----------------------------------------------------------------------------
  6034. kh_kiehl01,77,108,0 script Big Door#BigDoorKHQ3 111,{
  6035. if (.KHDoor3Opened == 0) {
  6036. mes "^3355FFThe door is locked,";
  6037. mes "but there is a narrow";
  6038. mes "slot next to the doorknob.^000000";
  6039. next;
  6040. input .@KHInput$;
  6041. if (.@KHInput$ == "Black Keycard") {
  6042. if (countitem(7506) >= 1) {
  6043. mes "^3355FFYou insert the";
  6044. mes "Black Keycard into the";
  6045. mes "slot, and successfully";
  6046. mes "unlock and open the door.^000000";
  6047. delitem 7506,1; //Black_Key_Card
  6048. donpcevent "Big_Door_3_Warp::OnEnable";
  6049. enablenpc "Big_Door_3_Warp";
  6050. set .KHDoor3Opened,1;
  6051. close;
  6052. }
  6053. }
  6054. mes "^3355FFYou try to push the";
  6055. mes "door open with all";
  6056. mes "your might, but fail";
  6057. mes "to make it budge.^000000";
  6058. close;
  6059. }
  6060. else {
  6061. mes "^3355FFThe door is open.^000000";
  6062. close;
  6063. }
  6064. }
  6065. kh_kiehl01,78,107,0 script Big_Door_3_Warp 45,1,1,{
  6066. OnEnable:
  6067. initnpctimer;
  6068. specialeffect EF_SUMMONSLAVE;
  6069. end;
  6070. OnInit:
  6071. disablenpc "Big_Door_3_Warp";
  6072. end;
  6073. OnTimer30000:
  6074. stopnpctimer;
  6075. specialeffect EF_SUMMONSLAVE;
  6076. disablenpc "Big_Door_3_Warp";
  6077. set getvariableofnpc(.KHDoor3Opened,"Big Door#BigDoorKHQ3"),0;
  6078. end;
  6079. OnTouch_:
  6080. if (KielHyreQuest == 49)
  6081. warp "kh_kiehl01",82,108;
  6082. else
  6083. warp "kh_kiehl01",68,108;
  6084. end;
  6085. }
  6086. //----------------------------------------------------------------------------
  6087. // Kiehl's Room; Big Door, (Fourth)
  6088. // - Consume TWO Black KeyCard when opened.
  6089. // - Only one person actually needs to open it.
  6090. //----------------------------------------------------------------------------
  6091. kh_kiehl01,42,177,0 script Big Door#BigDoorKHQ4 111,{
  6092. if (.KHDoor4Opened == 0) {
  6093. mes "^3355FFThe door is locked,";
  6094. mes "but there is a narrow";
  6095. mes "slot next to the doorknob.^000000";
  6096. next;
  6097. input .@KHInput$;
  6098. if (.@KHInput$ == "Black Keycard") {
  6099. if (countitem(7506) >= 2) {
  6100. mes "^3355FFYou insert the";
  6101. mes "Black Keycard into the";
  6102. mes "slot, and successfully";
  6103. mes "unlock and open the door.^000000";
  6104. delitem 7506,2; //Black_Key_Card
  6105. donpcevent "Big_Door_4_Warp::OnEnable";
  6106. enablenpc "Big_Door_4_Warp";
  6107. set .KHDoor4Opened,1;
  6108. close;
  6109. }
  6110. }
  6111. mes "^3355FFYou try to push the";
  6112. mes "door open with all";
  6113. mes "your might, but fail";
  6114. mes "to make it budge.^000000";
  6115. close;
  6116. }
  6117. else {
  6118. mes "^3355FFThe door is open.^000000";
  6119. close;
  6120. }
  6121. }
  6122. kh_kiehl01,41,178,0 script Big_Door_4_Warp 45,1,1,{
  6123. OnEnable:
  6124. initnpctimer;
  6125. specialeffect EF_SUMMONSLAVE;
  6126. end;
  6127. OnInit:
  6128. disablenpc "Big_Door_4_Warp";
  6129. end;
  6130. OnTimer30000:
  6131. stopnpctimer;
  6132. specialeffect EF_SUMMONSLAVE;
  6133. disablenpc "Big_Door_4_Warp";
  6134. set getvariableofnpc(.KHDoor4Opened,"Big Door#BigDoorKHQ4"),0;
  6135. end;
  6136. OnTouch_:
  6137. if (KielHyreQuest == 50)
  6138. warp "kh_kiehl01",38,178;
  6139. else
  6140. warp "kh_kiehl01",47,171;
  6141. end;
  6142. }
  6143. //----------------------------------------------------------------------------
  6144. // Kiehl's Room; Robots
  6145. //----------------------------------------------------------------------------
  6146. kh_kiehl01,15,179,0 script Robots#kh1 111,{
  6147. if (mobcount("kh_kiehl01","Robots#kh1::OnMyMobDead") < 1) {
  6148. mes "^3355FFAs soon as you";
  6149. mes "touch the test tube,";
  6150. mes "a bunch of robots";
  6151. mes "suddenly appeared.^000000.";
  6152. close2;
  6153. monster "kh_kiehl01",18,181,"Aliot",1740,1,"Robots#kh1::OnMyMobDead";
  6154. monster "kh_kiehl01",18,180,"Alicel",1739,1,"Robots#kh1::OnMyMobDead";
  6155. monster "kh_kiehl01",18,179,"Aliot",1740,1,"Robots#kh1::OnMyMobDead";
  6156. monster "kh_kiehl01",18,178,"Alicel",1739,1,"Robots#kh1::OnMyMobDead";
  6157. end;
  6158. }
  6159. else {
  6160. end;
  6161. }
  6162. OnMyMobDead:
  6163. if (mobcount("kh_kiehl01","Robots#kh1::OnMyMobDead") < 1) {
  6164. makeitem 7506,1,"this",18,180;
  6165. }
  6166. end;
  6167. }
  6168. //----------------------------------------------------------------------------
  6169. // Kiehl's Room; Dummy Robots
  6170. //----------------------------------------------------------------------------
  6171. kh_kiehl01,15,177,0 script Robots#kh2::RobotsKHQ 111,{
  6172. end;
  6173. }
  6174. kh_kiehl01,15,180,0 duplicate(RobotsKHQ) Robots#kh3 111
  6175. kh_kiehl01,15,182,0 duplicate(RobotsKHQ) Robots#kh4 111
  6176. kh_kiehl01,35,187,0 duplicate(RobotsKHQ) Robots#kh5 111
  6177. kh_kiehl01,37,187,0 duplicate(RobotsKHQ) Robots#kh6 111
  6178. kh_kiehl01,39,187,0 duplicate(RobotsKHQ) Robots#kh7 111
  6179. kh_kiehl01,41,187,0 duplicate(RobotsKHQ) Robots#kh8 111
  6180. //----------------------------------------------------------------------------
  6181. // Kiehl's Room; Big Door, (Fifth, and final)
  6182. // - Anyone can pass through this door
  6183. // - Consumes 4 Solid Iron Pieces
  6184. //----------------------------------------------------------------------------
  6185. kh_kiehl01,166,187,0 script Big Door#BigDoorKHQ5 111,{
  6186. if (($@KHQuestBusy == 0) && (KielHyreQuest >= 74) && (KielHyreQuest <= 106)) {
  6187. if (KielHyreQuest < 86) {
  6188. mes "^3355FFThis large door..";
  6189. mes "is closed shut.";
  6190. mes "If you listen carefully,";
  6191. mes "you can hear the door";
  6192. mes "hinges slightly squeak.^000000";
  6193. next;
  6194. select("Push Door:Kick Door:Shake Door:Pull Door:Lift Door");
  6195. mes "^3355FFA group of monsters";
  6196. mes "suddenly appeared as";
  6197. mes "soon as you applied";
  6198. mes "pressure to the door.";
  6199. mes "This must be some";
  6200. mes "kind of security device.^000000";
  6201. close2;
  6202. set @KHDoorPushAttempt,@KHDoorPushAttempt+1;
  6203. monster "kh_kiehl01",163,183,"Alicel",1739,1;
  6204. monster "kh_kiehl01",163,179,"Aliot",1740,1;
  6205. monster "kh_kiehl01",169,183,"Alicel",1739,1;
  6206. monster "kh_kiehl01",169,179,"Aliot",1740,1;
  6207. if (@KHDoorPushAttempt >= 3) {
  6208. set KielHyreQuest,86;
  6209. }
  6210. end;
  6211. }
  6212. else if ((KielHyreQuest > 84) && (KielHyreQuest < 94)) {
  6213. mes "^3355FFYou apply some";
  6214. mes "pressure to the door,";
  6215. mes "and find that you can";
  6216. mes "budge it slightly, but";
  6217. mes "you can't fully open it.^000000";
  6218. next;
  6219. mes "^3355FFIf you wedged something";
  6220. mes "into the gap between the";
  6221. mes "door and its frame, and";
  6222. mes "fully leveraged it, then you";
  6223. mes "should be able to open it.^000000";
  6224. next;
  6225. switch(select("Steel:Rusty Iron Piece:Solid Iron Piece:Iron Piece:Screw:Cancel")) {
  6226. case 1:
  6227. set .@KHPryingItem$,"Steel";
  6228. break;
  6229. case 2:
  6230. set .@KHPryingItem$,"Rusty Iron Piece";
  6231. break;
  6232. case 3:
  6233. if (countitem(7507) >= 1) {
  6234. if (KielHyreQuest < 92) {
  6235. mes "^3355FFYou insert one end of";
  6236. mes "a Solid Iron Piece into the";
  6237. mes "door's gap in a strenuous";
  6238. mes "effort to pry the door open";
  6239. mes "The gap widens a little bit,";
  6240. mes "but you break one of your";
  6241. mes "Solid Iron Pieces.^000000";
  6242. delitem 7507,1; //Hard_Piece_of_Steel
  6243. set KielHyreQuest,KielHyreQuest+2;
  6244. close;
  6245. }
  6246. else if (KielHyreQuest == 92) {
  6247. mes "^3355FFWith a mighty heave,";
  6248. mes "you pry a Solid Iron";
  6249. mes "Piece into the door jamb,";
  6250. mes "and fling the door wide open";
  6251. mes "Unable the withstand the";
  6252. mes "awesome force, this Solid";
  6253. mes "Iron Piece shatters into dust.^000000";
  6254. delitem 7507,1; //Hard_Piece_of_Steel
  6255. set KielHyreQuest,94;
  6256. close;
  6257. }
  6258. }
  6259. else {
  6260. mes "^3355FFIf only you had a Solid";
  6261. mes "Iron Piece you could use to";
  6262. mes "pry open this door.^000000";
  6263. close;
  6264. }
  6265. case 4:
  6266. set .@KHPryingItem$,"Iron Piece";
  6267. break;
  6268. case 5:
  6269. set .@KHPryingItem$,"Screw";
  6270. break;
  6271. case 6:
  6272. mes "^3355FFLet's look for something";
  6273. mes "heavy we can use to pry";
  6274. mes "open this door.^000000";
  6275. close;
  6276. }
  6277. mes "^3355FFThis "+.@KHPryingItem$+" is far";
  6278. mes "to weak for what you're using it for";
  6279. mes "and breaks.^000000";
  6280. close;
  6281. }
  6282. else if ((KielHyreQuest >= 94) && (KielHyreQuest <= 104)) {
  6283. if (.KHDoor5Opened == 0) {
  6284. mes "^3355FFThe large door";
  6285. mes "is wide open, and.";
  6286. mes "you may now enter.^000000";
  6287. next;
  6288. switch(select("Yes:No")) {
  6289. case 1:
  6290. close2;
  6291. donpcevent "Big_Door_5_Warp::OnEnable";
  6292. enablenpc "Big_Door_5_Warp";
  6293. set .KHDoor5Opened,1;
  6294. end;
  6295. case 2:
  6296. mes "^3355FFWho knows what is on the";
  6297. mes "other side of this door. Let's";
  6298. mes "think about it before barging in..^000000";
  6299. close;
  6300. }
  6301. }
  6302. else {
  6303. mes "^3355FFThe door is open.^000000";
  6304. close;
  6305. }
  6306. }
  6307. else {
  6308. mes "^3355FFThis large door..";
  6309. mes "is closed shut.";
  6310. mes "If you listen carefully,";
  6311. mes "you can hear the door";
  6312. mes "hinges slightly squeak.^000000";
  6313. close;
  6314. }
  6315. }
  6316. else {
  6317. mes "^3355FFThis large door..";
  6318. mes "is closed shut.";
  6319. mes "If you listen carefully,";
  6320. mes "you can hear the door";
  6321. mes "hinges slightly squeak.^000000";
  6322. close;
  6323. }
  6324. }
  6325. kh_kiehl01,166,186,0 script Big_Door_5_Warp 45,1,1,{
  6326. end;
  6327. OnEnable:
  6328. initnpctimer;
  6329. specialeffect EF_SUMMONSLAVE;
  6330. end;
  6331. OnTimer30000:
  6332. stopnpctimer;
  6333. specialeffect EF_SUMMONSLAVE;
  6334. disablenpc "Big_Door_5_Warp";
  6335. set getvariableofnpc(.KHDoor5Opened,"Big Door#BigDoorKHQ5"),0;
  6336. end;
  6337. OnInit:
  6338. disablenpc "Big_Door_5_Warp";
  6339. end;
  6340. OnTouch_:
  6341. if (KielHyreQuest >= 46)
  6342. warp "kh_kiehl02",50,7;
  6343. else
  6344. warp "kh_kiehl01",166,183;
  6345. end;
  6346. }
  6347. //----------------------------------------------------------------------------
  6348. // Kiehl's Room; Kiehl_Room_Trap (Entry way trap)
  6349. //----------------------------------------------------------------------------
  6350. kh_kiehl02,49,10,0 script Kiehl_Room_Trap -1,5,3,{
  6351. end;
  6352. OnTouch:
  6353. if (.KHTrapSprung < 1) {
  6354. set .KHTrapSprung,1;
  6355. set $@KHQuestBusy,1;
  6356. initnpctimer;
  6357. monster "kh_kiehl02",47,13,"Aliot",1740,1;
  6358. monster "kh_kiehl02",45,13,"Alicel",1739,1;
  6359. monster "kh_kiehl02",49,13,"Constant",1745,1;
  6360. monster "kh_kiehl02",51,13,"Aliot",1740,1;
  6361. monster "kh_kiehl02",53,13,"Alicel",1739,1;
  6362. monster "kh_kiehl02",49,13,"Constant",1745,1;
  6363. }
  6364. end;
  6365. OnTimer300000:
  6366. OnTimer600000:
  6367. OnTimer900000:
  6368. if (getmapusers("kh_kiehl02") == 0) {
  6369. donpcevent "KiehlRoom::OnReset";
  6370. stopnpctimer;
  6371. }
  6372. end;
  6373. OnTimer1200000:
  6374. donpcevent "KiehlRoom::OnReset";
  6375. stopnpctimer;
  6376. end;
  6377. OnGlobalTimerOff:
  6378. stopnpctimer;
  6379. end;
  6380. }
  6381. //----------------------------------------------------------------------------
  6382. // Kiehl's Room; Kiehl
  6383. // - Timer will drop to 3 minutes once Kiehl is defeated.
  6384. //----------------------------------------------------------------------------
  6385. kh_kiehl02,50,52,4 script Kiehl#Original 902,{
  6386. if (checkweight(908,200) == 0) {
  6387. mes "^3355FFJust a second...";
  6388. mes "You're carrying too";
  6389. mes "many items with you";
  6390. mes "right now, so you'll";
  6391. mes "need to free up more";
  6392. mes "Inventory space first...^000000";
  6393. close;
  6394. }
  6395. cutin "kh_kiel01",2;
  6396. if ((KielHyreQuest < 94) || (KielHyreQuest >= 106)) {
  6397. mes "[Kiehl]";
  6398. mes "......";
  6399. mes ".........";
  6400. mes "............";
  6401. close2;
  6402. cutin "",255;
  6403. end;
  6404. }
  6405. if ((KielHyreQuest == 94) && (getvariableofnpc(.KHKilled,"KiehlRoom") < 5)) {
  6406. mes "[Kiehl]";
  6407. mes "I'm surprised you made";
  6408. mes "it this far, adventurer~";
  6409. mes "I bid you welcome to my";
  6410. mes "humble room. I assume that";
  6411. mes "you've come for the Condensed";
  6412. mes "Memory Scroll... my mind.";
  6413. next;
  6414. mes "[Kiehl]";
  6415. mes "You can understand";
  6416. mes "why I can't let you have it,";
  6417. mes "so if you really want the";
  6418. mes "Condensed Memory Scroll,";
  6419. mes "then show me what you've got!";
  6420. close2;
  6421. cutin "",255;
  6422. set getvariableofnpc(.KHKilled,"KiehlRoom"),0;
  6423. monster "kh_kiehl02",50,52,"Aliot",1740,1,"KiehlRoom::OnKiehlMobDead";
  6424. monster "kh_kiehl02",50,52,"Alicel",1739,1,"KiehlRoom::OnKiehlMobDead";
  6425. monster "kh_kiehl02",50,52,"Constant",1745,1,"KiehlRoom::OnKiehlMobDead";
  6426. monster "kh_kiehl02",50,52,"Aliot",1740,1,"KiehlRoom::OnKiehlMobDead";
  6427. monster "kh_kiehl02",50,52,"Alicel",1739,1,"KiehlRoom::OnKiehlMobDead";
  6428. monster "kh_kiehl02",50,52,"Constant",1745,1,"KiehlRoom::OnKiehlMobDead";
  6429. monster "kh_kiehl02",50,52,"Aliot",1740,1,"KiehlRoom::OnKiehlMobDead";
  6430. hideonnpc "Kiehl#Original";
  6431. end;
  6432. }
  6433. else if ((KielHyreQuest == 94) && (getvariableofnpc(.KHKilled,"KiehlRoom") >= 5)) {
  6434. cutin "kh_kiel03",2;
  6435. mes "[Kiehl]";
  6436. mes "Hmpf! You're pretty good.";
  6437. mes "Father must have spent";
  6438. mes "a lot of money to hire";
  6439. mes "you. So has he sent";
  6440. mes "you to kill me?";
  6441. next;
  6442. mes "["+strcharinfo(0)+"]";
  6443. mes "Kiel Hyre sent me to ask";
  6444. mes "you to stop turning all of";
  6445. mes "the Third Generation robots";
  6446. mes "into killing machines! How";
  6447. mes "can do something like that";
  6448. mes "to other robots like you?";
  6449. next;
  6450. cutin "kh_kiel01",2;
  6451. mes "[Kiehl]";
  6452. mes "Why not? It's said that man";
  6453. mes "was made in the image of God.";
  6454. mes "Well, robots were made in the";
  6455. mes "image of man. You humans kill";
  6456. mes "each other as much as you";
  6457. mes "like, as far as I can tell.";
  6458. next;
  6459. mes "[Kiehl]";
  6460. mes "It might not be ethical";
  6461. mes "for me to provide weapons";
  6462. mes "to humans that need them...";
  6463. mes "But that's what they are.";
  6464. mes "Weapons. It's more humane";
  6465. mes "for robots to fight than humans.";
  6466. next;
  6467. mes "[Kiehl]";
  6468. mes "Robots don't naturally";
  6469. mes "feel pain or emotions...";
  6470. mes "Not unless they're specially";
  6471. mes "programmed. Sorry, but I don't";
  6472. mes "plans to stop what I'm doing.";
  6473. next;
  6474. cutin "kh_kiel04",2;
  6475. mes "[Kiehl]";
  6476. mes "I am sorry, but I don't have a plan to stop what I am doing.";
  6477. mes "Aside from that, my father showed me a great example of";
  6478. mes "how far a human could go for his own selfinishness by destroying a family.";
  6479. mes "And therefore I don't think that he could create better robots than mine.";
  6480. next;
  6481. mes "["+strcharinfo(0)+"]";
  6482. mes "Humankind may not be";
  6483. mes "perfect, but think about";
  6484. mes "who you're working with!";
  6485. mes "Rekenber is the epitome of";
  6486. mes "human evil! How can you";
  6487. mes "support them like this?";
  6488. next;
  6489. cutin "kh_kiel02",2;
  6490. mes "[Kiehl]";
  6491. mes "I've had a long relationship";
  6492. mes "with Rekenber. I'm fully aware";
  6493. mes "of their capabilities. Do you";
  6494. mes "remember the first room you";
  6495. mes "passed on your way here, the";
  6496. mes "one with all the toys?";
  6497. next;
  6498. mes "[Kiehl]";
  6499. mes "I bet you didn't know that there";
  6500. mes "were 5 Second Generation";
  6501. mes "robots. Me, and my four other";
  6502. mes "brothers and sisters. Father";
  6503. mes "built that room so that all";
  6504. mes "five of us could live together.";
  6505. next;
  6506. cutin "kh_kiel03",2;
  6507. mes "[Kiehl]";
  6508. mes "I was the only one to";
  6509. mes "survive. I returned to";
  6510. mes "Father and even got a";
  6511. mes "name. But yes, I know";
  6512. mes "how bad Rekenber really is...";
  6513. next;
  6514. mes "[Kiehl]";
  6515. mes "I don't... I don't want";
  6516. mes "to talk about this any more.";
  6517. mes "You've made me... Just leave.";
  6518. mes "I think I will let you live.";
  6519. next;
  6520. cutin "",255;
  6521. mes "[Mitchell]";
  6522. mes "Freeze!";
  6523. mes "Kiehl Hyre, you're";
  6524. mes "under arrest for creating";
  6525. mes "and trading illegal weapons!";
  6526. set KielHyreQuest,100;
  6527. hideoffnpc "Mitchell#KiehlRoom";
  6528. hideoffnpc "Agent#KHAgent1";
  6529. hideoffnpc "Agent#KHAgent2";
  6530. hideoffnpc "Agent#KHAgent3";
  6531. hideoffnpc "Agent#KHAgent4";
  6532. next;
  6533. }
  6534. if ((KielHyreQuest == 100) && (getvariableofnpc(.KHKilledBoss,"KiehlRoom") < 1)) {
  6535. set getvariableofnpc(.KHKilledBoss,"KiehlRoom"),0;
  6536. cutin "kh_kiel01",2;
  6537. mes "[Kiehl]";
  6538. mes "Ah, Schwaltzvalt Republic";
  6539. mes "agents. Heh. I haven't had";
  6540. mes "this many guests before.";
  6541. mes "Well, I guess this means";
  6542. mes "we'll have to fight after";
  6543. mes "all, you and I. *Sigh* Pity.";
  6544. next;
  6545. mes "[Kiehl]";
  6546. mes "First, in all fairness,";
  6547. mes "let me take care of these";
  6548. mes "nuisances. They're just";
  6549. mes "mindlessly doing their";
  6550. mes "jobs--sort of like robots-- but";
  6551. mes "don't worry, they won't be hurt.";
  6552. next;
  6553. mes "[Mitchell]";
  6554. mes "Nooooo!";
  6555. specialeffect PF_FOGWALL,AREA,"Mitchell#KiehlRoom";
  6556. specialeffect PF_FOGWALL,AREA,"Agent#KHAgent1";
  6557. specialeffect PF_FOGWALL,AREA,"Agent#KHAgent2";
  6558. specialeffect PF_FOGWALL,AREA,"Agent#KHAgent3";
  6559. specialeffect PF_FOGWALL,AREA,"Agent#KHAgent4";
  6560. next;
  6561. cutin "kh_kiel03",2;
  6562. mes "[Kiehl]";
  6563. mes "And now, you and I can";
  6564. mes "have a proper duel, human.";
  6565. mes "I'm interested in seeing just";
  6566. mes "how strong you really are~";
  6567. close2;
  6568. cutin "",255;
  6569. monster "kh_kiehl02",50,52,"Kiehl",1733,1,"KiehlRoom::OnKiehlDead";
  6570. hideonnpc "Kiehl#Original";
  6571. end;
  6572. }
  6573. else if ((KielHyreQuest == 100) && (getvariableofnpc(.KHKilledBoss,"KiehlRoom") == 1)) {
  6574. cutin "kh_kiel02",2;
  6575. mes "[Kiehl]";
  6576. mes "D-damn...!";
  6577. mes "Well played, adventurer.";
  6578. mes "Well played. I should have";
  6579. mes "known that Father would send";
  6580. mes "the very best after me. Still,";
  6581. mes "you've failed to truly defeat me.";
  6582. next;
  6583. cutin "kh_kiel03",2;
  6584. mes "[Kiehl]";
  6585. mes "I still have a few";
  6586. mes "trump cards left";
  6587. mes "I think... I'll take you";
  6588. mes "to hell with me... Well,";
  6589. mes "if robots can go there~";
  6590. next;
  6591. mapannounce "kh_kiehl02","*Jeeeezzzgggg~ Geezzz~ Grrrr~ Clank~*",bc_map,"0xFF0000";
  6592. mes "[Mitchell]";
  6593. mes "No...! We're locked";
  6594. mes "in the room! We're...";
  6595. mes "We're trapped in here!";
  6596. next;
  6597. mes "[Kiehl]";
  6598. mes "Yay~ Let's burn";
  6599. mes "everything down~";
  6600. next;
  6601. mes "[Mitchell]";
  6602. mes "Quick, "+strcharinfo(0)+",";
  6603. mes "use Kiel Hyre's power";
  6604. mes "device, the one that's";
  6605. mes "supposed to mess with";
  6606. mes "Kiehl's power supply!";
  6607. mes "Hurry, use it right now!";
  6608. next;
  6609. mapannounce "kh_kiehl02","*Gzzzz~ Gzzzz~*",bc_map,"0xFF0000";
  6610. mes "[Kiehl]";
  6611. mes "Wh-what? I c-can't";
  6612. mes "move! This day is just";
  6613. mes "full of surprises. Oh, well.";
  6614. mes "I guess it's time for me to";
  6615. mes "use my other trump card.";
  6616. next;
  6617. mes "[Mitchell]";
  6618. mes "What...?";
  6619. mes "How many trump";
  6620. mes "cards do you have?";
  6621. next;
  6622. mes "[????]";
  6623. mes "I'm so disappointed...";
  6624. mes "I can't believe none";
  6625. mes "of you thought of this.";
  6626. next;
  6627. mes "[Mitchell]";
  6628. mes "Who are you...?";
  6629. mes "Show yourself!";
  6630. next;
  6631. mes "[????]";
  6632. mes "Please.";
  6633. mes "Don't insult me.";
  6634. mes "You know this voice.";
  6635. mes "It's been talking to";
  6636. mes "you this entire time~";
  6637. next;
  6638. mes "[Mitchell]";
  6639. mes "Impossible...";
  6640. mes "How can there";
  6641. mes "be two of you...?!";
  6642. next;
  6643. hideoffnpc "Kiehl#Copy";
  6644. next;
  6645. cutin "kh_kiel01",0;
  6646. mes "[Kiehl]";
  6647. mes "Hahahahaha!";
  6648. mes "I'm a robot!";
  6649. mes "I can make extra";
  6650. mes "bodies, switch brains";
  6651. mes "with them. It's awfully";
  6652. mes "convenient, let me tell you.";
  6653. next;
  6654. cutin "kh_kiel03",2;
  6655. mes "[Kiehl]";
  6656. mes "Anyway, I don't mean to show";
  6657. mes "off, but I suppose I better";
  6658. mes "reveal to you my final trump";
  6659. mes "card. First of all, I know all";
  6660. mes "about you, Ms. Mitchell Layla~";
  6661. next;
  6662. mes "[Mitchell]";
  6663. mes "What? How do you";
  6664. mes "know my name?";
  6665. next;
  6666. mes "[Kiehl]";
  6667. mes "Well, I have a few";
  6668. mes "spies of my own...";
  6669. mes "I'll allow him to explain...";
  6670. next;
  6671. mes "[Masked Man]";
  6672. mes "Mitchell...";
  6673. mes "I'm sorry that";
  6674. mes "you had to get";
  6675. mes "involved in all this...";
  6676. next;
  6677. mes "[Mitchell]";
  6678. mes "Wolkeus? Wolkeus Kaiser?!";
  6679. mes "You're the spy?! But you risked";
  6680. mes "your life to save our president!";
  6681. mes "No! Oh, God! How can this be";
  6682. mes "happening?! Everything's just...";
  6683. mes "This is all crazy! All of it!";
  6684. next;
  6685. mes "[Wolkeus]";
  6686. mes "This is just the result";
  6687. mes "of elaborate plans that";
  6688. mes "were made years ago. I didn't";
  6689. mes "expect you to be this surprised,";
  6690. mes "Mitchell. It's the way the game";
  6691. mes "is played. You know that.";
  6692. next;
  6693. mes "[Mitchell]";
  6694. mes "Mister President...";
  6695. mes "I failed you... I'm sorry...";
  6696. next;
  6697. mes "[Kiehl]";
  6698. mes "Well, Kaiser, she took";
  6699. mes "it pretty badly, but at least";
  6700. mes "you're being gentlemanly";
  6701. mes "about it. Well, I'd like for";
  6702. mes "all of us to get better";
  6703. mes "acquainted, but...";
  6704. next;
  6705. cutin "kh_kiel01",2;
  6706. mes "[Kiehl]";
  6707. mes "We'd better say our";
  6708. mes "farewells here. This";
  6709. mes "place will be gone in";
  6710. mes "five minutes. Ah, and";
  6711. mes "Ms. Layla, you're coming";
  6712. mes "with us. We have questions~";
  6713. next;
  6714. mes "[Kiehl]";
  6715. mes "I'm curious as to what";
  6716. mes "the president's plans are.";
  6717. mes "Mister Kaiser, if you'll";
  6718. mes "escort Ms. Layla, please...";
  6719. next;
  6720. mes "[Wolkeus Kaiser]";
  6721. mes "...............................";
  6722. mes "Sorry, Mitchell.";
  6723. mes "I gotta do it.";
  6724. next;
  6725. mes "[Mitchell]";
  6726. mes "No, get away! Let me go!";
  6727. mes "Let go of me, Wolkeus!";
  6728. hideonnpc "Mitchell#KiehlRoom";
  6729. hideonnpc "Agent#KHAgent1";
  6730. hideonnpc "Agent#KHAgent2";
  6731. hideonnpc "Agent#KHAgent3";
  6732. hideonnpc "Agent#KHAgent4";
  6733. next;
  6734. cutin "kh_kiel02",2;
  6735. mes "[Kiehl]";
  6736. mes "Great, we're done with";
  6737. mes "that ugly business. Now,";
  6738. mes "where was I? Ah, right.";
  6739. mes "Yes. I'm sorry. We don't";
  6740. mes "have any more time to play.";
  6741. next;
  6742. mes "[Kiehl]";
  6743. mes "Here, adventurer.";
  6744. mes "I'm aware that my father";
  6745. mes "sent you here to get this.";
  6746. mes "Consider it my final gift";
  6747. mes "to him. I'm surprised he left";
  6748. mes "this ring inside me, though...";
  6749. next;
  6750. cutin "kh_kiel04",2;
  6751. mes "[Kiehl]";
  6752. mes "I imagine that it must";
  6753. mes "be precious to him. But";
  6754. mes "I wonder why he placed";
  6755. mes "it inside me? Well, anyway,";
  6756. mes "I have a message I'd like";
  6757. mes "for you to deliver to him.";
  6758. next;
  6759. cutin "kh_kiel01",2;
  6760. mes "[Kiehl]";
  6761. mes "First... I guess we";
  6762. mes "should get rid of this";
  6763. mes "old thing. It was a good";
  6764. mes "body, and it's served me";
  6765. mes "well for 23 years. I'll miss";
  6766. mes "it. Rest well, old Kiehl.";
  6767. next;
  6768. specialeffect EF_DEVIL;
  6769. next;
  6770. mes "[Kiehl]";
  6771. mes "Now, this was the body";
  6772. mes "that my father made.";
  6773. mes "Please tell him that";
  6774. mes "this means that we're";
  6775. mes "no longer related to";
  6776. mes "each other at all.";
  6777. next;
  6778. mes "[Kiehl]";
  6779. mes "The body I'm using right now?";
  6780. mes "I made it myself with the most";
  6781. mes "advanced technology. Consider";
  6782. mes "it... a Fourth Generation robot";
  6783. mes "body if you will. Father will";
  6784. mes "understand what I mean.";
  6785. next;
  6786. mes "[Kiehl]";
  6787. mes "Anyway, please tell him";
  6788. mes "that, and get his old ring";
  6789. mes "out of my old robot body,";
  6790. mes "and then give it to him. For";
  6791. mes "now, let's get out of here: we";
  6792. mes "just have 3 minutes to evacuate.";
  6793. next;
  6794. mes "[Kiehl]";
  6795. mes "You're a worthy opponent,";
  6796. mes "and a human I respect.";
  6797. mes "I don't know if we'll meet";
  6798. mes "again, but who knows?";
  6799. mes "Anyway, I'll open up the";
  6800. mes "exit for you. Farewell~";
  6801. delitem 7504,1; //Toy_Motor
  6802. set KielHyreQuest,104;
  6803. hideonnpc "Kiehl#Copy";
  6804. donpcevent "Kiehl_Room_Exit::OnEnable";
  6805. enablenpc "Kiehl_Room_Exit";
  6806. initnpctimer;
  6807. cutin "",255;
  6808. close;
  6809. }
  6810. if (KielHyreQuest == 104) {
  6811. cutin "kh_kiel02",2;
  6812. mes "^3355FFYou retrieve the";
  6813. mes "ring from the heart of";
  6814. mes "Kiehl's old robotic body.^000000";
  6815. getitem 7508,1; //Elysia_Ring
  6816. set KielHyreQuest,106;
  6817. close2;
  6818. cutin "",255;
  6819. end;
  6820. }
  6821. else{
  6822. cutin "kh_kiel02",2;
  6823. mes "^3355FFKiehl's old";
  6824. mes "robotic body";
  6825. mes "stands alone,";
  6826. mes "lifeless and silent.^000000";
  6827. close2;
  6828. cutin "",255;
  6829. end;
  6830. }
  6831. OnTimer180000:
  6832. stopnpctimer;
  6833. mapannounce "kh_kiehl02","Beeeeeeeeeeeeep~",bc_npc,0xFF0000;
  6834. donpcevent "KiehlRoom::OnReset";
  6835. end;
  6836. OnTimer179000:
  6837. mapannounce "kh_kiehl02","1 second remaining until detonation",bc_npc,0xFF0000;
  6838. end;
  6839. OnTimer178000:
  6840. mapannounce "kh_kiehl02","2 seconds remaining until detonation",bc_npc,0xFF0000;
  6841. end;
  6842. OnTimer177000:
  6843. mapannounce "kh_kiehl02","3 seconds remaining until detonation",bc_npc,0xFF0000;
  6844. end;
  6845. OnTimer176000:
  6846. mapannounce "kh_kiehl02","4 seconds remaining until detonation",bc_npc,0xFF0000;
  6847. end;
  6848. OnTimer175000:
  6849. mapannounce "kh_kiehl02","5 seconds remaining until detonation",bc_npc,0xFF0000;
  6850. end;
  6851. OnTimer170000:
  6852. mapannounce "kh_kiehl02","10 seconds remaining until detonation",bc_npc,0xFF0000;
  6853. end;
  6854. OnTimer160000:
  6855. mapannounce "kh_kiehl02","20 seconds remaining until detonation",bc_npc,0xFF0000;
  6856. end;
  6857. OnTimer150000:
  6858. mapannounce "kh_kiehl02","30 seconds remaining until detonation",bc_npc,0xFF0000;
  6859. end;
  6860. OnTimer120000:
  6861. mapannounce "kh_kiehl02","1 minute remaining until detonation.",bc_npc,0xFF0000;
  6862. end;
  6863. OnTimer60000:
  6864. mapannounce "kh_kiehl02","2 minutes remaining until detonation.",bc_npc,0xFF0000;
  6865. end;
  6866. OnTimer1000:
  6867. mapannounce "kh_kiehl02","3 minutes remaining until detonation.",bc_npc,0xFF0000;
  6868. end;
  6869. }
  6870. //----------------------------------------------------------------------------
  6871. // Kiehl's Room; NPC for mob control, timers, and other junk.
  6872. //----------------------------------------------------------------------------
  6873. kh_kiehl02,1,1,0 script KiehlRoom -1,{
  6874. end;
  6875. OnKiehlMobDead:
  6876. set .KHKilled,.KHKilled+1;
  6877. if (.KHKilled == 5) {
  6878. hideoffnpc "Kiehl#Original";
  6879. }
  6880. end;
  6881. OnKiehlDead:
  6882. set .KHKilledBoss,1;
  6883. hideoffnpc "Kiehl#Original";
  6884. end;
  6885. OnReset:
  6886. donpcevent "Kiehl_Room_Trap::OnGlobalTimerOff";
  6887. if (getmapusers("kh_kiehl02") > 0)
  6888. mapwarp "kh_kiehl02","lighthalzen",192,200;
  6889. killmonsterall "kh_kiehl02";
  6890. disablenpc "Kiehl_Room_Exit";
  6891. hideonnpc "Mitchell#KiehlRoom";
  6892. hideonnpc "Agent#KHAgent1";
  6893. hideonnpc "Agent#KHAgent2";
  6894. hideonnpc "Agent#KHAgent3";
  6895. hideonnpc "Agent#KHAgent4";
  6896. hideonnpc "Kiehl#Copy";
  6897. hideoffnpc "Kiehl#Original";
  6898. set .KHKilledBoss,0;
  6899. set .KHKilled,0;
  6900. set getvariableofnpc(.KHTrapSprung,"Kiehl_Room_Trap"),0;
  6901. set $@KHQuestBusy,0;
  6902. end;
  6903. }
  6904. //----------------------------------------------------------------------------
  6905. // Kiehl's Room; Mitchell and Agents.
  6906. //----------------------------------------------------------------------------
  6907. kh_kiehl02,49,55,6 script Mitchell#KiehlRoom 727,{
  6908. end;
  6909. OnInit:
  6910. hideonnpc strnpcinfo(0);
  6911. end;
  6912. }
  6913. kh_kiehl02,53,52,4 duplicate(Mitchell#KiehlRoom) Agent#KHAgent1 880
  6914. kh_kiehl02,51,49,1 duplicate(Mitchell#KiehlRoom) Agent#KHAgent2 880
  6915. kh_kiehl02,47,50,0 duplicate(Mitchell#KiehlRoom) Agent#KHAgent3 880
  6916. kh_kiehl02,46,53,6 duplicate(Mitchell#KiehlRoom) Agent#KHAgent4 880
  6917. //----------------------------------------------------------------------------
  6918. // Kiehl's Room; Copy of Kiehl.
  6919. //----------------------------------------------------------------------------
  6920. kh_kiehl02,48,53,6 script Kiehl#Copy 902,{
  6921. end;
  6922. OnInit:
  6923. hideonnpc "Kiehl#Copy";
  6924. end;
  6925. }
  6926. //----------------------------------------------------------------------------
  6927. // Kiehl's Room; Kiehl_Room_Exit
  6928. //----------------------------------------------------------------------------
  6929. kh_kiehl02,49,56,0 script Kiehl_Room_Exit 45,1,1,{
  6930. OnTouch_:
  6931. if (getmapusers("kh_kiehl02") < 1)
  6932. donpcevent "KiehlRoom::OnReset";
  6933. warp "lighthalzen",193,200;
  6934. end;
  6935. OnEnable:
  6936. specialeffect EF_SUMMONSLAVE;
  6937. end;
  6938. OnInit:
  6939. disablenpc "Kiehl_Room_Exit";
  6940. end;
  6941. }
  6942. //============================================================
  6943. // Old changelog
  6944. //============================================================
  6945. //= 1.0 First version, needs testing [Playtester]
  6946. //= 1.1 Copied over some changes made by -Tsuyuki- [L0ne_W0lf]
  6947. //= Reworked variables slightly so that the permenents ones aside from the
  6948. //= main tracking variable, are deleted when no longer needed. Renamed
  6949. //= several variables that handle strings to @KHInput$. [L0ne_W0lf]
  6950. //= 1.2 Removed duplicate NPCs. [Toms]
  6951. //= 1.3 More Bug fixes, fixed typo. Updated Additional comments. [L0ne_W0lf]
  6952. //= 1.4 Fixed doors not resetting in kh_kiehl01 after 30 second timer is up. [L0ne_W0lf]
  6953. //= 1.5 Another bug fixed (&& instead of ||). [L0ne_W0lf]
  6954. //= 1.6 More squashed bugs with if checking. [L0ne_W0lf]
  6955. //= 1.7 Corrected some spelling mistakes. [Balish]
  6956. //= Corrected Exploit with the pub man, giving infinite wine and money.
  6957. //= Corrected pool and map not showing text for some states of the quest.
  6958. //= Corrected Elly showing cutin but not text for some states of the quest (causing players to log off to continue).
  6959. //= Let fisherman talk to you when you have 10 fishes OR MORE.
  6960. //= Corrected not letting you enter the tombstone after finishing the quest.
  6961. //= 1.8 Elly now deletes the Iron_Box, and Kiel Hyre deletes the Pin. [L0ne_W0lf]
  6962. //= More security on the 5th Big Door, now makes sure no one outside of who-
  6963. //= acticated it initially can use it. Resets after 10 minutes to make it.
  6964. //= Made it so that you need to be at least step 84 to activate the final door.
  6965. //= Corrected not deleting Allysia's Ring from inventory.
  6966. //= 1.9 Exit will now enable if you are just retrieving the Ring, keeps you from getting stuck. [L0ne_W0lf]
  6967. //= Corrected "KH_Kielh02", was setting off a debug, invalid map index. Should have been "kh_Kiehl02"
  6968. //= Made .KHQuestBusy$ into a temp global variable. $@KHQuestBusy$.
  6969. //= 2.0 Changed the labels on the "Big Doors" to "Identifier Names" to prevent an error with using getvariableofnpc [L0ne_W0lf]
  6970. //= 2.1 Fifth door now checks for a variable HIGHER or EQUAL to 74 not 84, as pointed out by Stollen. [L0ne_W0lf]
  6971. //= 2.2 Another fix for Elly, no longer RESETS to 26 when you talk to her. [L0ne_W0lf]
  6972. //= 2.3 Should NOT have been setting .KHQuestBusy at all. It's not used or accessed anymore. Removed. [L0ne_W0lf]
  6973. //= 2.4 Lots of fixes (4ish) from Valandi. [L0ne_W0lf]
  6974. //= Added a getmapuser check to the mapwarp in KHTimerEnd so it's not trying to warp out 0 users. [L0ne_W0lf]
  6975. //= 2.5 Fixed several small issues (and large one) such as typos in cutins, typos in dialog, etc. [L0ne_W0lf]
  6976. //= Added some of the missing dialogs for several NPCs, and fixed a few NPC locations.
  6977. //= ALL books can now trigger the wall.
  6978. //= Allysia will now summon 4 (was 2) G_CONSTANTS instead of REGULAR constants.
  6979. //= Fixed where Golden_Key and Kiel_Button are deleted.
  6980. //= Removed KHTimerEnd, and instead use OnReset.
  6981. //= Fixed typo in the second NPC that gives Black Keycards.
  6982. //= Added Monster Warps. (Keeps monsters from being in dungeon quest area.) [Non-functional]
  6983. //= 2.6 Stupid mistake, accidentally had 4 copies of the same script in 1... [L0ne_W0lf the bonehead]
  6984. //= 2.7 Fixed the wrong name being displayed for Kiel Hyre in one dialog.
  6985. //= Removed $@KH_DoorInvoker entirely. The quest is now working like it should according to iRO.
  6986. //= Fixed up a few more NPC headers. Facing direction fixes mostly this time.
  6987. //= More progression changes to Kiehl Hyre. He no longer stops dialog after the agents appear.
  6988. //= 2.8 Fixed the weight checking in Vandt, and added official dialog. [L0ne_W0lf]
  6989. //= Added weight checks for all NPCs that give items. Semi-official dialog.
  6990. //= Got the missing portion of dialog for Mills'.
  6991. //= Will add further proper dialogs as I get to them on the second runthrough of the quest.
  6992. //= 2.8a minor optimization with extra goto, else or empty switch [Lupus]
  6993. //= 2.9 Fixed the "enablenpc" problem with the missing spaces. No idea how it happened. [L0ne_W0lf]
  6994. //= 3.0 Fixed a typo in Elly, in her room. (was <= should have been <) [L0ne_W0lf]
  6995. //= Added an 'end;' to the cookie basket. Kiel Hyre's final dialog will now delete all quest-related items.
  6996. //= 3.1 Moved the "delitem" for all related quest items to the proper NPC. [L0ne_W0lf]
  6997. //= 3.2 Fixed error with Allysia teling you to "Go away." maybe. [L0ne_W0lf]
  6998. //= 3.2b Fixed some typos and grammar mistakes. [SinSloth]
  6999. //= 3.3 Fixed the receiver log out bugs. [L0ne_W0lf]
  7000. //= 3.4 Fixed bug when u can't get a Yellow Keycard if u got the Blue one at first [Lupus]
  7001. //= Note: There are many condition checks that should be omitted in the future fixed item names in item_db.txt / txt resources according the quest
  7002. //= for items, should be used bitwise methods in a single variable. So let's fix the rest possible bugs (if they exist) and then optimize ^_-
  7003. //= 3.5 Changed the way the Black Keycard distibuting NPCs work slighty. [L0ne_W0lf]
  7004. //= 3.6 Keil Hyre removes ALL outstanding quest items when he is talked [L0ne_W0lf]
  7005. //= to after finishing the quest.
  7006. //= 3.7 Corrected NPC names to fall within proper restrictions. [L0ne_W0lf]
  7007. //= 3.8 Corrected some delitems. (bugreport:690) [Samuray22]
  7008. //= 3.9 Fixed a cutin not being erased. (bugreport:1539) [L0ne_W0lf]
  7009. //============================================================