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

API Feature Inquiry: Essence Type #385

Closed
Malexion opened this issue Jan 31, 2014 · 3 comments
Closed

API Feature Inquiry: Essence Type #385

Malexion opened this issue Jan 31, 2014 · 3 comments

Comments

@Malexion
Copy link
Contributor

With the power system rewrite I know you may be busy but there is something that I was curious if it would be too much of a stretch to add to the API following along the lines of the power rewrite.

  • Ability to add new essence power types which could still be compatible with current machines and devices as well as any I wish to add, perhaps a way to restrict device activation based on power type, IE one machine can only work on light, dark, fire, water whatever the case may be.

If this is a feature is currently possible, I apologize I haven't looked too much in depth with the current API.

@Mithion
Copy link
Owner

Mithion commented Jan 31, 2014

That's not currently possible, but not out of the realm of possibility. Since the power system is being rewritten anyways, now is the time to ask!

Machines with the new power system can specify what kinds of power they will run on (or a generic ANY), meaning they won't even accept invalid power types. Then building upon that, they can specify additional functionality based on the power type they are currently using (the power system will just pass along whatever you ask it for, providing a source is available - what you do with it from there is up to you).

@Malexion
Copy link
Contributor Author

Malexion commented Feb 1, 2014

Excellent!

@Mithion
Copy link
Owner

Mithion commented Jun 5, 2014

Added to 1.2

@Mithion Mithion closed this as completed Jun 5, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants