Function: dun-dig
dun-dig is a byte-compiled function defined in dunnet.el.gz.
Signature
(dun-dig ARGS)
Source Code
;; Defined in /usr/src/emacs/lisp/play/dunnet.el.gz
(defun dun-dig (_args)
(if dun-inbus
(dun-mprincl "Digging here reveals nothing.")
(if (not (member 0 dun-inventory))
(dun-mprincl "You have nothing with which to dig.")
(if (not (nth dun-current-room dun-diggables))
(dun-mprincl "Digging here reveals nothing.")
(dun-mprincl "I think you found something.")
(dun-replace dun-room-objects dun-current-room
(append (nth dun-current-room dun-room-objects)
(nth dun-current-room dun-diggables)))
(dun-replace dun-diggables dun-current-room nil)))))