i would like to see a rechargeable battery in a future version of tpt.
And since the code is already finished for it, i might actualy get higher chances that you guys include it in tpt.
Code for RBTY:https://www.dropbox.com/s/gwxokcpg43gxhtc/RBTY.cpp
I know this has been suggested already.... but i am just trying and since the code is already done....
There's some issues with that code. Specifically that it can be charged and discharged at the same time. For example:
pscn rbty metl
would make it unable to charge at all and it would just act as a passive conductor. You need to have it not able to discharge while being charged.
EDIT: It will charge in that situation, but slower and it does discharge at the same time.