(defun run-console (startup lib-loader &key (interactive nil))\r
(if *repl-mode* (progn (funcall startup) \r
(return-from run-console t))\r
- (with-ltk ()\r
+ (with-ltk (:debug :develop)\r
(let* ((txt (make-instance 'text))\r
(menu (make-menubar))\r
(m-file (make-menu menu "File"))\r
:wear :strip :enter :climb :drink :eat\r
:rub :turn :switch-on :switch-off\r
:fill :empty :extract :let-go :open :close\r
- :lock :unlock :open-unlock)\r
+ :lock :unlock :unlock-open)\r
(:shadow :listen :fill :open :close)\r
(:shadowing-import-from :if-lib :room))\r
\r
(format nil "You cannot unlock ~a with ~a."\r
(the-name obj) (the-name key))))))\r
\r
-(defaction open-unlock (obj key)\r
+(defaction unlock-open (obj key)\r
"You cannot open this.")\r
\r
-(defmethod open-unlock ((obj container) (key item))\r
+(defmethod unlock-open ((obj container) (key item))\r
(unless (and (has obj :container) \r
(has obj :openable))\r
- (return-from open-unlock (call-next-method)))\r
+ (return-from unlock-open (call-next-method)))\r
(and (run-action 'unlock *args*)\r
(run-action 'open obj)))\r