(lookup-special (wrap-apply gm-lookup-special))
(new-client (wrap-apply gm-new-client))
(write-home (wrap-apply gm-write-home))
- (client-closed (wrap-apply gm-client-closed)))))
+ (client-closed (wrap-apply gm-client-closed))
+ (inject-special! (wrap-apply gm-inject-special!)))))
;;; .. begin world init stuff ..
(gm-unregister-client! gm client)))
+(define-mhandler (gm-inject-special! gm message
+ special-symbol gameobj-spec)
+ "Inject, possiibly replacing the original, special symbol
+using the gameobj-spec."
+ (pk 'special-symbol special-symbol)
+ (pk 'gameobj-spec gameobj-spec))
+
;;; GM utilities
(define (gm-register-client! gm client-id player)
;; Dump the player into the default room
(<-wait gm player 'set-loc! #:loc room-id)
;; Initialize the player
- (<- gm player 'init)))))
+ (<-wait gm player 'init)
+ (<- gm room-id 'tell-room
+ #:text (format #f "You see ~a materialize out of thin air!\n"
+ guest-name)
+ #:exclude player)))))