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

metatools show up in misc category #122

Open
SwissalpS opened this issue Feb 1, 2022 · 2 comments
Open

metatools show up in misc category #122

SwissalpS opened this issue Feb 1, 2022 · 2 comments
Labels
enhancement New feature or request Tool Tool issues

Comments

@SwissalpS
Copy link

When using unified_inventory, Huhhila reported that the tools show up in misc
category and not under tools.
I fixed postool by changing to core.register_tool(). SwissalpS/postool@91bf2d1
Have not tested if this would work as simply for metatools.

minetest.register_craftitem(itemname, {

@SwissalpS
Copy link
Author

this seems to be cleaner approach as registering as tool removes stackability.
https://github.com/SwissalpS/postool/blob/9a12983d7cf79ff0a8afdd96cdc4588f8d34e1bd/tool.lua#L40

@S-S-X
Copy link
Owner

S-S-X commented Feb 17, 2022

Noticed that too when categories were added not so long ago, as other categories seemed to be bit messed up I decided to wait for some time to see if unified inventory comes up with more generic approach for this.

Probably adding that fix at some point if nothing better (something without mod dependency) comes up there.

@S-S-X S-S-X added enhancement New feature or request Tool Tool issues labels Feb 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Tool Tool issues
Projects
None yet
Development

No branches or pull requests

2 participants