X-Git-Url: https://jxself.org/git/?p=mudsync.git;a=blobdiff_plain;f=mudsync%2Fcommand.scm;h=8672d35c70e1222116925d7a06ab5f1e065b92b1;hp=23e21dac8f85fc75645cc18620e0613dba0818d9;hb=126d9c593cc4c26082c972741ff69d3b147b7fcd;hpb=b2f9a911ac1663fda4dc3cf18ade3334c01327b2 diff --git a/mudsync/command.scm b/mudsync/command.scm index 23e21da..8672d35 100644 --- a/mudsync/command.scm +++ b/mudsync/command.scm @@ -32,10 +32,10 @@ command-priority direct-command - indir-command - indir-as-direct-command + prep-indir-command + prep-direct-command loose-direct-command - loose-indir-command + loose-prep-command empty-command direct-greedy-command greedy-command @@ -90,7 +90,7 @@ %default-priority)) -(define* (indir-command verbs action #:optional prepositions) +(define* (prep-indir-command verbs action #:optional prepositions) (make-command verbs cmatch-indir-obj (lambda* (goes-by #:key direct-obj indir-obj preposition) @@ -102,7 +102,7 @@ action %high-priority)) -(define* (indir-as-direct-command verbs action #:optional prepositions) +(define* (prep-direct-command verbs action #:optional prepositions) (make-command verbs cmatch-indir-obj (lambda* (goes-by #:key direct-obj indir-obj preposition) @@ -114,7 +114,7 @@ action %high-priority)) -(define* (loose-indir-command verbs action #:optional prepositions) +(define* (loose-prep-command verbs action #:optional prepositions) (make-command verbs cmatch-indir-obj (const #t)