Slimefun

Slimefun

3M Downloads

Adding rechargeable batteries

TheBusyBiscuit opened this issue ยท 3 comments

commented

This Issue is part of Hacktoberfest - A yearly event which encourages participation in the open-source community. Sign up on their website and submit four pull requests during october (Oct 1st - Oct 31st) to any public open-source project on GitHub and earn a limited-edition T-shirt or plant a tree!

๐Ÿ”Ž Scope

The following bullet points explain what the scope of this feature should be.
It should give a general idea of what we want, you can of course deviate from this as needed.

  • A new Item that is Rechargeable called Rechargeable Battery
  • A new "Generator" that de-charges rechargeable batteries

โš“ Difficulty

Here is our honest estimate on how difficult (on a scale of 1-5) the implementation may be:

๐Ÿ”ต๐Ÿ”ต๐Ÿ”ต๐Ÿ”ตโšช

๐Ÿšง Technical Challenges

These are some challenges which may need to be overcome, we wanna be as transparent as possible, so here is some guidance on what may present itself as an obstacle.

  • You would need to create a new "Generator" which can de-charge these batteries
  • You may also need to add a higher tier Carging Bench since the current one might be far too slow for such a use case

๐Ÿ“ Relevant Classes or Snippets

Here are some classes or code snippets which we think might help you get a better understanding where to look for in this gigantic codebase

๐Ÿ“– Useful Resources

If you need help on how to get started, maybe try looking into the following resources!


If you want to work on this, simply comment down below and state your interests! Please also comment again if you have changed your mind. Anyone is allowed to discuss in the comments below, feel free to collaborate and work together โค๏ธ

You can always ask for help here if you get stuck.

commented

TheBusyBiscuit told me that the Powered Crystal is based of IC2
in IC2 its called Energy Crystal and that Item Stores 100k EU that would mean it can store 1mil Joules. I would say that's a bit much for base Slimefun but the person who adds this can probably think of a correct number

commented

The Power Crystal is a crafting ingredient, I don't think it should store any energy and changing that would be out of scope for this issue.

commented

Then i take my suggestion back