-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Command parser extension suggestions #85
Comments
Omikhleia
added a commit
to Omikhleia/room.js
that referenced
this issue
Aug 18, 2016
- For the former, supports singularizers ('any', 'a', 'an' and ordinal rank). The 'all' globalizer is parsed, but currently object matching logic still returns 'ambiguous' as before. - For the latter, working simplest hook solution at this stage, without much refactoring. - DOC and DEMO updated accordingly
Omikhleia
added a commit
to Omikhleia/room.js
that referenced
this issue
Aug 22, 2016
…al check is not sufficient)
Omikhleia
added a commit
to Omikhleia/room.js
that referenced
this issue
Sep 4, 2016
- For the former, supports singularizers ('any', 'a', 'an' and ordinal rank). The 'all' globalizer is parsed, but currently object matching logic still returns 'ambiguous' as before. - For the latter, working simplest hook solution at this stage, without much refactoring. - DOC and DEMO updated accordingly
Omikhleia
added a commit
to Omikhleia/room.js
that referenced
this issue
Sep 4, 2016
…al check is not sufficient)
I agree and you've implemented the first version of it, so closing this issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Say we have several object going by the same name and same aliases, so no way for distinguishing them, e.g. let's clone a dozen of bottles of beer ;)
The look-up functions in world-object-class-builder.js will return ambiguous:
Suggestion:
I'd eventually like to tackle with this issue by supporting qualifiers:
get 2.bottle
orget bottle 2
, specifying the index of the object (within the appropriate container)get all
andget all bottle
The latter would likely require a "many" keyword for verbs, in that case expanding to an array of items.
"any" may have to remain anyway, since things such as
unlock chest with all key
might not be acceptable (depending on the game, so that's a user decision).Or do you have any other idea in mind?
The text was updated successfully, but these errors were encountered: