X-Git-Url: https://jxself.org/git/?p=mudsync.git;a=blobdiff_plain;f=mudsync%2Fplayer.scm;fp=mudsync%2Fplayer.scm;h=a0caf239940198eb80808925ae652b00d295caa2;hp=1063955b6d4ba56371d82b5952ca84943d7d3991;hb=ed1ef3172af4c2621e2b746824b7defa6f0dcedd;hpb=e6bd5ce0dd5edd77d182f70e6a32101e999f8623 diff --git a/mudsync/player.scm b/mudsync/player.scm index 1063955..a0caf23 100644 --- a/mudsync/player.scm +++ b/mudsync/player.scm @@ -103,7 +103,7 @@ (define inv-names (map (lambda (inv-item) - (msg-val (<-wait inv-item 'get-name))) + (mbody-val (<-wait inv-item 'get-name))) (gameobj-occupants player))) (define text-to-show (if (eq? inv-names '()) @@ -133,7 +133,7 @@ ;; Ask the room for its commands (define room-commands ;; TODO: Map room id and sort - (msg-receive (_ #:key commands) + (mbody-receive (_ #:key commands) (<-wait player-loc 'get-container-commands #:verb verb) commands)) @@ -142,7 +142,7 @@ (define co-occupants (remove (lambda (x) (equal? x (actor-id player))) - (msg-receive (_ #:key occupants) + (mbody-receive (_ #:key occupants) (<-wait player-loc 'get-occupants) occupants))) @@ -155,7 +155,7 @@ (define co-occupant-commands (fold (lambda (co-occupant prev) - (msg-receive (_ #:key commands goes-by) + (mbody-receive (_ #:key commands goes-by) (<-wait co-occupant 'get-commands #:verb verb) (append @@ -180,7 +180,7 @@ (define inv-item-commands (fold (lambda (inv-item prev) - (msg-receive (_ #:key commands goes-by) + (mbody-receive (_ #:key commands goes-by) (<-wait inv-item 'get-contained-commands #:verb verb) (append