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

[Cataclsym] - Wiring & Logic System #47

Open
LambdaSix opened this issue Feb 20, 2019 · 0 comments
Open

[Cataclsym] - Wiring & Logic System #47

LambdaSix opened this issue Feb 20, 2019 · 0 comments

Comments

@LambdaSix
Copy link
Owner

Summary

Implement an API framework for connecting appropriately configured entities via a wiring network.

Intent

Aside from the obvious notion of transferring energy between furniture entities to create localised power networks, the API should be a more general method of transferring data between connected entities.

Power networks are a specialised sub-type of data transfer, where the data is a current charge level available to the network, which consumers reporting back their consumption level, providers are responsible for tracking consumption across the network and either reducing their internal charge level (Batteries) or instituting a max request level (variable generators) - cables are either assumed to be heavy duty or unable to suffer short circuits.

This also provides the base level API for logic networks, where the data transfer is a 32bit encoded mask or logic signal construct. This also allows for things like gates where the gate pulley is connected to the gate and issues a data signal indicating the gate should open.

Once the initial framework for connections and data transfer is in place, adding specialised items for doing logic operations on network contents would be the next step.

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

No branches or pull requests

1 participant