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

[Suggestion] Generify "items" travelling through pipes for addon purposes #161

Open
Quarris opened this issue Oct 20, 2022 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@Quarris
Copy link
Contributor

Quarris commented Oct 20, 2022

please it make addons ez mode

@Ellpeck Ellpeck added the enhancement New feature or request label Oct 20, 2022
@Ellpeck
Copy link
Owner

Ellpeck commented Oct 21, 2022

Note to self: My current idea is to expand the TYPES registry to PipeItemType, which allows constructing and loading PipeItem instances like now, but also allows adding additional capabilities, checks, and abilities to pipes and pipe networks by iterating each registered pipe item type when checking for abilities. I'd also like to get rid of IPipeItem and turn PipeItem into an abstract class that shares all important values like position, path compiling, and start and goal inventory caches.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants