Commit Graph

20 Commits

Author SHA1 Message Date
RealBadAngel
002bcbb6d8 Add intllib support.
Some polish and german translations.
Start adding tooltips.
2014-06-21 12:44:31 +02:00
Zefram
87f502a259 Show item usages in craft guide
When the craft guide is showing a craft, the output slot is now a button,
which causes the craft guide to show ways in which that output can be
used.  This mirrors the way input slots are buttons that show recipes
for the selected ingredient.  Usages of an item can be iterated through
in the same way as recipes for the item.  This incidentally offers some
ability to retrace one's steps through a crafting chain, without storing
actual history.
2014-06-13 11:30:09 -03:00
Zefram
a8c8ef0890 Correctly display multi-group ingredients
Extend the representative-item logic to handle ingredients specified
as the intersection of multiple groups.  Also add mangling of item
button content, because comma for a multi-group ingredient is getting
formspec-escaped and then not de-escaped.
2014-06-13 09:28:37 -03:00
Zefram
7f4f0fd225 Use plain substring search in craft guide
The user input was being erroneously treated as a lua regexp.
2014-06-13 04:50:07 -03:00
RealBadAngel
3003b19322 Add sorting inventories function. 2014-05-22 21:24:24 +02:00
Zefram
79320c109c Respect not_in_creative_inventory in group search 2014-05-02 12:21:10 +02:00
Zefram
b0e10d44f4 Tweak display of searching status
When the current search produces no results, give a specific message
rather than "Page 1 of 0".  Don't display the "Filter:" label if no
filtering is currently applied.
2014-04-29 20:08:04 +01:00
Zefram
01297996a6 Preserve player's search string
Keep the current inventory search string when performing inventory
form actions other than searching.  This means the player's input is
not lost if the player breaks off from entering it to switch pages,
or if the player absent-mindedly ends text input with <return>.
2014-04-29 19:36:52 +01:00
Zefram
20cf474886 Fix formspec injection issues 2014-04-29 17:53:43 +01:00
ShadowNinja
26473a8346 Remove trailing whitespace 2014-01-19 13:27:52 -05:00
kaeza
d560bcd6f0 Allow searching for groups.
Also make "group buttons" apply the filter to that group.
2014-01-19 14:35:44 -02:00
ShadowNinja
b69fc35c88 Allow Lua regexs in search, and check for bad ones 2013-12-21 12:26:37 -05:00
ShadowNinja
881cbe70ce Localize a variable 2013-12-18 17:13:54 -05:00
Vanessa Ezekowitz
ee93afd439 Fix incorrect background colors over inventory slots
caused by BlockMen's/kahrl's inventory #hexcolor patch
( 25edae00ea )
2013-11-05 10:46:49 -05:00
RealBadAngel
aec3cb2fc1 Fix textures aligment problems.
Some other tweaks.
2013-10-05 22:48:45 +02:00
ShadowNinja
002e9931ab Fix filter sanitizing 2013-10-03 12:43:05 -04:00
ShadowNinja
04600f64d8 API tweaks 2013-10-02 23:25:07 -04:00
ShadowNinja
ec328d8270 Change craft guide input slots to buttons 2013-10-02 22:23:35 -04:00
ShadowNinja
dcb7f2ec2b Fix offset of buttons 2013-09-28 19:24:43 -04:00
ShadowNinja
f974fd8c2c Update 2013-09-28 18:15:37 -04:00