mirror of
https://github.com/minetest-mods/unified_inventory.git
synced 2025-07-05 01:40:28 +02:00
4c982dd667828888958116cf13dbd868d374555c
Commit 043f608145
made shaped crafting
recipes display in a grid of the recipe's minimum bounding box,
but broke the use of a fixed 1x1 grid shape for cooking recipes.
This commit generalises the dynamic-grid-shape facility, putting the
craft type registration in charge. This restores the correct shape for
cooking recipes.
Also change the logic for dynamic grid sizes for regular shaped and
shapeless crafting. We'd like to always use a grid shape that is
reminiscent of a regular crafting grid, as a visual cue to the crafting
method. But it's also nice to show smaller recipes in a smaller grid.
In the expectation that crafting grids will always be square, show the
recipe in the smallest square grid that will accommodate it.
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.
Description
An extensible inventory mod which allows searching crafting and browsing for recipes in the same dialogue.
https://content.minetest.net/packages/RealBadAngel/unified_inventory/
Languages
Lua
100%