#:init-value '())
;; Commands we can handle
- (commands #:init-value #f)
+ (dirobj-commands #:init-value '())
+ (indirobj-commands #:init-value '())
+
;; Commands we can handle by being something's container
(contain-commands #:init-value #f))
(define %room-contain-commands
(list
- (command "look" cmatch-just-verb always 'look-room)
- (command "look" cmatch-direct-obj always 'look-member)
- (command "go" cmathc-just-verb always 'go-where)
- (command "go" cmatch-direct-obj always 'go-exit)))
+ (full-command "look" cmatch-just-verb always 'look-room)
+ (full-command "look" cmatch-direct-obj always 'look-member)
+ (full-command "go" cmathc-just-verb always 'go-where)
+ (full-command "go" cmatch-direct-obj always 'go-exit)))
(define (room-wire-exits! room message)
(client #:accessor player-client)
(self-commands
- #:init-value #f ; TODO: Set me to a reasonable default
+ #:init-value '()
#:accessor player-self-commands)
(message-handler