-
Notifications
You must be signed in to change notification settings - Fork 113
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
Complete rework of verbs #1633
Complete rework of verbs #1633
Conversation
A list of all verbs are now sent to the client It is up to the client to decide what verbs should be executable and displayed to the user (with server verification Coming Soon) Client is responsible to collecting/parsing verb arguments before asking the server to execute it
Verbs rely on an entity system now, which our unit tests don't initialize
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
# Conflicts: # OpenDreamClient/Interface/DreamInterfaceManager.cs # OpenDreamRuntime/DreamConnection.cs # OpenDreamShared/Network/Messages/MsgPrompt.cs
Would allowing #1077 be in the scope of this? |
I'm not going to do anything further in this PR, it's fairly large as it is. I can do it in my next verb-related PR though which will be soon after. |
A lot of preliminary work for more complete verb support (and some postliminary work as well).
A list of all verbs are now sent to the client, and it is up to the client to decide what verbs should be executable and displayed to the user. Using this I also added support for executing verbs by right-clicking a target and selecting a verb that applies to it. Right now "verb that applies to it" only means something in its
verbs
list because I haven't added support forset src = ...
.Things still left to do:
set src = ...
in list()
argumentsdefault_verb_category
Wow I can rotate a chair without pressing alt
Wow I can flip a table
Wow I can pick up a specific shard from this huge pile of shards
Wow I can close #245