Show empty wear bar when tool needs charging
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 23
- Forks
- 33
- PR merge metrics
- No merged PRs in 30d
Description
From the pandorabox #ideas channel:
FeXoR
Always make the charge state of an item visible e.g. by showing a black bar instead of transparance as background
(To comunicate more clearly to the player that this item is empty and needs charging)
SX
Maybe also some simple nice generic sounds if/when trying to use power tool without enough charge.
In addition to showing the wear bar after being used, I think it would also be a good idea to show it on newly crafted tools. This could be done with minetest.register_on_craft, or by adding the metadata to the item in each craft recipe.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the code that displays tool wear bars and the handling for newly crafted tools. Check the minetest.register_on_craft entry point mentioned in the issue, then verify that newly crafted and empty power tools show an empty bar and that existing wear-bar behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- game-dev
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100