mirror of
https://github.com/minetest-mods/unified_inventory.git
synced 2024-12-29 04:00:24 +01:00
An extensible inventory mod which allows searching crafting and browsing for recipes in the same dialogue.
https://content.minetest.net/packages/RealBadAngel/unified_inventory/
167dddaa84
I recreated the original layout as best as practical, but by necessity there are a few minor positioning changes, since the underlying hard-wired inventory slots are square now and image positioning is now scaled by exactly 1.250 in both dimensions (as opposed to roughly 1.25 by 1.16). Backstage, I also needed to fix the aspect ratios of the various inventory slot elements. That meant redesigning the single-slot image from scratch. It was already blurry/grainy and a little ugly, and trying to alter it would have only made it worse. The slot image is now exactly 56x56 pixels square, set on a 64x64 canvas, so there's a 4 pixel empty space around the edges. The full 256px .xcf workfile is included in the UI folder. I've re-tiled all slot/inv images from the new single slot. I also re-rendered the trash can icon from it since it was blurry and oddly-sized. I couldn't find the original upstream image, so since they're free, I used one of my Linux system's icons which happens to resemble it. I also removed a couple more improper uses of `background[]` where `image[]` is more appropriate. There are tons of minor tweaks throughout the code to re-align everything, and I had to rewrite a few sections to avoid code duplication and to allow for a little more flexibility (mainly to make "lite" mode look right). |
||
---|---|---|
.github/workflows | ||
doc | ||
locale | ||
sounds | ||
textures | ||
.gitignore | ||
.luacheckrc | ||
api.lua | ||
bags.lua | ||
callbacks.lua | ||
group.lua | ||
image_credits.txt | ||
init.lua | ||
internal.lua | ||
item_names.lua | ||
LICENSE.txt | ||
match_craft.lua | ||
mod.conf | ||
README.md | ||
register.lua | ||
screenshot.png | ||
settingtypes.txt | ||
unified inventory single slot 256px with trash.xcf | ||
waypoints.lua |
Unified Inventory
Unified Inventory replaces the default survival and creative inventory.
Features
- Node, item and tool browser
- Crafting guide
- Can copy the recipe to the crafting grid
- Recipe search function by ingredients
- Up to four bags with up to 24 slots each
- Home function to teleport
- Trash slot
- Lite mode: reduces the item browser width
minetest.conf
settingunified_inventory_lite = true
- Mod API for modders: see mod_api.txt
- Setting-determinated features: see settingtypes.txt
Requirements
- Minetest 5.0.0+
Licenses
Copyright (C) 2012-2014 Maciej Kasatkin (RealBadAngel)
Copyright (C) 2012-? Various minetest-mods contributors
Code
GNU LGPLv2+, see license notice
Textures
VanessaE: (CC-BY-4.0)
ui_group.png
Tango Project: (Public Domain, CC-BY-4.0)
ui_reset_icon.png
ui_doubleleft_icon.png
ui_doubleright_icon.png
ui_left_icon.png
/ui_right_icon.png
ui_skip_backward_icon.png
ui_skip_forward_icon.png
From http://www.clker.com (Public Domain, CC-BY-4.0):
bags_small.png
bags_medium.png
bags_large.png
/ui_bags_icon.png
ui_trash_icon.png
: http://www.clker.com/clipart-29090.html and http://www.clker.com/clipart-trash.htmlui_search_icon.png
ui_off_icon.png
/ui_on_icon.png
ui_waypoints_icon.png
ui_circular_arrows_icon.png
ui_pencil_icon.pnc
ui_waypoint_set_icon.png
Everaldo Coelho (YellowIcon) (LGPL v2.1+):
Gregory H. Revera: (CC-BY-SA 3.0)
Thomas Bresson: (CC-BY 3.0)
Fibonacci: (Public domain, CC-BY 4.0)
Gregory Maxwell: (Public domain, CC-BY 4.0)
Adrien Facélina: (LGPL v2.1+)
Other files from Wikimedia Commons:
RealBadAngel: (CC-BY-4.0)
- Everything else.