Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Enhancement] Addresses recharging bots with batteries: issue #25 #91

Merged
merged 8 commits into from
May 12, 2024

Conversation

arannya
Copy link
Contributor

@arannya arannya commented May 1, 2024

Added support for charging bots with battery packs.
Call me.useBattery() me.useTool() after selecting a battery in the inventory (me.currentToolIndex) to recharge the bot by 100 energy points.

@JoeStrout
Copy link
Owner

I don't want to add a new API. A battery should be used like any other tool: select it using me.currentToolIndex, and use it by calling me.useTool.

@arannya
Copy link
Contributor Author

arannya commented May 11, 2024

Fixed

@JoeStrout JoeStrout merged commit 142fdf8 into JoeStrout:main May 12, 2024
@JoeStrout JoeStrout deleted the unofficial-battery-recharge branch May 12, 2024 03:02
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants