Skip to content
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

Merged
merged 9 commits into from
Jan 27, 2024
Merged

Conversation

wixoaGit
Copy link
Member

@wixoaGit wixoaGit commented Jan 23, 2024

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 for set src = ....

Things still left to do:

  • set src = ...
  • in list() arguments
  • default_verb_category
  • Other things probably

image
Wow I can rotate a chair without pressing alt

image
image
Wow I can flip a table

image
Wow I can pick up a specific shard from this huge pile of shards

Wow I can close #245

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
Copy link

This pull request has conflicts, please resolve those before we can evaluate the pull request.

Copy link

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
@Hinaichigo
Copy link
Contributor

Would allowing #1077 be in the scope of this?

@wixoaGit
Copy link
Member Author

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.

@wixoaGit wixoaGit enabled auto-merge (squash) January 27, 2024 22:49
@wixoaGit wixoaGit merged commit fe6c1a8 into OpenDreamProject:master Jan 27, 2024
7 checks passed
@wixoaGit wixoaGit deleted the verb_rework branch January 28, 2024 00:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RMB context menu isn't implemented
2 participants