summaryrefslogtreecommitdiff
path: root/register.lua
AgeCommit message (Collapse)Author
2014-05-02Show group ingredients visually in craft guideZefram
Where a recipe specifies an ingredient by group, show a typical group item pictorially, with a label flag to indicate that it's a group rather than the single item. This is the inverse of the previous arrangement, which identified the group by label and dipicted groupiness pictorially. The new arrangement is easier to interpret, and if the labels are ignored it actually shows a correct input to the crafting grid.
2014-05-02Handle ingredient quantities in craft guideZefram
Alloy cooking recipes have quantities for the ingredients, which need to be shown. The buttons on which the ingredients are shown don't natively support showing an item count, so hack it up with the label facility. Also, the button names, supporting clicking to see recipes recursively, need to be based only on the item name part of the ingredient, dropping the quantity part.
2014-04-30Cleaner display of lack of recipesZefram
When the current craft guide item has no recipes, show the item and a "No recipes" message, but suppress all other recipe UI elements.
2014-04-30Use appropriate grid shape for each craft typeZefram
New system of registration of craft types, recording for each a display description and the appropriate grid shape. Recipes of a registered type are shown in the correct grid. Recipes of unregistered craft types are still displayed as before, using the default 3x3 grid.
2014-04-29Fix formspec injection issuesZefram
2014-01-19Remove trailing whitespaceShadowNinja
2014-01-19Allow searching for groups.kaeza
Also make "group buttons" apply the filter to that group.
2013-12-20Combine some concatenationsShadowNinja
2013-11-05Fix incorrect background colors over inventory slotsVanessa Ezekowitz
caused by BlockMen's/kahrl's inventory #hexcolor patch ( https://github.com/minetest/minetest/commit/25edae00ea1d5a9af4a6599fc7c200bb810fbd49 )
2013-10-21Allow crafting from the craft guide.kaeza
2013-10-05Remove trailing spaceShadowNinja
2013-10-05Fix textures aligment problems.RealBadAngel
Some other tweaks.
2013-10-02API tweaksShadowNinja
2013-10-02Change craft guide input slots to buttonsShadowNinja
2013-09-28UpdateShadowNinja