projects
/
mudsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Injection almost works, you can pass along the appropriate action at least.
[mudsync.git]
/
worlds
/
bricabrac.scm
diff --git
a/worlds/bricabrac.scm
b/worlds/bricabrac.scm
index 3584e87c15dd0376bf91e3b5d16edfbd1936c6fc..5465aa5176705e2d7e51425f353fa8e822ee2257 100644
(file)
--- a/
worlds/bricabrac.scm
+++ b/
worlds/bricabrac.scm
@@
-79,7
+79,8
@@
(define chat-commands
(list
(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))))
(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))
(define game-spec
(append lobby grand-hallway))
+;; TODO: Provide command line args
(define (run-game . args)
(define (run-game . args)
- (run-demo
"/tmp/bricabrac-game.db" game-spec 'room:lobby
))
+ (run-demo
game-spec 'room:lobby #:repl-server #t
))