(n-to object) (ne-to object) (e-to object) (se-to object)\r
(s-to object) (sw-to object) (w-to object) (nw-to object)\r
(u-to object) (d-to object) (in-to object) (out-to object)\r
- (cant-go string)\r
+ ;(cant-go string) <- doesn't provide by default\r
(has :light :enterable))\r
\r
(ifclass item () (description string) (article string)\r
\r
(defun default-glance (obj)\r
"Default initial description of object"\r
- (format t "[Default glance for ~a]~%" obj)\r
+ ;;(format t "[Default glance for ~a]~%" obj)\r
(sprint "~a~%" \r
(with-output-to-string (out)\r
(princ "There is " out) (princ (print-name obj) out) \r
\r
(defaction go-to (dir)\r
(let ((destination (read-property *location* (property dir))))\r
- (if destination (exec go-to-dispatch (destination))\r
+ (if destination (exec go-to-dispatch (destination) :str t)\r
(if (provides *location* 'cant-go) \r
(read-property *location* 'cant-go)\r
"You can't go here."))))\r
(go-to-room dest))\r
\r
(defmethod go-to-dispatch ((dest door))\r
+ ;(format t "go-to-dispatch: ~a~%" dest)\r
(unless (has dest :door) (return-from go-to-dispatch (call-next-method)))\r
(if (has dest :closed) (format nil "~a is closed." (the-name dest :capital t))\r
- (run-action 'pass *args*)))\r
+ (run-action 'pass (list dest))))\r
\r
(defaction pass (obj)\r
"Something's wrong happened.")\r