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

"Plugin" consumables #68

Open
jasny opened this issue Jul 13, 2023 · 1 comment
Open

"Plugin" consumables #68

jasny opened this issue Jul 13, 2023 · 1 comment

Comments

@jasny
Copy link
Member

jasny commented Jul 13, 2023

Currently, any changes that a consumable can trigger already need to be part of the consumer. Making the package content of a consumed ownable available for the consumer allows for plugins.

With the robot example; it shouldn't be necessary that the code for antenna, speaker, and armor is already part of the robot contract. Instead, it should keep track of a list of plugins. Each plugin Ownable should contain a piece of javascript intended for the widget. For instance, to draw the antenna. The robot should load the plugin js for every consume ownable in order of consumption.

@trainerbill
Copy link

I want to be able to move an image from the consumed to the consumer

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

2 participants