diff options
| author | Richard M. Stallman | 1997-04-27 17:15:58 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1997-04-27 17:15:58 +0000 |
| commit | 058c1767a02167d69fb6b010ffc39cc5eb46d3f7 (patch) | |
| tree | f08498e89ebc524d8d24cebeb8164f94942fd5bb | |
| parent | 67efacf892aa958df1022c71da2d8aa005dcb770 (diff) | |
| download | emacs-058c1767a02167d69fb6b010ffc39cc5eb46d3f7.tar.gz emacs-058c1767a02167d69fb6b010ffc39cc5eb46d3f7.zip | |
(dun-special-object):
Floppy disk will melt in inventory or room, regardless
of whether or not Stallman statuette is around.
(dun-examine):
You can examine objects in the jar without taking them out.
(dun-take):
You can take objects from the jar while you are on the bus.
(dun-dig):
Message from digging on the bus is the same as when you dig and don't
find anything.
(dun-climb):
No longer errors out of the game when argument to "climb" is invalid.
(dun-put):
You can now put things in the jar, even if you are on the bus.
(dun-special-move):
"In" or "Out" command tells you if you are already on or off the bus.
(dun-sauna-heat):
Changed "begin to sweat" to "are perspiring"
so that it makes sense whether you are heating up or cooling down.
(dun-help):
Changed author e-mail address, added web page.
Added hint for batch mode.
(*global*):
Fixed spelling of Presely in global object list.
(*global*):
Added coconuts, tank, and lake as objects that are recognized.
(*global*):
Added `slip' as another way of describing the paper,
and `chip' as another way of describing the CPU.
(*global*):
Upcase abbreviations of directions in room descriptions.
(dun-login):
Fixed erroneous login message to better-describe ftp limitations.
(dun-rlogin):
Added error message if user tries to rlogin back to pokey.
(dun-load-d):
Fixed so that if restore file isn't found which in non-batch mode,
window will switch back to game.
| -rw-r--r-- | lisp/play/dunnet.el | 188 |
1 files changed, 104 insertions, 84 deletions
diff --git a/lisp/play/dunnet.el b/lisp/play/dunnet.el index 2e6ee21b1c1..16fd365d969 100644 --- a/lisp/play/dunnet.el +++ b/lisp/play/dunnet.el | |||
| @@ -2,9 +2,9 @@ | |||
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1992, 1993 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1992, 1993 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Ron Schnell <ronnie@media.mit.edu> | 5 | ;; Author: Ron Schnell <ronnie@driver-aces.com> |
| 6 | ;; Created: 25 Jul 1992 | 6 | ;; Created: 25 Jul 1992 |
| 7 | ;; Version: 2.0 | 7 | ;; Version: 2.01 |
| 8 | ;; Keywords: games | 8 | ;; Keywords: games |
| 9 | 9 | ||
| 10 | ;; This file is part of GNU Emacs. | 10 | ;; This file is part of GNU Emacs. |
| @@ -180,30 +180,32 @@ your objects, to give off an eerie glow.")) | |||
| 180 | "It is comfortably hot in here." | 180 | "It is comfortably hot in here." |
| 181 | "It is refreshingly hot in here." | 181 | "It is refreshingly hot in here." |
| 182 | "You are dead now."))) | 182 | "You are dead now."))) |
| 183 | (if (and (= dun-sauna-level 3) | 183 | (if (= dun-sauna-level 3) |
| 184 | (or (member obj-rms dun-inventory) | ||
| 185 | (member obj-rms (nth dun-current-room dun-room-objects)))) | ||
| 186 | (progn | 184 | (progn |
| 187 | (dun-mprincl | 185 | (if (or (member obj-rms dun-inventory) |
| 186 | (member obj-rms (nth dun-current-room dun-room-objects))) | ||
| 187 | (progn | ||
| 188 | (dun-mprincl | ||
| 188 | "You notice the wax on your statuette beginning to melt, until it completely | 189 | "You notice the wax on your statuette beginning to melt, until it completely |
| 189 | melts off. You are left with a beautiful diamond!") | 190 | melts off. You are left with a beautiful diamond!") |
| 190 | (if (member obj-rms dun-inventory) | 191 | (if (member obj-rms dun-inventory) |
| 191 | (progn | 192 | (progn |
| 192 | (dun-remove-obj-from-inven obj-rms) | 193 | (dun-remove-obj-from-inven obj-rms) |
| 193 | (setq dun-inventory (append dun-inventory | 194 | (setq dun-inventory (append dun-inventory |
| 194 | (list obj-diamond)))) | 195 | (list obj-diamond)))) |
| 195 | (dun-remove-obj-from-room dun-current-room obj-rms) | 196 | (dun-remove-obj-from-room dun-current-room obj-rms) |
| 196 | (dun-replace dun-room-objects dun-current-room | 197 | (dun-replace dun-room-objects dun-current-room |
| 197 | (append (nth dun-current-room dun-room-objects) | 198 | (append (nth dun-current-room dun-room-objects) |
| 198 | (list obj-diamond)))) | 199 | (list obj-diamond)))))) |
| 199 | (if (member obj-floppy dun-inventory) | 200 | (if (or (member obj-floppy dun-inventory) |
| 201 | (member obj-floppy (nth dun-current-room dun-room-objects))) | ||
| 200 | (progn | 202 | (progn |
| 201 | (dun-mprincl | 203 | (dun-mprincl |
| 202 | "You notice your floppy disk beginning to melt. As you grab for it, the | 204 | "You notice your floppy disk beginning to melt. As you grab for it, the |
| 203 | disk bursts into flames, and disintegrates.") | 205 | disk bursts into flames, and disintegrates.") |
| 204 | (dun-remove-obj-from-inven obj-floppy) | 206 | (dun-remove-obj-from-inven obj-floppy) |
| 205 | (dun-remove-obj-from-room dun-current-room obj-floppy))))) | 207 | (dun-remove-obj-from-room dun-current-room obj-floppy)))))))) |
| 206 | ))) | 208 | |
| 207 | 209 | ||
| 208 | (defun dun-die (murderer) | 210 | (defun dun-die (murderer) |
| 209 | (dun-mprinc "\n") | 211 | (dun-mprinc "\n") |
| @@ -327,6 +329,8 @@ through."))))) | |||
| 327 | (dun-mprincl "I don't know what that is.") | 329 | (dun-mprincl "I don't know what that is.") |
| 328 | (if (and (not (member objnum | 330 | (if (and (not (member objnum |
| 329 | (nth dun-current-room dun-room-objects))) | 331 | (nth dun-current-room dun-room-objects))) |
| 332 | (not (and (member obj-jar dun-inventory) | ||
| 333 | (member objnum dun-jar))) | ||
| 330 | (not (member objnum | 334 | (not (member objnum |
| 331 | (nth dun-current-room dun-room-silents))) | 335 | (nth dun-current-room dun-room-silents))) |
| 332 | (not (member objnum dun-inventory))) | 336 | (not (member objnum dun-inventory))) |
| @@ -346,30 +350,33 @@ For an explosive time, go to Fourth St. and Vermont.") | |||
| 346 | (dun-mprincl "I see nothing special about that."))))))))) | 350 | (dun-mprincl "I see nothing special about that."))))))))) |
| 347 | 351 | ||
| 348 | (defun dun-take (obj) | 352 | (defun dun-take (obj) |
| 349 | (if dun-inbus | 353 | (setq obj (dun-firstword obj)) |
| 350 | (dun-mprincl "You can't take anything while on the bus.") | 354 | (if (not obj) |
| 351 | (setq obj (dun-firstword obj)) | 355 | (dun-mprincl "You must supply an object.") |
| 352 | (if (not obj) | 356 | (if (string= obj "all") |
| 353 | (dun-mprincl "You must supply an object.") | 357 | (let (gotsome) |
| 354 | (if (string= obj "all") | 358 | (if dun-inbus |
| 355 | (let (gotsome) | 359 | (dun-mprincl "You can't take anything while on the bus.") |
| 356 | (setq gotsome nil) | 360 | (setq gotsome nil) |
| 357 | (dolist (x (nth dun-current-room dun-room-objects)) | 361 | (dolist (x (nth dun-current-room dun-room-objects)) |
| 358 | (if (and (>= x 0) (not (= x obj-special))) | 362 | (if (and (>= x 0) (not (= x obj-special))) |
| 359 | (progn | 363 | (progn |
| 360 | (setq gotsome t) | 364 | (setq gotsome t) |
| 361 | (dun-mprinc (cadr (nth x dun-objects))) | 365 | (dun-mprinc (cadr (nth x dun-objects))) |
| 362 | (dun-mprinc ": ") | 366 | (dun-mprinc ": ") |
| 363 | (dun-take-object x)))) | 367 | (dun-take-object x)))) |
| 364 | (if (not gotsome) | 368 | (if (not gotsome) |
| 365 | (dun-mprincl "Nothing to take."))) | 369 | (dun-mprincl "Nothing to take.")))) |
| 366 | (let (objnum) | 370 | (let (objnum) |
| 367 | (setq objnum (cdr (assq (intern obj) dun-objnames))) | 371 | (setq objnum (cdr (assq (intern obj) dun-objnames))) |
| 368 | (if (eq objnum nil) | 372 | (if (eq objnum nil) |
| 369 | (progn | 373 | (progn |
| 370 | (dun-mprinc "I don't know what that is.") | 374 | (dun-mprinc "I don't know what that is.") |
| 371 | (dun-mprinc "\n")) | 375 | (dun-mprinc "\n")) |
| 372 | (dun-take-object objnum))))))) | 376 | (if (and dun-inbus (not (and (member objnum dun-jar) |
| 377 | (member obj-jar dun-inventory)))) | ||
| 378 | (dun-mprincl "You can't take anything while on the bus.") | ||
| 379 | (dun-take-object objnum))))))) | ||
| 373 | 380 | ||
| 374 | (defun dun-take-object (objnum) | 381 | (defun dun-take-object (objnum) |
| 375 | (if (and (member objnum dun-jar) (member obj-jar dun-inventory)) | 382 | (if (and (member objnum dun-jar) (member obj-jar dun-inventory)) |
| @@ -415,7 +422,7 @@ For an explosive time, go to Fourth St. and Vermont.") | |||
| 415 | 422 | ||
| 416 | (defun dun-dig (args) | 423 | (defun dun-dig (args) |
| 417 | (if dun-inbus | 424 | (if dun-inbus |
| 418 | (dun-mprincl "You can't dig while on the bus.") | 425 | (dun-mprincl "Digging here reveals nothing.") |
| 419 | (if (not (member 0 dun-inventory)) | 426 | (if (not (member 0 dun-inventory)) |
| 420 | (dun-mprincl "You have nothing with which to dig.") | 427 | (dun-mprincl "You have nothing with which to dig.") |
| 421 | (if (not (nth dun-current-room dun-diggables)) | 428 | (if (not (nth dun-current-room dun-diggables)) |
| @@ -429,11 +436,12 @@ For an explosive time, go to Fourth St. and Vermont.") | |||
| 429 | (defun dun-climb (obj) | 436 | (defun dun-climb (obj) |
| 430 | (let (objnum) | 437 | (let (objnum) |
| 431 | (setq objnum (dun-objnum-from-args obj)) | 438 | (setq objnum (dun-objnum-from-args obj)) |
| 432 | (cond ((null objnum) | 439 | (cond ((not objnum) |
| 433 | (dun-mprincl "I don't know that name.")) | 440 | (dun-mprincl "I don't know what that object is.")) |
| 434 | ((and (not (eq objnum obj-special)) | 441 | ((and (not (eq objnum obj-special)) |
| 435 | (not (member objnum (nth dun-current-room dun-room-objects))) | 442 | (not (member objnum (nth dun-current-room dun-room-objects))) |
| 436 | (not (member objnum (nth dun-current-room dun-room-silents))) | 443 | (not (member objnum (nth dun-current-room dun-room-silents))) |
| 444 | (not (and (member objnum dun-jar) (member obj-jar dun-inventory))) | ||
| 437 | (not (member objnum dun-inventory))) | 445 | (not (member objnum dun-inventory))) |
| 438 | (dun-mprincl "I don't see that here.")) | 446 | (dun-mprincl "I don't see that here.")) |
| 439 | ((and (eq objnum obj-special) | 447 | ((and (eq objnum obj-special) |
| @@ -461,8 +469,6 @@ notice that the tree is very unsteady."))))) | |||
| 461 | (dun-remove-obj-from-inven obj-food)))))) | 469 | (dun-remove-obj-from-inven obj-food)))))) |
| 462 | 470 | ||
| 463 | (defun dun-put (args) | 471 | (defun dun-put (args) |
| 464 | (if dun-inbus | ||
| 465 | (dun-mprincl "You can't do that while on the bus") | ||
| 466 | (let (newargs objnum objnum2 obj) | 472 | (let (newargs objnum objnum2 obj) |
| 467 | (setq newargs (dun-firstwordl args)) | 473 | (setq newargs (dun-firstwordl args)) |
| 468 | (if (not newargs) | 474 | (if (not newargs) |
| @@ -488,7 +494,7 @@ notice that the tree is very unsteady."))))) | |||
| 488 | (nth dun-current-room dun-room-silents))) | 494 | (nth dun-current-room dun-room-silents))) |
| 489 | (not (member objnum2 dun-inventory))) | 495 | (not (member objnum2 dun-inventory))) |
| 490 | (dun-mprincl "That indirect object is not here.") | 496 | (dun-mprincl "That indirect object is not here.") |
| 491 | (dun-put-objs objnum objnum2)))))))))) | 497 | (dun-put-objs objnum objnum2))))))))) |
| 492 | 498 | ||
| 493 | (defun dun-put-objs (obj1 obj2) | 499 | (defun dun-put-objs (obj1 obj2) |
| 494 | (if (and (= obj2 obj-drop) (not dun-nomail)) | 500 | (if (and (= obj2 obj-drop) (not dun-nomail)) |
| @@ -732,15 +738,20 @@ engulf you, and you burn to death.") | |||
| 732 | (if (not (member obj-bus (nth dun-current-room dun-room-objects))) | 738 | (if (not (member obj-bus (nth dun-current-room dun-room-objects))) |
| 733 | (dun-mprincl "You can't go that way.") | 739 | (dun-mprincl "You can't go that way.") |
| 734 | (if (= dir in) | 740 | (if (= dir in) |
| 735 | (if (member obj-license dun-inventory) | 741 | (if dun-inbus |
| 736 | (progn | 742 | (dun-mprincl |
| 737 | (dun-mprincl | 743 | "You are already in the bus!") |
| 738 | "You board the bus and get in the driver's seat.") | 744 | (if (member obj-license dun-inventory) |
| 739 | (setq dun-nomail t) | 745 | (progn |
| 740 | (setq dun-inbus t)) | 746 | (dun-mprincl |
| 741 | (dun-mprincl "You are not licensed for this type of vehicle.")) | 747 | "You board the bus and get in the driver's seat.") |
| 742 | (dun-mprincl "You hop off the bus.") | 748 | (setq dun-nomail t) |
| 743 | (setq dun-inbus nil))) | 749 | (setq dun-inbus t)) |
| 750 | (dun-mprincl "You are not licensed for this type of vehicle."))) | ||
| 751 | (if (not dun-inbus) | ||
| 752 | (dun-mprincl "You are already off the bus!") | ||
| 753 | (dun-mprincl "You hop off the bus.") | ||
| 754 | (setq dun-inbus nil)))) | ||
| 744 | (if (= dun-current-room fifth-oaktree-intersection) | 755 | (if (= dun-current-room fifth-oaktree-intersection) |
| 745 | (if (not dun-inbus) | 756 | (if (not dun-inbus) |
| 746 | (progn | 757 | (progn |
| @@ -799,7 +810,7 @@ huge rocks sliding down from the ceiling, and blocking your way out.\n") | |||
| 799 | (dun-mprincl | 810 | (dun-mprincl |
| 800 | "The temperature has returned to normal room temperature.")) | 811 | "The temperature has returned to normal room temperature.")) |
| 801 | (if (= dun-sauna-level 1) | 812 | (if (= dun-sauna-level 1) |
| 802 | (dun-mprincl "It is now luke warm in here. You begin to sweat.")) | 813 | (dun-mprincl "It is now luke warm in here. You are perspiring.")) |
| 803 | (if (= dun-sauna-level 2) | 814 | (if (= dun-sauna-level 2) |
| 804 | (dun-mprincl "It is pretty hot in here. It is still very comfortable.")) | 815 | (dun-mprincl "It is pretty hot in here. It is still very comfortable.")) |
| 805 | (if (= dun-sauna-level 3) | 816 | (if (= dun-sauna-level 3) |
| @@ -891,7 +902,7 @@ to swim.") | |||
| 891 | 902 | ||
| 892 | (defun dun-help (args) | 903 | (defun dun-help (args) |
| 893 | (dun-mprincl | 904 | (dun-mprincl |
| 894 | "Welcome to dunnet (2.0), by Ron Schnell (ronnie@media.mit.edu). | 905 | "Welcome to dunnet (2.01), by Ron Schnell (ronnie@driver-aces.com). |
| 895 | Here is some useful information (read carefully because there are one | 906 | Here is some useful information (read carefully because there are one |
| 896 | or more clues in here): | 907 | or more clues in here): |
| 897 | - If you have a key that can open a door, you do not need to explicitly | 908 | - If you have a key that can open a door, you do not need to explicitly |
| @@ -924,8 +935,11 @@ or more clues in here): | |||
| 924 | 935 | ||
| 925 | - To run this game in batch mode (no emacs window), use: | 936 | - To run this game in batch mode (no emacs window), use: |
| 926 | emacs -batch -l dunnet | 937 | emacs -batch -l dunnet |
| 938 | NOTE: This game *should* be run in batch mode! | ||
| 927 | 939 | ||
| 928 | If you have questions or comments, please contact ronnie@media.mit.edu.")) | 940 | If you have questions or comments, please contact ronnie@driver-aces.com |
| 941 | My home page is http://www.driver-aces.com/ronnie.html | ||
| 942 | ")) | ||
| 929 | 943 | ||
| 930 | (defun dun-flush (args) | 944 | (defun dun-flush (args) |
| 931 | (if (not (= dun-current-room bathroom)) | 945 | (if (not (= dun-current-room bathroom)) |
| @@ -1289,8 +1303,8 @@ for a moment, then straighten yourself up. | |||
| 1289 | (dun-rot13) | 1303 | (dun-rot13) |
| 1290 | (error (yank))) | 1304 | (error (yank))) |
| 1291 | (eval-current-buffer) | 1305 | (eval-current-buffer) |
| 1292 | (kill-buffer (current-buffer)) | 1306 | (kill-buffer (current-buffer))) |
| 1293 | (switch-to-buffer old-buffer)) | 1307 | (switch-to-buffer old-buffer) |
| 1294 | result)) | 1308 | result)) |
| 1295 | 1309 | ||
| 1296 | ;;; Functions to remove an object either from a room, or from inventory. | 1310 | ;;; Functions to remove an object either from a room, or from inventory. |
| @@ -1593,25 +1607,25 @@ is a room that can contain objects." | |||
| 1593 | ( | 1607 | ( |
| 1594 | "You are at the northeast end of a northeast/southwest passageway. | 1608 | "You are at the northeast end of a northeast/southwest passageway. |
| 1595 | Stairs lead up out of sight." | 1609 | Stairs lead up out of sight." |
| 1596 | "Ne end of ne/sw cave passage" ;37 | 1610 | "NE end of NE/SW cave passage" ;37 |
| 1597 | ) | 1611 | ) |
| 1598 | ( | 1612 | ( |
| 1599 | "You are at the junction of northeast/southwest and east/west passages." | 1613 | "You are at the junction of northeast/southwest and east/west passages." |
| 1600 | "Ne/sw-e/w junction" ;38 | 1614 | "NE/SW-E/W junction" ;38 |
| 1601 | ) | 1615 | ) |
| 1602 | ( | 1616 | ( |
| 1603 | "You are at the southwest end of a northeast/southwest passageway." | 1617 | "You are at the southwest end of a northeast/southwest passageway." |
| 1604 | "Sw end of ne/sw cave passage" ;39 | 1618 | "SW end of NE/SW cave passage" ;39 |
| 1605 | ) | 1619 | ) |
| 1606 | ( | 1620 | ( |
| 1607 | "You are at the east end of an e/w passage. There are stairs leading up | 1621 | "You are at the east end of an E/W passage. There are stairs leading up |
| 1608 | to a room above." | 1622 | to a room above." |
| 1609 | "East end of e/w cave passage" ;40 | 1623 | "East end of E/W cave passage" ;40 |
| 1610 | ) | 1624 | ) |
| 1611 | ( | 1625 | ( |
| 1612 | "You are at the west end of an e/w passage. There is a hole on the ground | 1626 | "You are at the west end of an E/W passage. There is a hole on the ground |
| 1613 | which leads down out of sight." | 1627 | which leads down out of sight." |
| 1614 | "West end of e/w cave passage" ;41 | 1628 | "West end of E/W cave passage" ;41 |
| 1615 | ) | 1629 | ) |
| 1616 | ( | 1630 | ( |
| 1617 | "You are in a room which is bare, except for a horseshoe shaped boulder | 1631 | "You are in a room which is bare, except for a horseshoe shaped boulder |
| @@ -1675,7 +1689,7 @@ to the northeast." | |||
| 1675 | ) | 1689 | ) |
| 1676 | ( | 1690 | ( |
| 1677 | "You are in a crawlway that leads northeast or southwest." | 1691 | "You are in a crawlway that leads northeast or southwest." |
| 1678 | "Ne crawlway" ;55 | 1692 | "NE crawlway" ;55 |
| 1679 | ) | 1693 | ) |
| 1680 | ( | 1694 | ( |
| 1681 | "You are in a small crawlspace. There is a hole in the ground here, and | 1695 | "You are in a small crawlspace. There is a hole in the ground here, and |
| @@ -1847,7 +1861,7 @@ door to the west." | |||
| 1847 | ( | 1861 | ( |
| 1848 | "You are at the north end of a north/south tunnel. Stairs lead up and | 1862 | "You are at the north end of a north/south tunnel. Stairs lead up and |
| 1849 | down from here. There is a garbage disposal here." | 1863 | down from here. There is a garbage disposal here." |
| 1850 | "North end of n/s tunnel" ;92 | 1864 | "North end of N/S tunnel" ;92 |
| 1851 | ) | 1865 | ) |
| 1852 | ( | 1866 | ( |
| 1853 | "You are at the top of some stairs near the subway station. There is | 1867 | "You are at the top of some stairs near the subway station. There is |
| @@ -1869,7 +1883,7 @@ type." | |||
| 1869 | ) | 1883 | ) |
| 1870 | ( | 1884 | ( |
| 1871 | "You are in a north/south hallway." | 1885 | "You are in a north/south hallway." |
| 1872 | "Endgame n/s hallway" ;96 | 1886 | "Endgame N/S hallway" ;96 |
| 1873 | ) | 1887 | ) |
| 1874 | ( | 1888 | ( |
| 1875 | "You have reached a question room. You must answer a question correctly in | 1889 | "You have reached a question room. You must answer a question correctly in |
| @@ -1878,7 +1892,7 @@ order to get by. Use the 'answer' command to answer the question." | |||
| 1878 | ) | 1892 | ) |
| 1879 | ( | 1893 | ( |
| 1880 | "You are in a north/south hallway." | 1894 | "You are in a north/south hallway." |
| 1881 | "Endgame n/s hallway" ;98 | 1895 | "Endgame N/S hallway" ;98 |
| 1882 | ) | 1896 | ) |
| 1883 | ( | 1897 | ( |
| 1884 | "You are in a second question room." | 1898 | "You are in a second question room." |
| @@ -1886,7 +1900,7 @@ order to get by. Use the 'answer' command to answer the question." | |||
| 1886 | ) | 1900 | ) |
| 1887 | ( | 1901 | ( |
| 1888 | "You are in a north/south hallway." | 1902 | "You are in a north/south hallway." |
| 1889 | "Endgame n/s hallway" ;100 | 1903 | "Endgame N/S hallway" ;100 |
| 1890 | ) | 1904 | ) |
| 1891 | ( | 1905 | ( |
| 1892 | "You are in a third question room." | 1906 | "You are in a third question room." |
| @@ -2078,10 +2092,10 @@ A hole leads north." | |||
| 2078 | (setq dun-objnames '( | 2092 | (setq dun-objnames '( |
| 2079 | (shovel . 0) | 2093 | (shovel . 0) |
| 2080 | (lamp . 1) | 2094 | (lamp . 1) |
| 2081 | (cpu . 2) (board . 2) (card . 2) | 2095 | (cpu . 2) (board . 2) (card . 2) (chip . 2) |
| 2082 | (food . 3) | 2096 | (food . 3) |
| 2083 | (key . 4) | 2097 | (key . 4) |
| 2084 | (paper . 5) | 2098 | (paper . 5) (slip . 5) |
| 2085 | (rms . 6) (statue . 6) (statuette . 6) (stallman . 6) | 2099 | (rms . 6) (statue . 6) (statuette . 6) (stallman . 6) |
| 2086 | (diamond . 7) | 2100 | (diamond . 7) |
| 2087 | (weight . 8) | 2101 | (weight . 8) |
| @@ -2127,13 +2141,14 @@ A hole leads north." | |||
| 2127 | (cliff . -20) | 2141 | (cliff . -20) |
| 2128 | (skeleton . -21) (dinosaur . -21) | 2142 | (skeleton . -21) (dinosaur . -21) |
| 2129 | (fish . -22) | 2143 | (fish . -22) |
| 2130 | (tanks . -23) | 2144 | (tanks . -23) (tank . -23) |
| 2131 | (switch . -24) | 2145 | (switch . -24) |
| 2132 | (blackboard . -25) | 2146 | (blackboard . -25) |
| 2133 | (disposal . -26) (garbage . -26) | 2147 | (disposal . -26) (garbage . -26) |
| 2134 | (ladder . -27) | 2148 | (ladder . -27) |
| 2135 | (subway . -28) (train . -28) | 2149 | (subway . -28) (train . -28) |
| 2136 | (pc . -29) (drive . -29) | 2150 | (pc . -29) (drive . -29) (coconut . -30) (coconuts . -30) |
| 2151 | (lake . -32) (water . -32) | ||
| 2137 | )) | 2152 | )) |
| 2138 | 2153 | ||
| 2139 | (dolist (x dun-objnames) | 2154 | (dolist (x dun-objnames) |
| @@ -2208,8 +2223,8 @@ nil)) | |||
| 2208 | ;;; room description. They are permanent. | 2223 | ;;; room description. They are permanent. |
| 2209 | 2224 | ||
| 2210 | (setq dun-room-silents (list nil | 2225 | (setq dun-room-silents (list nil |
| 2211 | (list obj-tree) ;; dead-end | 2226 | (list obj-tree obj-coconut) ;; dead-end |
| 2212 | (list obj-tree) ;; e-w-dirt-road | 2227 | (list obj-tree obj-coconut) ;; e-w-dirt-road |
| 2213 | nil nil nil nil nil nil | 2228 | nil nil nil nil nil nil |
| 2214 | (list obj-bin) ;; mailroom | 2229 | (list obj-bin) ;; mailroom |
| 2215 | (list obj-computer) ;; computer-room | 2230 | (list obj-computer) ;; computer-room |
| @@ -2219,7 +2234,10 @@ nil)) | |||
| 2219 | (list obj-ladder) ;; weight-room | 2234 | (list obj-ladder) ;; weight-room |
| 2220 | (list obj-button obj-ladder) ;; maze-button-room | 2235 | (list obj-button obj-ladder) ;; maze-button-room |
| 2221 | nil nil nil | 2236 | nil nil nil |
| 2222 | nil nil nil nil nil nil nil | 2237 | nil nil nil nil |
| 2238 | (list obj-lake) ;; lakefront-north | ||
| 2239 | (list obj-lake) ;; lakefront-south | ||
| 2240 | nil | ||
| 2223 | (list obj-chute) ;; cave-entrance | 2241 | (list obj-chute) ;; cave-entrance |
| 2224 | nil nil nil nil nil | 2242 | nil nil nil nil nil |
| 2225 | (list obj-painting obj-bed) ;; bedroom | 2243 | (list obj-painting obj-bed) ;; bedroom |
| @@ -2390,7 +2408,7 @@ names: | |||
| 2390 | "The dial points to a temperature scale which has long since faded away." | 2408 | "The dial points to a temperature scale which has long since faded away." |
| 2391 | nil | 2409 | nil |
| 2392 | nil | 2410 | nil |
| 2393 | "It is a velvet painting of Elvis Presly. It seems to be nailed to the | 2411 | "It is a velvet painting of Elvis Presley. It seems to be nailed to the |
| 2394 | wall, and you cannot move it." | 2412 | wall, and you cannot move it." |
| 2395 | "It is a queen sized bed, with a very firm mattress." | 2413 | "It is a queen sized bed, with a very firm mattress." |
| 2396 | "The urinal is very clean compared with everything else in the cave. There | 2414 | "The urinal is very clean compared with everything else in the cave. There |
| @@ -2593,7 +2611,7 @@ treasures for points?" "4" "four") | |||
| 2593 | Welcome to Unix\n | 2611 | Welcome to Unix\n |
| 2594 | Please clean up your directories. The filesystem is getting full. | 2612 | Please clean up your directories. The filesystem is getting full. |
| 2595 | Our tcp/ip link to gamma is a little flaky, but seems to work. | 2613 | Our tcp/ip link to gamma is a little flaky, but seems to work. |
| 2596 | The current version of ftp can only send files from the current | 2614 | The current version of ftp can only send files from your home |
| 2597 | directory, and deletes them after they are sent! Be careful. | 2615 | directory, and deletes them after they are sent! Be careful. |
| 2598 | 2616 | ||
| 2599 | Note: Restricted bourne shell in use.\n"))) | 2617 | Note: Restricted bourne shell in use.\n"))) |
| @@ -2862,7 +2880,9 @@ drwxr-xr-x 3 root staff 2048 Jan 1 1970 ..") | |||
| 2862 | (if (string= args "endgame") | 2880 | (if (string= args "endgame") |
| 2863 | (dun-rlogin-endgame) | 2881 | (dun-rlogin-endgame) |
| 2864 | (if (not (string= args "gamma")) | 2882 | (if (not (string= args "gamma")) |
| 2865 | (dun-mprincl "No such host.") | 2883 | (if (string= args "pokey") |
| 2884 | (dun-mprincl "Can't rlogin back to localhost") | ||
| 2885 | (dun-mprincl "No such host.")) | ||
| 2866 | (if (not dun-ethernet) | 2886 | (if (not dun-ethernet) |
| 2867 | (dun-mprincl "Host not responding.") | 2887 | (dun-mprincl "Host not responding.") |
| 2868 | (dun-mprinc "Password: ") | 2888 | (dun-mprinc "Password: ") |