mirror of
https://github.com/minetest-mods/unified_inventory.git
synced 2024-08-20 05:14:09 +02:00
The refill slot was only putting as many items as possible in a stack, which does nothing for tools. Tools could benefit from repair, recharging, or other behaviour depending on the type of tool. Change the default refill behaviour to repair mechanical wear as well as fully stacking. Because other kinds of refill will require knowledge of the metadata format, they can't be directly handled here. So add an on_refill hook, that tool definitions can supply to plug in appropriate behaviour. |
||
---|---|---|
sounds | ||
textures | ||
.gitignore | ||
api.lua | ||
bags.lua | ||
callbacks.lua | ||
depends.txt | ||
init.lua | ||
internal.lua | ||
README.md | ||
register.lua |
Unified inventory
Unified Inventory replaces the default survival and creative inventory. It adds a nicer interface and a number of features, such as a crafting guide.
License
Copyright (C) 2012-2014 Maciej Kasatkin (RealBadAngel)
Unified inventory code is licensed under the GNU LGPLv2+.
Licenses for textures:
VanessaE: (WTFPL)
- ui_group.png
RealBadAngel: (WTFPL)
- Everything else.