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

Issues with armor suffixes #689

Open
Klaranth opened this issue Aug 15, 2021 · 0 comments
Open

Issues with armor suffixes #689

Klaranth opened this issue Aug 15, 2021 · 0 comments
Labels
bug 🐛 Something isn't working

Comments

@Klaranth
Copy link

Huhhila ; AceRichman

Handle _boots (etc) suffix for spacesuit (and moderator armor?) more gracefully than has been done for lavastuff gear, been getting enough lavastuff_boots.png spam...
(Specifically referring to register_alias in minetest-mods/lavastuff@d9b5171 being insufficient for handling existing items in bags etc)

Might need to read register_armor implementation, both "old" and "new" versions given that the commit was "Update to work with newer 3d_armor"
Although unified_inventory/bags.lua containing "dirty_meta" may be related too.

Textures are "assembled" at: https://github.com/minetest-mods/3d_armor/blob/8dcbc42525360d0037fe6ec3f56f0d12656d45e6/3d_armor/api.lua#L419-L427
Best guess is that somehow the item names are still the old ones, and that's why it's trying to use the old textures

Huhhila
Have both old (was in bag) and new (was equiped) shield with me atm. Mithril chest agrees: "items":{{"metadata":"","count":1,"name":"lavastuff:shield","meta":{},"wear":0}}}

@OgelGames OgelGames transferred this issue from pandorabox-io/in-game Sep 15, 2021
@OgelGames OgelGames added the bug 🐛 Something isn't working label Sep 15, 2021
@OgelGames OgelGames changed the title Improve handling _boots (etc) suffix for spacesuit and moderator armor Issues with armor suffixes Sep 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants