Synonyms for commands

Hello, all:

I can’t figure out how to make synonyms for built-in commands. The most-recent iteration of what I am trying:

understand "talk to [someone] about [something]" as asking it something.

Is there a way that I can make talking to [someone] about [something] as asking [someone] about [something]?

Hi Matt,

Definitely you can!

The action you are referring to is the asking it about action in the Standard Rules:

Actions (ganelson.github.io)

Asking it about is an action applying to one thing and one topic.

Then there is an understand statement which maps player input to this action (the Command Grammar):

Command Grammar (ganelson.github.io)

Understand "ask [someone] about [text]" as asking it about.

So you can create your own Understand statement in a similar vein:

Understand "talk to [someone] about [text]" as asking it about.

The above is the official documentation. A nice alternative is the single-page Standard Rules created by Zed (makes it pretty easy to do a search for the things I am looking for):

https://zedlopez.github.io/standard_rules

Hope this helps!

1 Like

Thank you. I had tried it about five different ways, but not yours!

1 Like