Injection almost works, you can pass along the appropriate action at least.
[mudsync.git] / worlds / bricabrac.scm
index 3584e87c15dd0376bf91e3b5d16edfbd1936c6fc..5465aa5176705e2d7e51425f353fa8e822ee2257 100644 (file)
@@ -79,7 +79,8 @@
 
 (define chat-commands
   (list
-   (direct-command "chat" 'cmd-chat)))
+   (direct-command "chat" 'cmd-chat)
+   (direct-command "talk" 'cmd-chat)))
 (define chat-actions
   (build-actions
    (cmd-chat (wrap-apply npc-chat-randomly))))
@@ -296,6 +297,7 @@ they're all boarded up.  Guess this is still a work in progress, huh?"
 (define game-spec
   (append lobby grand-hallway))
 
+;; TODO: Provide command line args
 (define (run-game . args)
-  (run-demo "/tmp/bricabrac-game.db" game-spec 'room:lobby))
+  (run-demo game-spec 'room:lobby #:repl-server #t))