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

Source Capability + DominionWand radial menu for mode select #1415

Merged
merged 4 commits into from
Sep 22, 2024

Conversation

Alexthw46
Copy link
Contributor

@Alexthw46 Alexthw46 commented Sep 15, 2024

Add methods with simulated operation to ISourceTile.
Redirect AbstractSourceMachine methods to internal SourceStorage implementation of ISourceCap, using setSource will still operate directly on the internal variable and sync the new value to the capability (while the capability will sync back the new value to the tile after each operation)
Add capability check to previous ISourceTile checks.
Little cleanup and removal of deprecated initializeClient.
Moved dominion wand mode toggle from shift-use to radial menu to avoid unwanted triggering due to client/server desyncs.

Check ISourceCap and SourceStorage for details, based off Forge's EnergyStorage cap.

@baileyholl baileyholl merged commit d8e1e7d into baileyholl:main Sep 22, 2024
@Alexthw46 Alexthw46 deleted the SourceCapability branch September 23, 2024 09:12
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.

2 participants