benprime / crucible-mud

A massively multiplayer text game.
17 stars 0 forks source link

Autocomplete on mob names with spaces #126

Closed benprime closed 6 years ago

benprime commented 6 years ago

Autocomplete on mob names with spaces should take into consideration each word.

Mob: "Enchanted sparring dummy" These should work:

a en
a sp
a dum

For other creatures, we are using multiple properties for autocomplete. For example "big kobold sentry" is the " " Since these are all separate properties, the autocomplete for mobs is set to autocomplete on ['adjective', 'name', 'class']

For simple mobs, like the enchanted dummy, it is less complicated. The displayName simply has spaces in it. Perhaps any property that is used for autocomplete should split the value on spaces and consider each word.

benprime commented 6 years ago

completed and in develop.