home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1994 March / Source_Code_CD-ROM_Walnut_Creek_March_1994.iso / compsrcs / games / volume16 / nethck31 / part29 < prev    next >
Encoding:
Internet Message Format  |  1993-01-31  |  58.4 KB

  1. Path: uunet!news.tek.com!master!saab!billr
  2. From: billr@saab.CNA.TEK.COM (Bill Randle)
  3. Newsgroups: comp.sources.games
  4. Subject: v16i029:  nethack31 - display oriented dungeons & dragons (Ver. 3.1), Part29/108
  5. Message-ID: <4317@master.CNA.TEK.COM>
  6. Date: 29 Jan 93 20:45:48 GMT
  7. Sender: news@master.CNA.TEK.COM
  8. Lines: 2051
  9. Approved: billr@saab.CNA.TEK.COM
  10. Xref: uunet comp.sources.games:1586
  11.  
  12. Submitted-by: izchak@linc.cis.upenn.edu (Izchak Miller)
  13. Posting-number: Volume 16, Issue 29
  14. Archive-name: nethack31/Part29
  15. Supersedes: nethack3p9: Volume 10, Issue 46-102
  16. Environment: Amiga, Atari, Mac, MS-DOS, OS2, Unix, VMS, X11
  17.  
  18.  
  19.  
  20. #! /bin/sh
  21. # This is a shell archive.  Remove anything before this line, then unpack
  22. # it by saving it into a file and typing "sh file".  To overwrite existing
  23. # files, type "sh file -c".  You can also feed this as standard input via
  24. # unshar, or by typing "sh <file", e.g..  If this archive is complete, you
  25. # will see the following message at the end:
  26. #        "End of archive 29 (of 108)."
  27. # Contents:  dat/quest.tx2 include/system.h
  28. # Wrapped by billr@saab on Wed Jan 27 16:08:57 1993
  29. PATH=/bin:/usr/bin:/usr/ucb ; export PATH
  30. if test -f 'dat/quest.tx2' -a "${1}" != "-c" ; then 
  31.   echo shar: Will not clobber existing file \"'dat/quest.tx2'\"
  32. else
  33. echo shar: Extracting \"'dat/quest.tx2'\" \(42211 characters\)
  34. sed "s/^X//" >'dat/quest.tx2' <<'END_OF_FILE'
  35. X#
  36. X#    Priest
  37. X#
  38. X%Cc P 00001
  39. XYou find yourself standing in sight of %H.  Something
  40. Xis obviously wrong here.  The doors to %H, which usually
  41. Xstand open, are closed.  Strange human shapes shamble around
  42. Xoutside.
  43. X
  44. XYou realize that the %l needs your assistance!
  45. X%E
  46. X%Cp P 00002
  47. XOnce again, you stand before %H.
  48. X%E
  49. X%Cp P 00003
  50. XAgain you face %H.  Your intuition hints that this may be
  51. Xthe final time you come here.
  52. X%E
  53. X%Cp P 00005
  54. XGreetings, honored %r.  It is good to see you.
  55. X%E
  56. X%Cp P 00006
  57. XAh, %p!  Surely you can help us in our hour of need.
  58. X%E
  59. X%Cp P 00007
  60. XGreetings, %s.  The %l has great need of your help.
  61. X%E
  62. X%Cp P 00008
  63. XAlas, it seems as if even %d has deserted us.
  64. X%E
  65. X%Cp P 00009
  66. XMay %d be with you, %s.
  67. X%E
  68. X%Cc P 00010
  69. XAh, %p, my %S.  You have returned to us at last.
  70. XA great blow has befallen our order; perhaps you can help us.
  71. XFirst, however, I must determine if you are prepared for this
  72. Xgreat challenge.
  73. X%E
  74. X%Cp P 00011
  75. XAgain, my %S, you stand before me.  Are you ready now to help us?
  76. X%E
  77. X%Cp P 00012
  78. XOnce more, %p, you stand within the sanctum.  Are you ready now?
  79. X%E
  80. X%Cc P 00013
  81. XYou are a heretic, %p!  How can you, a %r, deviate so from the
  82. Xteachings of %d?  Begone from this temple.  You are no longer
  83. Xa %s to this order.  We will pray to %d for other assistance,
  84. Xas you have failed us utterly.
  85. X%E
  86. X%Cc P 00014
  87. XAlas, %p, it is not yet to be.  A mere %r could never
  88. Xwithstand the might of %n.  Go forth, again into the world, and return
  89. Xwhen you have attained the post of %R.
  90. X%E
  91. X%Cc P 00015
  92. XThis is terrible, %p.  You have deviated from the true path!
  93. XYou know that %d requires the most strident devotion of this
  94. Xorder.  The %shood must stand for utmost piety.
  95. X
  96. XGo from here, atone for your sins against %d.  Return only when
  97. Xyou have purified yourself.
  98. X%E
  99. X%Cc P 00016
  100. XYes, %p.  You are truly ready now.  Attend to me and I shall
  101. Xtell you of what has transpired:
  102. X
  103. XAt one of the Great Festivals a short time ago, %n and a legion
  104. Xof undead invaded %H.  Many %gP were killed, including
  105. Xthe one carrying %o.
  106. X
  107. XAs a final act of vengefulness, %n desecrated the altar here.
  108. XWithout it, we could not mount a counter-attack.  Now, there are
  109. Xbarely enough %gP left to keep the undead at bay.
  110. X
  111. XWe need you to find %i, then, from there, travel
  112. Xto %n's lair.  If you can manage to defeat %n and return
  113. X%o here, we can then drive off the legions of
  114. Xundead that befoul the land.
  115. X
  116. XGo with %d as your guide, %p.
  117. X%E
  118. X%Cp P 00020
  119. XYou can prevail, if you rely on %d.
  120. X%E
  121. X%Cp P 00021
  122. XRemember that %n has great magic at his command.
  123. X%E
  124. X%Cp P 00022
  125. XBe pure, my %S.
  126. X%E
  127. X%Cp P 00023
  128. XBeware, %i is surrounded by a great graveyard.
  129. X%E
  130. X%Cp P 00024
  131. XYou may be able to affect %n with magical cold.
  132. X%E
  133. X%Cp P 00025
  134. XAcquire and wear %o if you can.  It will aid you
  135. Xagainst %n.
  136. X%E
  137. X%Cp P 00026
  138. XCall upon %d when your need is greatest.  You will be answered.
  139. X%E
  140. X%Cp P 00027
  141. XThe undead legions are weakest during the daylight hours.
  142. X%E
  143. X%Cp P 00028
  144. XDo not loose faith, %p.  If you do so, %n will grow stronger.
  145. X%E
  146. X%Cp P 00029
  147. XWear %o.  It will assist you against the undead.
  148. X%E
  149. X%Cc P 00030
  150. XYou stand facing a large graveyard.  The sky above is filled with clouds
  151. Xthat seem to get thicker closer to the center.  You sense the presence of
  152. Xundead in larger numbers than you have ever encountered before.
  153. X
  154. XYou remember the descriptions of %i, given to you by
  155. Xthe %l.  It is ahead that you will find %n's trail.
  156. X%E
  157. X%Cp P 00031
  158. XAgain, you stand before %i.
  159. X%E
  160. X%Cc P 00040
  161. XThe stench of brimstone is all about you, and the shrieks and moans
  162. Xof tortured souls assault your psyche.
  163. X
  164. XAhead, there is a small clearing amidst the bubbling pits of lava...
  165. X%E
  166. X%Cp P 00041
  167. XAgain, you have invaded %n's domain.
  168. X%E
  169. X%Cc P 00050
  170. XAh, so the %l has sent another %g to retrieve
  171. X%o.
  172. X
  173. XNo, I see you are no %g.  Perhaps I shall have some fun today
  174. Xafter all.  Prepare to die, %r!  You shall never regain
  175. X%o.
  176. X%E
  177. X%Cp P 00051
  178. XSo, %r.  Again you challenge me.
  179. X%E
  180. X%Cp P 00052
  181. XDie now, %r.  %d has no power here to aid you.
  182. X%E
  183. X%Cp P 00053
  184. XYou shall die, %r, and I will have %o back.
  185. X%E
  186. X%Cp P 00060
  187. XSubmit to my will, %c, and I shall spare you.
  188. X%E
  189. X%Cp P 00061
  190. XYour puny powers are no match for me, %c.
  191. X%E
  192. X%Cp P 00062
  193. XI shall have you turned into a zombie for my pleasure!
  194. X%E
  195. X%Cp P 00063
  196. XDespair now, %r.  %d cannot help you.
  197. X%E
  198. X%Cp P 00064
  199. XI shall feast upon your soul for many days, %c.
  200. X%E
  201. X%Cp P 00065
  202. XYour death will be slow and painful.  That I promise!
  203. X%E
  204. X%Cp P 00066
  205. XYou cannot defeat %n, you fool.  I shall kill you now.
  206. X%E
  207. X%Cp P 00067
  208. XYour precious %l will be my next victim.
  209. X%E
  210. X%Cp P 00068
  211. XI feel your powers failing you, %r.  You shall die now.
  212. X%E
  213. X%Cp P 00069
  214. XWith %o, nothing can stand in my way.
  215. X%E
  216. X%Cc P 00070
  217. XAs you pick up %o, you feel the essence of
  218. X%d fill your soul.  You know now why %n stole it from
  219. X%H, for with it, a %c of %d could
  220. Xeasily defeat his plans.
  221. X
  222. XYou sense a message from %d.  Though not verbal, you
  223. Xget the impression that you must return to the %l as soon
  224. Xas possible.
  225. X%E
  226. X%Cc P 00080
  227. XYou feel a wrenching shift in the ether as %n's body dissolves
  228. Xinto a cloud of noxious gas.
  229. X
  230. XSuddenly, a voice booms out:
  231. X
  232. X    Thou hast defeated the least of my minions, %r.
  233. X    Know now that Moloch is aware of thy presence.
  234. X    As for you, %n, I shall deal with thy failure
  235. X    at my leisure.
  236. X
  237. XYou then hear the voice of %n, screaming in terror...
  238. X%E
  239. X%Cc P 00081
  240. XYou have returned, %p.  And with %o, I see.
  241. XCongratulations.
  242. X
  243. XI have been in meditation, and have received direction from
  244. Xa minion of %d.  %d commands that you retain
  245. X%o.  With it, you must recover the Amulet
  246. Xof Yendor.
  247. X
  248. XGo forth, and let %d guide your steps.
  249. X%E
  250. X%Cp P 00090
  251. XWelcome back, %p.  How is your quest for the Amulet going?
  252. X%E
  253. X%Cc P 00091
  254. XYou have prevailed, %p!  %d is surely with you.  Now,
  255. Xyou must take the amulet, and sacrifice it on %d's altar on
  256. Xthe Astral plane.  I suspect that I shall never see you again in this
  257. Xlife, but I hope to at %d's feet.
  258. X%E
  259. X#
  260. X#    Rogue (with apologies to all Norsk speakers -dean)
  261. X#
  262. X%Cc R 00001
  263. XUnexpectedly, you find yourself back in Ransmannsby, where you trained to
  264. Xbe a thief.  Quickly you make the guild sign, hoping that you AND word
  265. Xof your arrival reach the %l's den.
  266. X%E
  267. X%Cp R 00002
  268. XOnce again, you find yourself back in Ransmannsby.  Fond memories are
  269. Xreplaced by fear, knowing that the %l is waiting for you.
  270. X%E
  271. X%Cp R 00003
  272. XYou rub your hands through your hair, hoping that the little ones on
  273. Xthe back of your neck stay down, and prepare yourself for your meeting
  274. Xwith the %l.
  275. X%E
  276. X%Cp R 00005
  277. XI hear that Lady Tyvefelle's household is lightly guarded.
  278. X%E
  279. X%Cp R 00006
  280. XYou're back?  Even the Twain don't come back anymore.
  281. X%E
  282. X%Cp R 00007
  283. XCan you spare an old cutpurse a zorkmid for some grog?
  284. X%E
  285. X%Cp R 00008
  286. XFritz tried to join the other side, and now he's hell-hound chow.
  287. X%E
  288. X%Cp R 00009
  289. XBe careful what you steal, I hear the boss has perfected turning
  290. Xrocks into worthless pieces of glass.
  291. X%E
  292. X%Cc R 00010
  293. XWell, look who it is boys -- %p has come home.  You seem to have
  294. Xfallen behind in your dues.  I should kill you as an example to these
  295. Xother worthless cutpurses, but I have a better plan.  If you are ready
  296. Xmaybe you could work off your back dues by performing a little job for
  297. Xme.  Let us just see if you are ready...
  298. X%E
  299. X%Cp R 00011
  300. XWell, I didn't expect to see you back.  It shows that you are either stupid,
  301. Xor you are finally ready to accept my offer.  Let us hope for your sake it
  302. Xisn't stupidity that brings you back.
  303. X%E
  304. X%Cp R 00012
  305. XDid you perhaps mistake me for some other %l?  You must
  306. Xthink me as stupid as your behavior.  I warn you not to try my patience.
  307. X%E
  308. X%Cc R 00013
  309. XWell %gp, it looks like our friend has forgotten who is the boss
  310. Xaround here.  Our friend seems to think that %rp have been put in
  311. Xcharge.  Wrong.  DEAD WRONG!
  312. X
  313. XYour sudden shift in surroundings prevents you from hearing the end
  314. Xof the %l's curse.
  315. X%E
  316. X%Cc R 00014
  317. XIn the time that you've been gone you've only been able to master the
  318. Xarts of a %r?  I've trained ten times again as many %Rp
  319. Xin that time.  Maybe I should send one of them, no?  Where would that
  320. Xleave you, %p?  Oh yeah, I remember, I was going to kill you!
  321. X%E
  322. X%Cc R 00015
  323. XMaybe I should chain you to my perch here for a while.  Perhaps watching
  324. Xreal %A men at work will bring some sense back to you.  I don't
  325. Xthink I could stand the sight of you for that long though.  Come back
  326. Xwhen you can be trusted to act properly.
  327. X%E
  328. X%Cc R 00016
  329. XWill everyone not going to retrieve %o from that
  330. Xjerk, the %n, take one step backwards.  Good choice,
  331. X%p, because I was going to send you anyway.  My other %gp
  332. Xare too valuable to me.
  333. X
  334. XHere's the deal.  I want %o, the %n
  335. Xhas %o.  You are going to get %o
  336. Xand bring it back to me.  So simple an assignment even you can understand
  337. Xit.
  338. X%E
  339. X%Cc R 00020
  340. XYou don't seem to understand, %o isn't here so
  341. Xneither should you be!
  342. X%E
  343. X%Cp R 00021
  344. XMay %d curse you with lead fingers.  Get going!
  345. X%E
  346. X%Cp R 00022
  347. XWe don't have all year.  GET GOING!
  348. X%E
  349. X%Cc R 00023
  350. XHow would you like a scar necklace?  I'm just the jeweler to do it!
  351. X%E
  352. X%Cp R 00024
  353. XLazy S.O.B.  Maybe I should call up someone else...
  354. X%E
  355. X%Cp R 00025
  356. XMaybe I should open your skull and see if my instructions are inside?
  357. X%E
  358. X%Cp R 00026
  359. XThis is not a task you can complete in the afterlife, you know.
  360. X%E
  361. X%Cc R 00027
  362. XInside every living person is a dead person trying to get out, and I have
  363. Xyour key!
  364. X%E
  365. X%Cp R 00028
  366. XWe're almost out of hell-hound chow, so why don't you just get moving!
  367. X%E
  368. X%Cp R 00029
  369. XYou know, %o isn't going to come when you
  370. Xwhistle.  You must get it yourself.
  371. X%E
  372. X%Cp R 00030
  373. XThose damn little hairs tell you that you are nearer to
  374. X%o.
  375. X%E
  376. X%Cp R 00031
  377. XNot wanting to face the %l without having stolen
  378. X%o, you continue.
  379. X%E
  380. X%Cc R 00040
  381. XYou feel a great swelling up of courage, sensing the presence of
  382. X%o.  Or is it fear?
  383. X%E
  384. X%Cp R 00041
  385. XThe hairs on the back of your neck whisper -- it's fear.
  386. X%E
  387. X%Cc R 00050
  388. XAh!  You must be the %l's ... er, "hero".  A pleasure
  389. Xto meet you.
  390. X%E
  391. X%Cc R 00051
  392. XWe meet again.  Please reconsider your actions.
  393. X%E
  394. X%Cp R 00052
  395. XSurely, %p, you have learned that you can not trust any bargains
  396. Xthat the %l has made.  I can show you how to continue on
  397. Xyour quest without having to run into him again.
  398. X%E
  399. X%Cp R 00053
  400. XPlease, think for a moment about what you are doing.  Do you truly
  401. Xbelieve that %d would want the %l to have
  402. X%o?
  403. X%E
  404. X%Cp R 00060
  405. XMay I suggest a compromise.  Are you interested in gold or gems?
  406. X%E
  407. X%Cp R 00061
  408. XPlease don't force me to kill you.
  409. X%E
  410. X%Cp R 00062
  411. XGrim times are upon us all.  Will you not see reason?
  412. X%E
  413. X%Cp R 00063
  414. XI knew the %l, and you're no %l, thankfully.
  415. X%E
  416. X%Cp R 00064
  417. XIt is a shame that we are not meeting under more pleasant circumstances.
  418. X%E
  419. X%Cp R 00065
  420. XI was once like you are now, %p.  Believe in me -- our way
  421. Xis better.
  422. X%E
  423. X%Cp R 00066
  424. XStay with me, and I will make you %o's guardian.
  425. X%E
  426. X%Cp R 00067
  427. XWhen you return, with or without %o,
  428. Xthe %l will have you killed.
  429. X%E
  430. X%Cp R 00068
  431. XDo not be fooled; I am prepared to kill to defend %o.
  432. X%E
  433. X%Cp R 00069
  434. XI can reunite you with the Twain.  Oh, the stories you can swap.
  435. X%E
  436. X%Cc R 00070
  437. XAs you pick up %o, the hairs on the back of your
  438. Xneck fall out.  At once you you realize why the %n was
  439. Xwilling to die to keep it out of the %l's hands.  Somehow
  440. Xyou know that you must do likewise.
  441. X%E
  442. X%Cc R 00080
  443. XI know what you are thinking, %p.  It is not too late for you
  444. Xto use %o wisely.  For the sake of your guild
  445. X%sp, do what is right.
  446. X
  447. XYou sit and wait for death to come for the %n, and then you
  448. Xbrace yourself for your next meeting with the %l!
  449. X%E
  450. X%Cc R 00081
  451. XWell, I'll be damned.  You got it.  I am proud of you, a fine %r
  452. Xyou've turned out to be.
  453. X
  454. XWhile you were gone I got to thinking, you and %o
  455. Xtogether could bring me more treasure than either of you apart, so why don't
  456. Xyou take it with you.  All I ask is a cut of whatever loot you come by.
  457. XThat is a better deal than I offered the %n.
  458. X
  459. XBut, you see what happened to the %n when he refused.
  460. XDon't make me find another to send after you this time.
  461. X%E
  462. X%Cc R 00090
  463. XQuite the little thief, aren't we, %p.  Can I interest you in a
  464. Xswap for %o.  Look around, anything in the keep
  465. Xis yours for the asking.
  466. X%E
  467. X%Cc R 00091
  468. XI see that with your abilities, and my brains, we could rule this world.
  469. X
  470. XAll that we would need to be all-powerful is for you to take that little
  471. Xtrinket you've got there up to the Astral plane.  From there, %d will
  472. Xshow you what to do with it.  Once that's done, we will be invincible!
  473. X%E
  474. X#
  475. X#    Samurai
  476. X#
  477. X%Cc S 00001
  478. XEven before your senses adjust, you recognize the kami of
  479. X%H.
  480. X
  481. XBut why is the standard of your teki, %n, flying
  482. Xabove the town?  Why are ronin wandering freely, where are the
  483. Xsamurai of your daimyo, %l?
  484. X
  485. XYou quickly say a prayer to Izanagi and Izanami and walk towards
  486. Xtown.
  487. X%E
  488. X%Cp S 00002
  489. XOnce again, you are back at %H.
  490. X%E
  491. X%Cp S 00003
  492. XYou are back at %H.
  493. X
  494. XInstantly you sense a subtle change in your karma.  You seem to know that
  495. Xif you do not succeed in your quest, %n will have destroyed
  496. Xthe kami of %H before you return again.
  497. X%E
  498. X%Cp S 00005
  499. XTo succeed, you must walk like a butterfly on the wind.
  500. X%E
  501. X%Cp S 00006
  502. XIkaga desu ka?
  503. X%E
  504. X%Cp S 00007
  505. XI fear for The Land of The Gods.
  506. X%E
  507. X%Cp S 00008
  508. X%n has hired the Ninja -- be careful.
  509. X%E
  510. X%Cp S 00009
  511. XIf %o is not returned, we will all be ronin.
  512. X%E
  513. X%Cc S 00010
  514. XAh, %p-san, it is good to see you again.  I need someone who can
  515. Xlead my samurai against %n.  If you are ready, you will be
  516. Xthat person.
  517. X%E
  518. X%Cp S 00011
  519. XOnce again, %p-san, you kneel before me.  Are you yet capable of
  520. Xbeing my vassal?
  521. X%E
  522. X%Cp S 00012
  523. XYou begin to test my matsu, %p-san.
  524. XIf you cannot determine what I want in a samurai, how can I rely on you
  525. Xto figure out what I need from a samurai?
  526. X%E
  527. X%Cp S 00013
  528. XYou are no longer my samurai, %p.
  529. X
  530. XHara-kiri is denied.  You are ordered to shave your head and then to
  531. Xbecome a monk.  Your fief and family are forfeit.  Wakarimasu?
  532. X%E
  533. X%Cp S 00014
  534. X%p-san, you have learned well and honored your family.
  535. XI require the skills of a %R in order to defeat %n.
  536. XGo and seek out teachers.  Learn what they have learned.  When you
  537. Xare ready, return to me.
  538. X%E
  539. X%Cp S 00015
  540. X%p-san, you are no better than eta!
  541. X
  542. XYou have skills, but until you can call upon the bushido to know when and
  543. Xhow to use them you are not samurai.  When you can think %A and
  544. Xact %A then return.
  545. X%E
  546. X%Cc S 00016
  547. XTomo %p-san, indeed you are ready.  I can now tell you what
  548. Xit is that I require of you.
  549. X
  550. XThe daimyo, %n, has betrayed us.  He has stolen from us
  551. X%o and taken it to his donjon deep within
  552. X%i.
  553. X
  554. XIf I can not show the emperor %o when he comes
  555. Xfor the festival he will know that I have failed in my duty, and
  556. Xrequest that I commit seppuku.
  557. X
  558. XYou must gain entrance to %i and retrieve the
  559. Xemperor's property.  Be quick!  The emperor will be here for the
  560. Xcha-no-you in 5 sticks.
  561. X
  562. XWakarimasu?
  563. X%E
  564. X%Cp S 00020
  565. XTo defeat %n you must overcome the seven emotions:
  566. Xhate, adoration, joy, anxiety, anger, grief, and fear.
  567. X%E
  568. X%Cp S 00021
  569. XRemember your honor is my honor, you perform in my name.
  570. X%E
  571. X%Cp S 00022
  572. XI will go to the temple and burn incense for your safe return.
  573. X%E
  574. X%Cp S 00023
  575. XSayonara.
  576. X%E
  577. X%Cp S 00024
  578. XThere can be honor in defeat, but no gain.
  579. X%E
  580. X%Cp S 00025
  581. XYour kami must be strong in order to succeed.
  582. X%E
  583. X%Cp S 00026
  584. XYou are indeed a worthy %R, but now you must be a worthy samurai.
  585. X%E
  586. X%Cp S 00027
  587. XIf you fail, %n will be like a tai-fun on the land.
  588. X%E
  589. X%Cp S 00028
  590. XIf you are truly %A, %d will listen.
  591. X%E
  592. X%Cp S 00029
  593. XSharpen your swords and your wits for the task before you.
  594. X%E
  595. X%Cc S 00030
  596. XYou instinctively reach for your swords.  You do not recognize the
  597. Xlay of this land, but you know that your teki are everywhere.
  598. X%E
  599. X%Cp S 00031
  600. XThankful that your %sp at %H cannot see
  601. Xyour fear, you prepare again to advance.
  602. X%E
  603. X%Cc S 00040
  604. XIn your mind, you hear the taunts of %n.
  605. X
  606. XYou become like the rice plant and bend to the ground, offering a
  607. Xprayer to %d.  But when the wind has passed, you stand
  608. Xproudly again.  Putting your kami in the hands of fate, you advance.
  609. X%E
  610. X%Cp S 00041
  611. XAs you arrive once again at the home of %n, your thoughts
  612. Xturn only to %o.
  613. X%E
  614. X%Cp S 00050
  615. XAh, so it is to be you, %p-san.  I offer you seppuku.
  616. XI will be your second if you wish.
  617. X%E
  618. X%Cp S 00051
  619. XI have offered you the honorable exit.  Now I will have your
  620. Xhead to send unwashed to %l.
  621. X%E
  622. X%Cp S 00052
  623. XAfter I have dispatched you, I will curse your kami.
  624. X%E
  625. X%Cp S 00053
  626. XYou have fought my samurai; surely you must know that you
  627. Xwill not be able to take %o back to
  628. X%H.
  629. X%E
  630. X%Cp S 00060
  631. X%l may not know eta when he sees one, but I do!
  632. X%E
  633. X%Cp S 00061
  634. XThere is no honor for me in your death.
  635. X%E
  636. X%Cp S 00062
  637. XYou know that I can not resash my swords until they have killed.
  638. X%E
  639. X%Cp S 00063
  640. XYour presence only compounds the dishonor of %l in not coming himself.
  641. X%E
  642. X%Cp S 00064
  643. XI will make tea with your hair and serve it to %l.
  644. X%E
  645. X%Cp S 00065
  646. XYour fear shows in your eyes, coward!
  647. X%E
  648. X%Cp S 00066
  649. XI have not heard of you, %p-san; has your life been that unworthy?
  650. X%E
  651. X%Cp S 00067
  652. XIf you will not obey me, you will die.
  653. X%E
  654. X%Cp S 00068
  655. XKneel now and make the two cuts of honor.  I will tell your %sp
  656. Xof your honorable death.
  657. X%E
  658. X%Cp S 00069
  659. XYour master was a poor teacher.  You will pay for his mistakes in
  660. Xyour teaching.
  661. X%E
  662. X%Cc S 00070
  663. XAs you pick up %o, you feel the strength of its karma.
  664. XYou realize at once why so many good samurai had to die to defend it.
  665. XYou are humbled knowing that you hold one of the artifacts of the
  666. Xsun god.
  667. X%E
  668. X%Cc S 00080
  669. XYour healing skills tell you that %n's wounds are mortal.
  670. X
  671. XYou know that the bushido tells you to finish him and let his kami
  672. Xdie with honor, but the thought of so many samurai dead due to this
  673. Xman's dishonor prevents you from giving the final blow.
  674. X
  675. XYou order that his unwashed head be given to the crows and his body
  676. Xthrown into the sea.
  677. X%E
  678. X%Cc S 00081
  679. XAs you bow before %l, he welcomes you:
  680. X
  681. XYou have brought your family great honor, %p-sama.
  682. X
  683. XWhile you have been gone the emperor's advisors have discovered in the
  684. Xancient texts that the karma of the samurai who seeks to recover the
  685. Xamulet and the karma of %o are joined as the seasons
  686. Xjoin to make a year.
  687. X
  688. XBecause you have shown such fidelity, the emperor requests that you
  689. Xtake leave of other obligations and continue on the road that fate
  690. Xhas set your feet upon.  I would consider it an honor if you would
  691. Xallow me to watch your household until you return with the amulet.
  692. X
  693. XWith that, %l bows, and places his sword atop
  694. X%o.
  695. X%E
  696. X%Cp S 00090
  697. X%l bows.  %p-sama, tell us of your search for the Amulet.
  698. X%E
  699. X%Cc S 00091
  700. XAh, %p-sama.  You have wasted your efforts returning home.
  701. XNow that you are in possession of the Amulet, you are honor-bound to
  702. Xfinish the quest you have undertaken.  There will be plenty of time
  703. Xfor saki and stories when you have finished.
  704. X
  705. XGo now, and may our prayers be a wind at your back.
  706. X%E
  707. X#
  708. X#    Tourist
  709. X#
  710. X%Cc T 00001
  711. XYou breathe a sigh of relief as you find yourself back in the familiar
  712. Xsurroundings of %H.
  713. X
  714. XYou quickly notice that things do not appear the way they did when you
  715. Xleft.  The town is dark and quiet.  There are no sounds coming from
  716. Xbehind the town walls, and no campfires burning in the fields.  As a
  717. Xmatter of fact, you do not %x any movement in the fields at all, and
  718. Xthe crops look as though they have been untended for many weeks.
  719. X%E
  720. X%Cp T 00002
  721. XOnce again, you are back at %H.
  722. X%E
  723. X%Cp T 00003
  724. XYou are back at %H.
  725. XThings appear to have become so bad that you fear that soon
  726. X%H will not be here to return to.
  727. X%E
  728. X%Cp T 00005
  729. XGehennom on 5 zorkmids a day -- more like 500 a day if you ask me.
  730. X%E
  731. X%Cp T 00006
  732. XDo you know where I could find some nice postcards of The Gnomish Mines?
  733. X%E
  734. X%Cp T 00007
  735. XHave you tried the weird toilets?
  736. X%E
  737. X%Cp T 00008
  738. XDon't stay at the Inn, I hear the food is terrible and it has rats.
  739. X%E
  740. X%Cp T 00009
  741. XThey told me that this was the off season!
  742. X%E
  743. X%Cc T 00010
  744. XIs it really you, %p!  I had given up hope for your return.
  745. XAs you can %x, we are desperately in need of your talents.  Someone must
  746. Xdefeat the %n if our town is become what it once was.
  747. X
  748. XLet me see if you are ready to be that someone.
  749. X%E
  750. X%Cp T 00011
  751. XThings are getting worse, %p.
  752. XI hope that this time you are ready.
  753. X%E
  754. X%Cp T 00012
  755. XI hope that for the sake of %H you have prepared
  756. Xyourself this time.
  757. X%E
  758. X%Cc T 00013
  759. XIt is too late, %p.  You are not even worthy to die amongst us.
  760. XLeave %H and never return.
  761. X%E
  762. X%Cc T 00014
  763. XThere is still too much that you have to learn before you can undertake
  764. Xthe next step.  Return to us as a proven %R, and perhaps then
  765. Xyou will be ready.
  766. X
  767. XGo back now, and may the teachings of %d serve you well.
  768. X%E
  769. X%Cc T 00015
  770. XIt would be an affront to %d to have one not true to the
  771. X%a path undertake her bidding.
  772. X
  773. XYou must not return to us until you have purified yourself of these
  774. Xbad influences on your actions.  Remember, only by following the %a
  775. Xpath can you hope to overcome the obstacles you will face.
  776. X%E
  777. X%Cc T 00016
  778. X%E
  779. XYou have indeed proven yourself a worthy %c, %p.
  780. X
  781. XBut now your kinfolk and I must ask you to put aside your travels and
  782. Xhelp us in our time of need.  After you left us we elected a new mayor,
  783. Xthe %n.  He proved to be a most heinous and vile creature.
  784. X
  785. XSoon after taking office he absconded with %o
  786. Xand fled town, leaving behind his henchmen to rule over us.  In order
  787. Xfor us to regain control of our town, you must enter %i
  788. Xand recover %o.
  789. X
  790. XDo not be distracted on your quest.  If you do not return quickly I fear
  791. Xthat all will be lost.  Let us both pray now that %d will guide you
  792. Xand keep you safe.
  793. X%Cp T 00020
  794. XDo not be fooled by the false promises of the %n.
  795. X%E
  796. X%Cp T 00021
  797. XTo enter %i you must pass many traps.
  798. X%E
  799. X%Cp T 00022
  800. XIf you do not return with %o, your quest
  801. Xwill be in vain.
  802. X%E
  803. X%Cp T 00023
  804. XDo not be afraid to call upon %d if you truly need help.
  805. X%E
  806. X%Cp T 00024
  807. XIf you do not destroy the %n, he will follow you back here!
  808. X%E
  809. X%Cp T 00025
  810. XTake %o from the %n
  811. Xand you may be able to defeat him.
  812. X%E
  813. X%Cp T 00026
  814. XYou must hurry, %p!
  815. X%E
  816. X%Cp T 00027
  817. XYou are like a %S to me, %p.  Do not let me down.
  818. X%E
  819. X%Cp T 00028
  820. XIf you are %a at all times you may succeed, %p.
  821. X%E
  822. X%Cp T 00029
  823. XLet all who meet you on your journey know that you are on an quest for
  824. X%l and grant safe passage.
  825. X%E
  826. X%Cp T 00030
  827. XOnly your faith in %d keeps you from trembling.  You %x
  828. Xthe handiwork of the %n's henchlings everywhere.
  829. X%E
  830. X%Cp T 00031
  831. XYou know that this time you must find and destroy the %n.
  832. X%E
  833. X%Cp T 00040
  834. XYou sense the presence of %o.
  835. X%E
  836. X%Cp T 00041
  837. XYou gain confidence, knowing that you may soon be united with
  838. X%o.
  839. X%E
  840. X%Cc T 00050
  841. XSo, %p, %l thinks that you can wrest
  842. X%o from me!
  843. X
  844. XIt only proves how desperate he has become that he sends a %r to
  845. Xtry and defeat me.  When this day is over, I will have you enslaved
  846. Xin the mines where you will rue the day that you ever entered
  847. X%i.
  848. X%E
  849. X%Cc T 00051
  850. XI let you live the last time because it gave me pleasure.  This time I will
  851. Xdestroy you, %p.
  852. X%E
  853. X%Cp T 00052
  854. XThese meetings come to bore me.  You disturb my workings with
  855. X%o.
  856. X
  857. XIf you do not run away now, I will inflict so much suffering on you that
  858. X%l will feel guilty for ever having sent his %S to me!
  859. X%E
  860. X%Cp T 00053
  861. XYou fool.  You do not know how to call upon the powers of
  862. X%o.
  863. X
  864. XReturn it to me and I will teach you how to use it, and together we
  865. Xwill rule %H.  But do so now, as my patience
  866. Xgrows thin.
  867. X%E
  868. X%Cp T 00060
  869. XI defeated %l and I will defeat you, %p.
  870. X%E
  871. X%Cp T 00061
  872. XWhere is %d now!  You must realize no one can help you here.
  873. X%E
  874. X%Cp T 00062
  875. XBeg for mercy now and I may be lenient on you.
  876. X%E
  877. X%Cp T 00063
  878. XIf you were not so %a, you might have stood a chance.
  879. X%E
  880. X%Cp T 00064
  881. XVengeance is mine at last, %p.
  882. X%E
  883. X%Cp T 00065
  884. XI only wish that %l had a more worthy %r to send against me.
  885. X%E
  886. X%Cp T 00066
  887. XWith %o in my possession you can not
  888. Xhope to defeat me.
  889. X%E
  890. X%Cp T 00067
  891. XThe %n has never been defeated, NEVER!
  892. X%E
  893. X%Cp T 00068
  894. XAre you truly the best %H has to send against me?
  895. XI pity %l.
  896. X%E
  897. X%Cp T 00069
  898. XHow do you spell %p?  I want to ensure the marker on your grave is
  899. Xcorrect as a warning to your %sp.
  900. X%E
  901. X%Cc T 00070
  902. XAs you pick up %o, you feel a great
  903. Xweight has been lifted from your shoulders.  Your only thoughts are
  904. Xto quickly return to %H and find %l.
  905. X%E
  906. X%Cc T 00080
  907. XYou turn in the direction of %n.  As his earthly body begins
  908. Xto vanish before your eyes, you hear him curse:
  909. X
  910. X    You shall never be rid of me, %p!
  911. X    I will find you where ever you go and regain what is rightly mine.
  912. X%E
  913. X%Cc T 00081
  914. XAs %l detects the presence of %o,
  915. Xhe almost smiles for the first time in many a full moon.
  916. X
  917. XAs he looks up from %o he says:
  918. X
  919. X    You have recovered %o.  You are its
  920. X    owner now, but not its master.  Let it work with you as you continue
  921. X    your journey.  With its help, and %d to guide you on the
  922. X    %a path, you may yet recover the Amulet of Yendor.
  923. X%E
  924. X%Cc T 00090
  925. XI could not be more proud than if you were my own %S, %p!
  926. XTell me of your adventures in quest of the Amulet of Yendor.
  927. X%E
  928. X%Cc T 00091
  929. XStand back and let me look at you, %p.
  930. XNow that you have recovered the Amulet of Yendor, I'm afraid living
  931. Xout your days in %H would seem pretty tame.
  932. X
  933. XYou have come too far to stop now, for there are still more tasks that
  934. Xour oral history foretells for you.  Forever more, though, your name shall
  935. Xbe spoken by the %gP with awe.  You are truly an inspiration to your
  936. X%sp!
  937. X%E
  938. X#
  939. X#    Valkyrie
  940. X#
  941. X%Cc V 00001
  942. XYou materialize at the base of a snowy hill.  Atop the hill sits
  943. Xa place you know well, %H.  You immediately realize
  944. Xthat something here is very wrong!
  945. X
  946. XIn places, the snow and ice have been melted into steaming pools of
  947. Xwater.  Fumaroles and pools of bubbling lava surround the hill.
  948. XThe stench of sulphur is carried through the air, and you %x creatures
  949. Xthat should not be able to live in this environment moving towards you.
  950. X%E
  951. X%Cp V 00002
  952. XOnce again, you are near the abode of the %l.
  953. X%E
  954. X%Cp V 00003
  955. XAgain you materialize near the %l's abode.  You have a nagging feeling
  956. Xthat this may be the last time you come here.
  957. X%E
  958. X%Cp V 00005
  959. XHail, and well met, brave %c.
  960. X%E
  961. X%Cp V 00006
  962. XMay %d guide your steps, %p.
  963. X%E
  964. X%Cp V 00007
  965. XThe %l weakens.  Without %o, her foresight is dim.
  966. X%E
  967. X%Cp V 00008
  968. XYou must hurry, %p, else Ragnarok may well come.
  969. X%E
  970. X%Cp V 00009
  971. XI would deal with this foul %n myself, but %d forbids it.
  972. X%E
  973. X%Cc V 00010
  974. XAh, %p, my %S.  You have returned to %H
  975. Xat last.  We are in dire need of your aid, but I must determine if you
  976. Xare yet ready for such an undertaking.
  977. X
  978. XLet me read your fate...
  979. X%E
  980. X%Cp V 00011
  981. XLet me read the future for you now, %p, perhaps you have managed to
  982. Xchange it enough...
  983. X%E
  984. X%Cp V 00012
  985. XAgain, I shall read your fate, my %S.  Let us both hope that you have
  986. Xmade changes to become ready for this task...
  987. X%E
  988. X%Cc V 00013
  989. XNo, %p.  Your fate is sealed.  I must cast about for another
  990. Xchampion.  Begone from my presence, and never return.  Know this, that
  991. Xyou shall never succeed in this life, and Valhalla is denied to you.
  992. X%E
  993. X%Cc V 00014
  994. XI see you and %n fighting, %p.  But you are not prepared and
  995. Xshall die at %n's hand if you proceed.  No.  This will not do.
  996. XGo back out into the world, and grow more experienced at the ways of
  997. Xwar.  Only when you have returned a %R will you be able to defeat
  998. X%n.
  999. X%E
  1000. X%Cc V 00015
  1001. XNO!  This is terrible.  I see you becoming an ally of %n, and
  1002. Xleading his armies in the final great battles.  This must not come to
  1003. Xpass! You have strayed from the %a path.  You must purge yourself,
  1004. Xand return here only when you have regained a state of purity.
  1005. X%E
  1006. X%Cc V 00016
  1007. XIt is not clear, %p, for my sight is limited without
  1008. X%o.  But it is now likely that you can defeat %n,
  1009. Xand recover %o.
  1010. X
  1011. XA short time ago, %n and his minions attacked this place.  They
  1012. Xopened the huge volcanic vents you %x about the hill, and attacked.
  1013. XI knew that this was to come to pass, and had asked %d for a group
  1014. Xof %gP to help defend this place.  The few you %x here are the
  1015. Xmightiest of Valhalla's own, and are all that are left of one hundred
  1016. X%d sent.
  1017. X
  1018. XDespite the great and glorious battle we fought, %n managed at last
  1019. Xto steal %o.  This has upset the balance of the universe, and
  1020. Xunless %o is returned into my care, %n may start Ragnarok.
  1021. X
  1022. XYou must find the entrance to %i.  Travel downward
  1023. Xfrom there and you will find %n's lair.  Defeat him and
  1024. Xreturn %o to me.
  1025. X%E
  1026. X%Cp V 00020
  1027. XGo with the blessings of %d.
  1028. X%E
  1029. X%Cp V 00021
  1030. XCall upon %d when you are in need.
  1031. X%E
  1032. X%Cp V 00022
  1033. XUse %o if you can.  It will protect you.
  1034. X%E
  1035. X%Cp V 00023
  1036. XMagical cold is very effective against %n.
  1037. X%E
  1038. X%Cp V 00024
  1039. XTo face %n, you will need to be immune to fire.
  1040. X%E
  1041. X%Cp V 00025
  1042. XMay %d strengthen your sword-arm.
  1043. X%E
  1044. X%Cp V 00026
  1045. XTrust in %d.  He will not desert you.
  1046. X%E
  1047. X%Cp V 00027
  1048. XIt becomes more likely that Ragnarok will come with every passing moment.
  1049. XYou must hurry, %p.
  1050. X%E
  1051. X%Cp V 00028
  1052. XIf %n can master %o, he will be powerful enough to
  1053. Xface %d far earlier than is fated.  This must not be!
  1054. X%E
  1055. X%Cp V 00029
  1056. XRemember your training, %p.  You can succeed.
  1057. X%E
  1058. X%Cc V 00030
  1059. XThe ice and snow gives way to a valley floor.  You %x ahead of you
  1060. Xa huge round hill surrounded by pools of lava.  This then is the entrance
  1061. Xto %i.  It looks like you're not going to get in without
  1062. Xa fight though.
  1063. X%E
  1064. X%Cp V 00031
  1065. XOnce again, you stand before the entrance to %i.
  1066. X%E
  1067. X%Cc V 00040
  1068. XThrough clouds of sulphurous gasses, you %x a rock palisade
  1069. Xsurrounded with a moat of bubbling lava.  You remember the description
  1070. Xfrom something that the %l said.  This is the lair of %n.
  1071. X%E
  1072. X%Cp V 00041
  1073. XOnce again, you stand in sight of %n's lair.
  1074. X%E
  1075. X%Cc V 00050
  1076. XSo!  The %l has finally sent a %c to challenge me!
  1077. X
  1078. XI thought that mastering %o would enable me to challenge %d,
  1079. Xbut it has shown me that first I must kill you!
  1080. XSo come, little %s.  Once I defeat you, I can at last begin
  1081. Xthe final battle with %d.
  1082. X%E
  1083. X%Cp V 00051
  1084. XAgain you challenge me, %r.  Good.  I will kill you now.
  1085. X%E
  1086. X%Cp V 00052
  1087. XHave you not learned yet?  You cannot defeat %n!
  1088. X%E
  1089. X%Cp V 00053
  1090. XI will kill you, %c, and wrest %o from your mangled hands.
  1091. X%E
  1092. X%Cp V 00060
  1093. XI am your death, %c.
  1094. X%E
  1095. X%Cp V 00061
  1096. XYou cannot prevail, %r.  I have foreseen your every move.
  1097. X%E
  1098. X%Cp V 00062
  1099. XWith you out of the way, Valhalla will be mine for the taking.
  1100. X%E
  1101. X%Cp V 00063
  1102. XI killed scores of %d's best when I took %o.
  1103. XDo you really think that one %c can stand against me?
  1104. X%E
  1105. X%Cp V 00064
  1106. XWho bears the souls of %cP to Valhalla, %r?
  1107. X%E
  1108. X%Cp V 00065
  1109. XNo, %d cannot help you here.
  1110. X%E
  1111. X%Cp V 00066
  1112. XSome instrument of %d you are, %p.  You are a weakling!
  1113. X%E
  1114. X%Cp V 00067
  1115. XNever have I seen a %c so clumsy in battle.
  1116. X%E
  1117. X%Cp V 00068
  1118. XYou die now, little %s.
  1119. X%E
  1120. X%Cp V 00069
  1121. XYour body I destroy now, your soul when my hordes overrun Valhalla!
  1122. X%E
  1123. X%Cc V 00070
  1124. XAs you pick up %o, your mind is suddenly filled with images,
  1125. Xand you perceive all of the possibilities of each potential choice you
  1126. Xcould make.  As you begin to control and channel your thoughts, you
  1127. Xrealize that you must return %o to the %l immediately.
  1128. X%E
  1129. X%Cc V 00080
  1130. XSuddenly a look of surprise and horror appear on %n's face.
  1131. X
  1132. X    No!!!  %o has lied to me!  I have been misled!
  1133. X
  1134. XSuddenly, %n grasps his head and screams in agony, then dies.
  1135. X%E
  1136. X%Cc V 00081
  1137. XAs you approach, the %l rises and touches %o.
  1138. X
  1139. XYou may take %o with you, %p.  I have removed from
  1140. Xit the power to foretell the future, for that power no mortal should
  1141. Xhave.  Its other abilities, however, you have at your disposal.
  1142. X
  1143. XYou must now begin in %d's name to search for the Amulet of Yendor.
  1144. XMay your steps be guided by %d, my %S.
  1145. X%E
  1146. X%Cp V 00090
  1147. XGreetings, %p.  I have not been able to pay as much attention to
  1148. Xyour search for the Amulet as I have wished.  How do you fare?
  1149. X%E
  1150. X%Cc V 00091
  1151. XExcellent, %p.  I see you have recovered the Amulet!
  1152. X
  1153. XYou must take the Amulet to the Great Temple of %d, on the Astral
  1154. Xplane.  There you must offer the Amulet to %d.
  1155. X
  1156. XGo now, my %S.  I cannot tell you your fate, as the power of the
  1157. XAmulet interferes with mine.  I hope for your success.
  1158. X%E
  1159. X#
  1160. X#    Wizard
  1161. X#
  1162. X%Cc W 00001
  1163. XYou are suddenly in familiar surroundings.  You notice what appears to
  1164. Xbe a large, squat stone structure nearby.  Wait!  That looks like the
  1165. Xtower of your old master, the %l.
  1166. X
  1167. XHowever, things are not the same as when you were last here.  Mists and
  1168. Xareas of unexplained darkness surround the tower.  There is movement in
  1169. Xthe shadows.
  1170. X
  1171. XYour master would never allow such unaesthetic forms to surround the
  1172. Xtower...  unless something were dreadfully wrong!
  1173. X%E
  1174. X%Cp W 00002
  1175. XOnce again, you are back at %H.
  1176. X%E
  1177. X%Cp W 00003
  1178. XYou are back at %H.
  1179. XYou have an odd feeling this may be the last time you ever come here.
  1180. X%E
  1181. X%Cp W 00005
  1182. XWould you happen to have some eye of newt in that overstuffed pack, %s?
  1183. X%E
  1184. X%Cp W 00006
  1185. XAh, the spell to create the magic portal worked.  Outstanding!
  1186. X%E
  1187. X%Cp W 00007
  1188. XHurry!  The %l may not survive that casting of the
  1189. Xportal spell!!
  1190. X%E
  1191. X%Cp W 00008
  1192. XWe must strive to return balance to the world, or all is lost.
  1193. X%E
  1194. X%Cp W 00009
  1195. XI, too, will venture into the world, because the %n is but one of
  1196. Xmany evils to be vanquished.
  1197. X%E
  1198. X%Cc W 00010
  1199. XCome closer, %p, for my voice falters in my old age.
  1200. XYes, I see that you have come a long way since you went out into the
  1201. Xworld, leaving the safe confines of this tower.  However, I must first
  1202. Xdetermine if you have all of the skills required to take on the task
  1203. XI require of you.
  1204. X%E
  1205. X%Cp W 00011
  1206. XWell, %p, you have returned.  Perhaps you are now ready...
  1207. X%E
  1208. X%Cp W 00012
  1209. XThis is getting tedious, %p, but perseverance is a sign of a true mage.
  1210. XI certainly hope that you are truly ready this time!
  1211. X%E
  1212. X%Cc W 00013
  1213. XYou fool, %p!  Why did I waste all of those years teaching you
  1214. Xthe esoteric arts?  Get out of here!  I shall find another.
  1215. X%E
  1216. X%Cc W 00014
  1217. XAlas, %p, you have not yet shown your proficiency as a worthy
  1218. Xspellcaster.  As a %r, you would surely be overcome in the challenge
  1219. Xahead.  Go, now, expand your horizons, and return when you have attained
  1220. Xrenown as a %R.
  1221. X%E
  1222. X%Cc W 00015
  1223. XYou amaze me, %p!  How many times did I tell you that Balance
  1224. Xrequires care.  One must use the world with care, lest one leave it in ruins
  1225. Xand simplify the task of the %n.
  1226. X
  1227. XYou must go back and show your worthiness.  Do not return until you are
  1228. Xtruly ready for this quest.  May %d guide you in this task.
  1229. X%E
  1230. X%Cc W 00016
  1231. X%E
  1232. XYes, %p, you truly are ready for this dire task.  Listen,
  1233. Xcarefully, for what I tell you now will be of vital importance.
  1234. X
  1235. XSince you left us to hone your skills in the world, we unexpectedly came
  1236. Xunder attack by the forces of the %n.  As you know, we thought
  1237. Xthe %n had perished at the end of the last age, but, alas, this was
  1238. Xnot the case.
  1239. X
  1240. XThe %n sent an army of abominations against us.  Among them was a
  1241. Xminion, mindless and ensorcelled, and thus, in the confusion, it was able
  1242. Xto penetrate our defenses.  Alas, this creature has stolen
  1243. X%o and I fear it has delivered %o
  1244. Xto the %n.
  1245. X
  1246. XOver the years, I had woven most of my power into this amulet, and thus,
  1247. Xwithout it, I have but a shadow of my former power, and I fear that I
  1248. Xshall soon perish.
  1249. X
  1250. XYou must travel to %i, and within its dungeons,
  1251. Xfind and overcome the %n, and return %o to me.
  1252. X
  1253. XGo now, with %d, and return Balance to the world.
  1254. X%Cp W 00020
  1255. XBeware, for the %n is immune to most magical attacks.
  1256. X%E
  1257. X%Cp W 00021
  1258. XTo enter %i you must pass many traps.
  1259. X%E
  1260. X%Cp W 00022
  1261. XThe %n may be vulnerable to physical attacks.
  1262. X%E
  1263. X%Cp W 00023
  1264. X%d will come to your aid when you call.
  1265. X%E
  1266. X%Cp W 00024
  1267. XYou must utterly destroy the %n.  He will pursue you otherwise.
  1268. X%E
  1269. X%Cp W 00025
  1270. X%o is a mighty artifact.  With it you can
  1271. Xdestroy the %n.
  1272. X%E
  1273. X%Cp W 00026
  1274. XGo forth with the blessings of %d.
  1275. X%E
  1276. X%Cp W 00027
  1277. XI will have my %gP watch for your return.
  1278. X%E
  1279. X%Cp W 00028
  1280. XFeel free to take any items in that chest that might aid you.
  1281. X%E
  1282. X%Cp W 00029
  1283. XYou will know when %o is near.  Proceed with care!
  1284. X%E
  1285. X%Cp W 00030
  1286. XWisps of fog swirl nearby.  You feel that the %n's lair is close.
  1287. X%E
  1288. X%Cp W 00031
  1289. XYou believe that you may once again invade %i.
  1290. X%E
  1291. X%Cp W 00040
  1292. XYou feel your mentor's presence; perhaps %o is nearby.
  1293. X%E
  1294. X%Cp W 00041
  1295. XThe aura of %o tingles at the edge of your perception.
  1296. X%E
  1297. X%Cc W 00050
  1298. XAh, I recognize you, %p.  So, the %l has sent you to steal
  1299. X%o from me, hmmm?  Well, the %l is a
  1300. Xfool to send such a mental weakling against me.
  1301. X
  1302. XYour destruction, however, should make for good sport.  In the end, you
  1303. Xshall beg me to kill you!
  1304. X%E
  1305. X%Cc W 00051
  1306. XHow nice of you to return, %p!  I enjoyed our last meeting.  Are you
  1307. Xstill hungry for more pain?
  1308. X
  1309. XCome!  Your soul, like %o, shall soon be mine to
  1310. Xcommand.
  1311. X%E
  1312. X%Cp W 00052
  1313. XI'm sure that your perseverance shall be the subject of innumerable
  1314. Xballads, but you shall not be around to hear them, I fear!
  1315. X%E
  1316. X%Cp W 00053
  1317. XThief!  %o belongs to me, now.  I shall feed
  1318. Xyour living flesh to my minions.
  1319. X%E
  1320. X%Cp W 00060
  1321. XYour puny powers are no match for me, fool!
  1322. X%E
  1323. X%Cp W 00061
  1324. XWhen you are defeated, your torment will last for a thousand years.
  1325. X%E
  1326. X%Cp W 00062
  1327. XAfter your downfall, %p, I shall devour the %l
  1328. Xfor dessert!
  1329. X%E
  1330. X%Cp W 00063
  1331. XAre you ready yet to beg for mercy?  I could be lenient...
  1332. X%E
  1333. X%Cp W 00064
  1334. XYour soul shall join the enslaved multitude I command!
  1335. X%E
  1336. X%Cp W 00065
  1337. XYour lack of will is evident, and you shall die as a result.
  1338. X%E
  1339. X%Cp W 00066
  1340. XYour faith in %d is for naught!  Come, give in to me now!
  1341. X%E
  1342. X%Cp W 00067
  1343. XA mere %r is nothing compared to my skill!
  1344. X%E
  1345. X%Cp W 00068
  1346. XSo, you are the best hope of the %l?  How droll.
  1347. X%E
  1348. X%Cp W 00069
  1349. XFeel my power, %c!  My victory is imminent!
  1350. X%E
  1351. X%Cc W 00070
  1352. XAs you touch %o, its comforting power infuses you
  1353. Xwith new energy.  You feel as if you can detect others' thoughts flowing
  1354. Xthrough it.  Although you yearn to wear %o
  1355. Xand attack the Wizard of Yendor, you know you must return it to its
  1356. Xrightful owner, the %l.
  1357. X%E
  1358. X%Cc W 00080
  1359. XThe %n croaks out, as his body begins to shrivel up:
  1360. X
  1361. X    I shall haunt your progress until the end of time.  A thousand
  1362. X    curses on you and the %l.
  1363. X
  1364. XThen, the body bursts into a cloud of choking dust, and blows away.
  1365. X%E
  1366. X%Cc W 00081
  1367. XThe %l notices %o in your possession,
  1368. Xbeams at you and says:
  1369. X
  1370. X    I knew you could defeat the %n and retrieve
  1371. X    %o.  We shall never forget this
  1372. X    brave service.
  1373. X
  1374. X    Take %o with you in your quest for
  1375. X    the Amulet of Yendor.  I can sense that it has attuned
  1376. X    itself to you already.
  1377. X
  1378. X    May %d guide you in your quest, and keep you from harm.
  1379. X%E
  1380. X%Cc W 00090
  1381. XCome near, my %S, and share your adventures with me.  So, have you
  1382. Xsucceeded in your quest for the Amulet of Yendor?
  1383. X%E
  1384. X%Cc W 00091
  1385. XCongratulations, %p.  I always knew that if anyone could succeed
  1386. Xin defeating the Wizard of Yendor and his minions, it would be you.
  1387. X
  1388. XGo now, and take the Amulet to the astral plane.  Once there, present
  1389. Xthe Amulet on the altar of %d.  Along the way you shall pass through the
  1390. Xfour elemental planes.  These planes are like nothing you have ever
  1391. Xexperienced before, so be prepared!
  1392. X
  1393. XFor this you were born, %s!  I am very proud of you.
  1394. X%E
  1395. X#
  1396. X#    General
  1397. X#
  1398. X%Cc - 00001
  1399. XIt is written in the Book of %d:
  1400. X
  1401. X    After the Creation, the cruel god Moloch rebelled
  1402. X    against the authority of Marduk the Creator.
  1403. X    Moloch stole from Marduk the most powerful of all
  1404. X    the artifacts of the gods, the Amulet of Yendor,
  1405. X    and he hid it in the dark cavities of Gehennom, the
  1406. X    Under World, where he now lurks, and bides his time.
  1407. X
  1408. XYour god %d seeks to possess the Amulet, and with it
  1409. Xto gain his deserved ascendance over the other gods.
  1410. X
  1411. XYou, a newly trained %r, have been heralded
  1412. Xfrom birth as the instrument of %d.  You are destined
  1413. Xto recover the Amulet for your deity, or die in the
  1414. Xattempt.  Your hour of destiny has come.  For the sake
  1415. Xof us all:  Go bravely with %d!
  1416. X%E
  1417. X%Cp - 00002
  1418. XYou receive a faint telepathic message from %l:
  1419. XYour help is urgently needed at %H!
  1420. XLook for a ...ic transporter.
  1421. XYou couldn't quite make out that last message.
  1422. X%E
  1423. X#
  1424. X#    Angelic maledictions.
  1425. X#
  1426. X%Cp - 00010
  1427. XRepent, and thou shalt be saved!
  1428. X%E
  1429. X%Cp - 00011
  1430. XThou shalt pay for thine insolence!
  1431. X%E
  1432. X%Cp - 00012
  1433. XVery soon, my child, thou shalt meet thy maker.
  1434. X%E
  1435. X%Cp - 00013
  1436. XThe great %D has sent me to make you pay for your sins!
  1437. X%E
  1438. X%Cp - 00014
  1439. XThe wrath of %D is now upon you!
  1440. X%E
  1441. X%Cp - 00015
  1442. XThy life belongs to %D now!
  1443. X%E
  1444. X%Cp - 00016
  1445. XDost thou wish to receive thy final blessing?
  1446. X%E
  1447. X%Cp - 00017
  1448. XThou art but a godless void.
  1449. X%E
  1450. X%Cp - 00018
  1451. XThou art not worthy to seek the Amulet.
  1452. X%E
  1453. X%Cp - 00019
  1454. XNo one expects the Spanish Inquisition!
  1455. X%E
  1456. X#
  1457. X#    Demonic maledictions.
  1458. X#
  1459. X%Cp - 00030
  1460. XI first mistook thee for a statue, when I regarded thy head of stone.
  1461. X%E
  1462. X%Cp - 00031
  1463. XCome here often?
  1464. X%E
  1465. X%Cp - 00032
  1466. XDost pain excite thee?  Wouldst thou prefer the whip?
  1467. X%E
  1468. X%Cp - 00033
  1469. XThinkest thou it shall tickle as I rip out thy lungs?
  1470. X%E
  1471. X%Cp - 00034
  1472. XEat slime and die!
  1473. X%E
  1474. X%Cp - 00035
  1475. XGo ahead, fetch thy mama!  I shall wait.
  1476. X%E
  1477. X%Cp - 00036
  1478. XGo play leapfrog with a herd of unicorns!
  1479. X%E
  1480. X%Cp - 00037
  1481. XHast thou been drinking, or art thou always so clumsy?
  1482. X%E
  1483. X%Cp - 00038
  1484. XThis time I shall let thee off with a spanking, but let it not happen again.
  1485. X%E
  1486. X%Cp - 00039
  1487. XI've met smarter (and prettier) acid blobs.
  1488. X%E
  1489. X%Cp - 00040
  1490. XLook!  Thy bootlace is undone!
  1491. X%E
  1492. X%Cp - 00041
  1493. XMercy!  Dost thou wish me to die of laughter?
  1494. X%E
  1495. X%Cp - 00042
  1496. XRun away!  Live to flee another day!
  1497. X%E
  1498. X%Cp - 00043
  1499. XThou hadst best fight better than thou canst dress!
  1500. X%E
  1501. X%Cp - 00044
  1502. XTwixt thy cousin and thee, Medusa is the prettier.
  1503. X%E
  1504. X%Cp - 00045
  1505. XMethinks thou wert unnaturally interested in yon corpse back there, eh, varlet?
  1506. X%E
  1507. X%Cp - 00046
  1508. XUp thy nose with a rubber hose!
  1509. X%E
  1510. X%Cp - 00047
  1511. XVerily, thy corpse could not smell worse!
  1512. X%E
  1513. X%Cp - 00048
  1514. XWait!  I shall polymorph into a grid bug to give thee a fighting chance!
  1515. X%E
  1516. X%Cp - 00049
  1517. XWhy search for the Amulet?  Thou wouldst but lose it, cretin.
  1518. X%E
  1519. X
  1520. X#
  1521. X#    TEST PATTERN
  1522. X#
  1523. X%Cc - 00099
  1524. X %p:    return(plname);
  1525. X %c:    return(pl_character);
  1526. X %r:    return((char *)rank_of(u.ulevel));
  1527. X %R:    return((char *)rank_of(MIN_QUEST_LEVEL));
  1528. X %s:    return((flags.female) ? "sister" : "brother" );
  1529. X %S:    return((flags.female) ? "daughter" : "son" );
  1530. X %l:    return((char *)ldrname());
  1531. X %i:    return(intermed());
  1532. X %o:    return(artiname());
  1533. X %n:    return((char *)neminame());
  1534. X %g:    return((char *)guardname());
  1535. X %H:    return((char *)homebase());
  1536. X %a:    return(Alignnam(u.ualignbase[0]));
  1537. X %A:    return(Alignnam(u.ualign.type));
  1538. X %d:    return((char *)u_gname());
  1539. X %D:    return((char *)align_gname(A_LAWFUL));
  1540. X %C:    return("chaotic");
  1541. X %N:    return("neutral");
  1542. X %L:    return("lawful");
  1543. X %x:    return((Blind) ? "sense" : "see");
  1544. X %%:    return(percent_sign);
  1545. X p suffix:    return makeplural(root);
  1546. X P suffix:    return makeplural(capitalized(root));
  1547. X%E
  1548. END_OF_FILE
  1549. if test 42211 -ne `wc -c <'dat/quest.tx2'`; then
  1550.     echo shar: \"'dat/quest.tx2'\" unpacked with wrong size!
  1551. fi
  1552. # end of 'dat/quest.tx2'
  1553. fi
  1554. if test -f 'include/system.h' -a "${1}" != "-c" ; then 
  1555.   echo shar: Will not clobber existing file \"'include/system.h'\"
  1556. else
  1557. echo shar: Extracting \"'include/system.h'\" \(12880 characters\)
  1558. sed "s/^X//" >'include/system.h' <<'END_OF_FILE'
  1559. X/*    SCCS Id: @(#)system.h 3.1    92/12/11    */
  1560. X/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
  1561. X/* NetHack may be freely redistributed.  See license for details. */
  1562. X
  1563. X#ifndef SYSTEM_H
  1564. X#define SYSTEM_H
  1565. X
  1566. X#ifndef __GO32__  /* djgpp compiler for msdos */
  1567. X
  1568. X#define E extern
  1569. X
  1570. X/* some old <sys/types.h> may not define off_t and size_t; if your system is
  1571. X * one of these, define them by hand below
  1572. X */
  1573. X#if (defined(VMS) && !defined(__GNUC__)) || defined(MAC)
  1574. X# include <types.h>
  1575. X#else
  1576. X# ifndef AMIGA
  1577. X#  include <sys/types.h>
  1578. X# endif
  1579. X#endif
  1580. X
  1581. X#if (defined(MICRO) && !defined(TOS)) || defined(ANCIENT_VAXC)
  1582. X# if !defined(_SIZE_T) && !defined(__size_t) /* __size_t for CSet/2 */
  1583. X#  define _SIZE_T
  1584. X#  if !((defined(MSDOS) || defined(OS2)) && defined(_SIZE_T_DEFINED)) /* MSC 5.1 */
  1585. Xtypedef unsigned int    size_t;
  1586. X#  endif
  1587. X# endif
  1588. X#endif    /* MICRO && !TOS */
  1589. X
  1590. X#if defined(__TURBOC__) || defined(MAC)
  1591. X#include <time.h>    /* time_t is not in <sys/types.h> */
  1592. X#endif
  1593. X#if defined(ULTRIX) && !(defined(ULTRIX_PROTO) || defined(NHSTDC))
  1594. X/* The Ultrix v3.0 <sys/types.h> seems to be very wrong. */
  1595. X# define time_t long
  1596. X#endif
  1597. X
  1598. X#if defined(ULTRIX) || defined(VMS)
  1599. X# define off_t long
  1600. X#endif
  1601. X#if defined(AZTEC) || defined(THINKC4) || defined(__TURBOC__)
  1602. Xtypedef long    off_t;
  1603. X#endif
  1604. X
  1605. X#endif /* __GO32__ */
  1606. X
  1607. X/* You may want to change this to fit your system, as this is almost
  1608. X * impossible to get right automatically.
  1609. X * This is the type of signal handling functions.
  1610. X */
  1611. X#if defined(NHSTDC) || defined(POSIX_TYPES) || defined(OS2) || defined(MSDOS) || defined(__DECC)
  1612. X# define SIG_RET_TYPE void (*)()
  1613. X#endif
  1614. X#ifndef SIG_RET_TYPE
  1615. X# if defined(ULTRIX) || defined(SUNOS4) || defined(SVR3) || defined(SVR4)
  1616. X    /* SVR3 is defined automatically by some systems */
  1617. X#  define SIG_RET_TYPE void (*)()
  1618. X# endif
  1619. X#endif
  1620. X#ifndef SIG_RET_TYPE    /* BSD, SIII, SVR2 and earlier, Sun3.5 and earlier */
  1621. X# define SIG_RET_TYPE int (*)()
  1622. X#endif
  1623. X
  1624. X#ifndef __GO32__
  1625. X
  1626. X#if defined(BSD) || defined(ULTRIX) || defined(RANDOM)
  1627. XE long NDECL(random);
  1628. X# if !defined(SUNOS4) || defined(RANDOM)
  1629. XE void FDECL(srandom, (unsigned int));
  1630. X# else
  1631. XE int FDECL(srandom, (unsigned int));
  1632. X# endif
  1633. X#else
  1634. XE long lrand48();
  1635. XE void srand48();
  1636. X#endif /* BSD || ULTRIX || RANDOM */
  1637. X
  1638. X#if !defined(BSD) || defined(ultrix)
  1639. X            /* real BSD wants all these to return int */
  1640. X# ifndef MICRO
  1641. XE void FDECL(exit, (int));
  1642. X# endif /* MICRO */
  1643. X/* If flex thinks that we're not __STDC__ it declares free() to return
  1644. X   int and we die.  We must use __STDC__ instead of NHSTDC because
  1645. X   the former is naturally what flex tests for. */
  1646. X# if defined(__STDC__) || !defined(FLEX_SCANNER)
  1647. X#  ifndef OS2_CSET2
  1648. XE void FDECL(free, (genericptr_t));
  1649. X#  endif
  1650. X# endif
  1651. X#ifndef    __SASC_60
  1652. X# if defined(AMIGA) && !defined(AZTEC_50)
  1653. XE int FDECL(perror, (const char *));
  1654. X# else
  1655. X#  if !(defined(ULTRIX_PROTO) && defined(__GNUC__))
  1656. XE void FDECL(perror, (const char *));
  1657. X#  endif
  1658. X# endif
  1659. X#endif
  1660. X#endif
  1661. X#ifdef POSIX_TYPES
  1662. XE void FDECL(qsort, (genericptr_t,size_t,size_t,
  1663. X             int(*)(const genericptr,const genericptr)));
  1664. X#else
  1665. X# if defined(BSD) || defined(ULTRIX) || defined(__TURBOC__)
  1666. XE  int qsort();
  1667. X# else
  1668. X#  if !defined(LATTICE) && !defined(AZTEC_50)
  1669. XE   void FDECL(qsort, (genericptr_t,size_t,size_t,
  1670. X               int(*)(const genericptr,const genericptr)));
  1671. X#  endif
  1672. X# endif
  1673. X#endif
  1674. X
  1675. X#ifndef AZTEC_50    /* Already defined in include files */
  1676. X
  1677. X#ifdef ULTRIX
  1678. X# ifdef ULTRIX_PROTO
  1679. XE int FDECL(lseek, (int,off_t,int));
  1680. X# else
  1681. XE long FDECL(lseek, (int,off_t,int));
  1682. X# endif
  1683. X  /* Ultrix 3.0 man page mistakenly says it returns an int. */
  1684. XE int FDECL(write, (int,char *,int));
  1685. XE int FDECL(link, (const char *, const char*));
  1686. X#else
  1687. XE long FDECL(lseek, (int,long,int));
  1688. X# ifdef POSIX_TYPES
  1689. XE int FDECL(write, (int, const void *,unsigned));
  1690. X# else
  1691. XE int FDECL(write, (int,genericptr_t,unsigned));
  1692. X# endif
  1693. X#endif /* ULTRIX */
  1694. X#ifndef    __SASC_60
  1695. X# ifdef OS2_CSET2    /* IBM CSet/2 */
  1696. XE int FDECL(unlink, (char *));
  1697. X# else
  1698. XE int FDECL(unlink, (const char *));
  1699. X# endif
  1700. X#endif
  1701. X
  1702. X#if defined(MICRO) || defined (MAC)
  1703. XE int FDECL(close, (int));
  1704. XE int FDECL(read, (int,genericptr_t,unsigned int));
  1705. X#ifndef    __SASC_60
  1706. X# ifdef MAC
  1707. XE int FDECL(open, (const char *,int));
  1708. X# else
  1709. XE int FDECL(open, (const char *,int,...));
  1710. X# endif /* MAC */
  1711. X#endif
  1712. XE int FDECL(dup2, (int, int));
  1713. XE int FDECL(setmode, (int,int));
  1714. XE int NDECL(kbhit);
  1715. X#ifndef    __SASC_60
  1716. XE int FDECL(chdir, (char *));
  1717. XE char *FDECL(getcwd, (char *,int));
  1718. X#endif
  1719. X#else
  1720. X# if defined(ULTRIX)
  1721. XE int FDECL(close, (int));
  1722. X# endif
  1723. X#endif
  1724. X
  1725. X#ifdef ULTRIX
  1726. XE int FDECL(atoi, (const char *));
  1727. XE int FDECL(chdir, (const char *));
  1728. X# ifndef ULTRIX_CC20
  1729. XE int FDECL(chmod, (const char *,int));
  1730. XE mode_t FDECL(umask, (int));
  1731. X# endif
  1732. XE int FDECL(read, (int,genericptr_t,unsigned));
  1733. X/* these aren't quite right, but this saves including lots of system files */
  1734. XE int FDECL(stty, (int,genericptr_t));
  1735. XE int FDECL(gtty, (int,genericptr_t));
  1736. XE int FDECL(ioctl, (int, int, char*));
  1737. XE int FDECL(isatty, (int));    /* 1==yes, 0==no, -1==error */
  1738. X#include <sys/file.h>
  1739. X# ifdef ULTRIX_PROTO
  1740. XE int NDECL(fork);
  1741. X# else
  1742. XE long NDECL(fork);
  1743. X# endif
  1744. X#endif
  1745. X
  1746. X#ifdef VMS
  1747. X# ifndef abs
  1748. XE int FDECL(abs, (int));
  1749. X# endif
  1750. XE int FDECL(atexit, (void (*)(void)));
  1751. XE int FDECL(atoi, (const char *));
  1752. XE int FDECL(chdir, (const char *));
  1753. XE int FDECL(chmod, (const char *,int));
  1754. XE int FDECL(chown, (const char *,unsigned,unsigned));
  1755. X# ifndef __DECC /* incompatible prototype hidden in <stat.h> */
  1756. XE int FDECL(umask, (int));
  1757. X# endif
  1758. X/* #include <unixio.h> */
  1759. XE int FDECL(close, (int));
  1760. XE int VDECL(creat, (const char *,unsigned,...));
  1761. XE int FDECL(delete, (const char *));
  1762. XE int FDECL(fstat, ( /*_ int, stat_t * _*/ ));
  1763. XE int FDECL(isatty, (int));    /* 1==yes, 0==no, -1==error */
  1764. XE int FDECL(read, (int,genericptr_t,unsigned));
  1765. XE int VDECL(open, (const char *,int,unsigned,...));
  1766. XE int FDECL(rename, (const char *,const char *));
  1767. XE int FDECL(stat, ( /*_ const char *,stat_t * _*/ ));
  1768. X#endif
  1769. X
  1770. X#endif  /* AZTEC_50 */
  1771. X
  1772. X#ifdef TOS
  1773. XE int FDECL(creat, (const char *, int));
  1774. X#endif
  1775. X
  1776. X/* both old & new versions of Ultrix want these, but real BSD does not */
  1777. X#ifdef ultrix
  1778. XE void abort();
  1779. XE void bcopy();
  1780. X# ifdef ULTRIX
  1781. XE int FDECL(system, (const char *));
  1782. X#  ifndef _UNISTD_H_
  1783. XE int FDECL(execl, (const char *, ...));
  1784. X#  endif
  1785. X# endif
  1786. X#endif
  1787. X#ifdef MICRO
  1788. XE void NDECL(abort);
  1789. XE void FDECL(_exit, (int));
  1790. XE int FDECL(system, (const char *));
  1791. X#endif
  1792. X#ifdef HPUX
  1793. XE long NDECL(fork);
  1794. X#endif
  1795. X
  1796. X#if defined(SYSV) || defined(VMS) || defined(MAC) || defined(SUNOS4)
  1797. X# if defined(NHSTDC) || defined(POSIX_TYPES) || (defined(VMS) && !defined(ANCIENT_VAXC))
  1798. X#  if !(defined(SUNOS4) && defined(__STDC__))    /* Solaris unbundled cc (acc) */
  1799. XE int FDECL(memcmp, (const void *,const void *,size_t));
  1800. XE void *FDECL(memcpy, (void *, const void *, size_t));
  1801. XE void *FDECL(memset, (void *, int, size_t));
  1802. X#  endif
  1803. X# else
  1804. XE int memcmp();
  1805. XE char *memcpy(), *memset();
  1806. X# endif
  1807. X#endif
  1808. X
  1809. X#ifdef HPUX
  1810. XE int FDECL(memcmp, (char *,char *,int));
  1811. XE void *FDECL(memcpy, (char *,char *,int));
  1812. XE void *FDECL(memset, (char*,int,int));
  1813. X#endif
  1814. X
  1815. X#if defined(MICRO) && !defined(LATTICE)
  1816. X# if defined(TOS) && defined(__GNUC__)
  1817. XE int FDECL(memcmp, (const void *,const void *,size_t));
  1818. XE void *FDECL(memcpy, (void *,const void *,size_t));
  1819. XE void *FDECL(memset, (void *,int,size_t));
  1820. X# else
  1821. X#  if defined(AZTEC_50) || defined(NHSTDC)
  1822. XE int  FDECL(memcmp, (const void *, const void *, size_t));
  1823. XE void *FDECL(memcpy, (void *, const void *, size_t));
  1824. XE void *FDECL(memset, (void *, int, size_t));
  1825. X#  else
  1826. XE int FDECL(memcmp, (char *,char *,unsigned int));
  1827. XE char *FDECL(memcpy, (char *,char *,unsigned int));
  1828. XE char *FDECL(memset, (char*,int,int));
  1829. X#  endif /* AZTEC_50 || NHSTDC */
  1830. X# endif /* TOS */
  1831. X#endif /* MICRO */
  1832. X
  1833. X#if defined(BSD) && defined(ultrix)    /* i.e., old versions of Ultrix */
  1834. XE void sleep();
  1835. X#endif
  1836. X#if defined(ULTRIX) || defined(SYSV)
  1837. XE unsigned sleep();
  1838. X#endif
  1839. X#if defined(HPUX)
  1840. XE unsigned int FDECL(sleep, (unsigned int));
  1841. X#endif
  1842. X#ifdef VMS
  1843. XE int FDECL(sleep, (unsigned));
  1844. X#endif
  1845. X
  1846. XE char *FDECL(getenv, (const char *));
  1847. XE char *getlogin();
  1848. X#ifdef HPUX
  1849. XE long NDECL(getuid);
  1850. XE long NDECL(getgid);
  1851. XE long NDECL(getpid);
  1852. X#else
  1853. X# ifdef POSIX_TYPES
  1854. XE pid_t NDECL(getpid);
  1855. XE uid_t NDECL(getuid);
  1856. XE gid_t NDECL(getgid);
  1857. X# else
  1858. XE int NDECL(getpid);
  1859. X# endif
  1860. X# ifdef VMS
  1861. XE int NDECL(getppid);
  1862. XE unsigned NDECL(getuid);
  1863. XE unsigned NDECL(getgid);
  1864. X# endif
  1865. X# if defined(ULTRIX) && !defined(_UNISTD_H_)
  1866. XE unsigned NDECL(getuid);
  1867. XE unsigned NDECL(getgid);
  1868. XE int FDECL(setgid, (int));
  1869. XE int FDECL(setuid, (int));
  1870. X# endif
  1871. X#endif
  1872. X
  1873. X/*# string(s).h #*/
  1874. X#ifndef _XtIntrinsic_h    /* <X11/Intrinsic.h> #includes <string[s].h> */
  1875. X
  1876. X#if defined(ULTRIX) && defined(__GNUC__)
  1877. X#include <strings.h>
  1878. X#else
  1879. XE char    *FDECL(strcpy, (char *,const char *));
  1880. XE char    *FDECL(strncpy, (char *,const char *,size_t));
  1881. XE char    *FDECL(strcat, (char *,const char *));
  1882. XE char    *FDECL(strncat, (char *,const char *,size_t));
  1883. XE char    *FDECL(strpbrk, (const char *,const char *));
  1884. X
  1885. X# if defined(SYSV) || defined(MICRO) || defined(MAC) || defined(VMS) || defined(HPUX)
  1886. XE char    *FDECL(strchr, (const char *,int));
  1887. XE char    *FDECL(strrchr, (const char *,int));
  1888. X# else /* BSD */
  1889. XE char    *FDECL(index, (const char *,int));
  1890. XE char    *FDECL(rindex, (const char *,int));
  1891. X# endif
  1892. X
  1893. XE int    FDECL(strcmp, (const char *,const char *));
  1894. XE int    FDECL(strncmp, (const char *,const char *,size_t));
  1895. X# if defined(MICRO) || defined(MAC) || defined(VMS) || defined(POSIX_TYPES)
  1896. XE size_t FDECL(strlen, (const char *));
  1897. X# else
  1898. X# ifdef HPUX
  1899. XE unsigned int    FDECL(strlen, (char *));
  1900. X#  else
  1901. X#   if !(defined(ULTRIX_PROTO) && defined(__GNUC__))
  1902. XE int    FDECL(strlen, (const char *));
  1903. X#   endif
  1904. X#  endif /* HPUX */
  1905. X# endif /* MICRO */
  1906. X#endif /* ULTRIX */
  1907. X
  1908. X#endif    /* !_XtIntrinsic_h_ */
  1909. X
  1910. X#if defined(ULTRIX) && defined(__GNUC__)
  1911. XE char    *FDECL(index, (const char *,int));
  1912. XE char    *FDECL(rindex, (const char *,int));
  1913. X#endif
  1914. X
  1915. X/* Old varieties of BSD have char *sprintf().
  1916. X * Newer varieties of BSD have int sprintf() but allow for the old char *.
  1917. X * Several varieties of SYSV and PC systems also have int sprintf().
  1918. X * If your system doesn't agree with this breakdown, you may want to change
  1919. X * this declaration, especially if your machine treats the types differently.
  1920. X * If your system defines sprintf, et al, in stdio.h, add to the initial
  1921. X * #if.
  1922. X */
  1923. X#if defined(ULTRIX) || defined(__DECC) || defined(__SASC_60) || (defined(SUNOS4) && defined(__STDC__))
  1924. X#define SPRINTF_PROTO
  1925. X#endif
  1926. X#if defined(TOS) || defined(AZTEC_50) || defined(sgi) || defined(__GNUC__)
  1927. X    /* problem with prototype mismatches */
  1928. X#define SPRINTF_PROTO
  1929. X#endif
  1930. X
  1931. X#ifndef SPRINTF_PROTO
  1932. X# ifdef POSIX_TYPES
  1933. XE  int FDECL(sprintf, (char *,const char *,...));
  1934. X# else
  1935. X#  if defined(BSD) && !defined(DGUX) && !defined(NeXT)
  1936. X#   define OLD_SPRINTF
  1937. XE   char *sprintf();
  1938. X#  else
  1939. XE   int FDECL(sprintf, (char *,const char *,...));
  1940. X#  endif
  1941. X# endif
  1942. X#endif
  1943. X#ifdef SPRINTF_PROTO
  1944. X# undef SPRINTF_PROTO
  1945. X#endif
  1946. X
  1947. X#ifndef    __SASC_60
  1948. X#ifdef NEED_VARARGS
  1949. X# if defined(USE_STDARG) || defined(USE_VARARGS)
  1950. X#  if !defined(SVR4) && !defined(apollo)
  1951. X#   if !(defined(ULTRIX_PROTO) && defined(__GNUC__))
  1952. X#    if !(defined(SUNOS4) && defined(__STDC__))    /* Solaris unbundled cc (acc) */
  1953. XE int FDECL(vsprintf, (char *, const char *, va_list));
  1954. XE int FDECL(vfprintf, (FILE *, const char *, va_list));
  1955. XE int FDECL(vprintf, (const char *, va_list));
  1956. X#    endif
  1957. X#   endif
  1958. X#  endif
  1959. X# else
  1960. X#  define vprintf    printf
  1961. X#  define vfprintf    fprintf
  1962. X#  define vsprintf    sprintf
  1963. X# endif
  1964. X#endif /* NEED_VARARGS */
  1965. X#endif
  1966. X
  1967. X#endif /* __GO32__ */
  1968. X
  1969. X#define Sprintf    (void) sprintf
  1970. X#define Strcat    (void) strcat
  1971. X#define Strcpy    (void) strcpy
  1972. X
  1973. X#ifdef NEED_VARARGS
  1974. X# define Vprintf (void) vprintf
  1975. X# define Vfprintf (void) vfprintf
  1976. X# define Vsprintf (void) vsprintf
  1977. X#endif
  1978. X
  1979. X#ifndef __GO32__
  1980. X
  1981. X#ifdef MICRO
  1982. XE int FDECL(tgetent, (const char *,const char *));
  1983. XE int FDECL(tgetnum, (const char *));
  1984. XE int FDECL(tgetflag, (const char *));
  1985. XE char *FDECL(tgetstr, (const char *,char **));
  1986. XE char *FDECL(tgoto, (const char *,int,int));
  1987. XE void FDECL(tputs, (const char *,int,int (*)()));
  1988. X#else
  1989. XE int FDECL(tgetent, (char *,const char *));
  1990. XE int FDECL(tgetnum, (char *));
  1991. XE int FDECL(tgetflag, (char *));
  1992. XE char *FDECL(tgetstr, (char *,char **));
  1993. XE char *FDECL(tgoto, (char *,int,int));
  1994. XE void FDECL(tputs, (const char *,int,int (*)()));
  1995. X#endif
  1996. X
  1997. X#ifdef ALLOC_C
  1998. XE genericptr_t FDECL(malloc, (size_t));
  1999. X#endif
  2000. X
  2001. X/* time functions */
  2002. X
  2003. X# ifndef LATTICE
  2004. X#  if !(defined(ULTRIX_PROTO) && defined(__GNUC__))
  2005. XE struct tm *FDECL(localtime, (const time_t *));
  2006. X#  endif
  2007. X# endif
  2008. X
  2009. X# if defined(ULTRIX) || defined(SYSV) || defined(MICRO) || defined(VMS) || defined(MAC)
  2010. XE time_t FDECL(time, (time_t *));
  2011. X# else
  2012. XE long FDECL(time, (time_t *));
  2013. X# endif /* ULTRIX */
  2014. X
  2015. X#ifdef VMS
  2016. X    /* used in makedefs.c, but missing from gcc-vms's <time.h> */
  2017. XE char *FDECL(ctime, (const time_t *));
  2018. X#endif
  2019. X
  2020. X
  2021. X#ifdef MICRO
  2022. X# ifdef abs
  2023. X# undef abs
  2024. X# endif
  2025. XE int FDECL(abs, (int));
  2026. XE int FDECL(atoi, (const char *));
  2027. X#endif
  2028. X
  2029. X#undef E
  2030. X
  2031. X#endif /* __GO32__ */
  2032. X
  2033. X#endif /* SYSTEM_H */
  2034. END_OF_FILE
  2035. if test 12880 -ne `wc -c <'include/system.h'`; then
  2036.     echo shar: \"'include/system.h'\" unpacked with wrong size!
  2037. fi
  2038. # end of 'include/system.h'
  2039. fi
  2040. echo shar: End of archive 29 \(of 108\).
  2041. cp /dev/null ark29isdone
  2042. MISSING=""
  2043. for I in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 \
  2044. 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 \
  2045. 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 \
  2046. 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 \
  2047. 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 \
  2048. 101 102 103 104 105 106 107 108 ; do
  2049.     if test ! -f ark${I}isdone ; then
  2050.     MISSING="${MISSING} ${I}"
  2051.     fi
  2052. done
  2053. if test "${MISSING}" = "" ; then
  2054.     echo You have unpacked all 108 archives.
  2055.     echo "Now execute 'rebuild.sh'"
  2056.     rm -f ark10[0-8]isdone ark[1-9]isdone ark[1-9][0-9]isdone
  2057. else
  2058.     echo You still need to unpack the following archives:
  2059.     echo "        " ${MISSING}
  2060. fi
  2061. ##  End of shell archive.
  2062. exit 0
  2063.