Commit Graph

320 Commits

Author SHA1 Message Date
a977ec47fd Merge remote-tracking branch 'upstream/master' 2022-08-26 15:24:41 +02:00
182ab493c3 Update CN translation 2022-07-29 21:42:59 +02:00
8c56e27c94 Merge remote-tracking branch 'github/master' 2022-05-27 18:54:23 +02:00
14da1a3dd0 Fix reverse item lookup ("usage") broken by 5ac2558
> return { specname }

This returned a number-indexed table whereas the code expects a name-indexed table
2022-04-22 22:01:15 +02:00
fa079c31b6 Obligatory screenshot update 2022-04-11 20:11:31 +02:00
c1fef26c87 Fix error caused by slow starts and mod dependencies 2022-04-11 19:42:06 +02:00
477acd2f89 Change background to rounded corners (#200)
This change is supposed to match the rounded inventory slot design.
2022-04-03 22:30:21 +02:00
19efce45ed Revert "Remove mod name from tooltips"
This reverts commit 64b0248c77.

The mod name may differ from the item name, in which cases it is
helpful to have this information contained in the tooltip.
No information is shown in case the mod name is missing.
2022-03-20 13:45:59 +01:00
6da71e1819 Merge remote-tracking branch 'upstream/master' 2022-03-05 11:37:32 +01:00
dbe06be68b Add scroll bar for overflowing tab buttons (#195) 2022-02-26 11:41:15 +01:00
3074d625e2 Version 4: Feature checks and deprecate internal functions 2022-02-26 11:38:45 +01:00
5ac2558da4 Speed up group filtering code
This improves the startup time dramatically by lowering the algorithm complexity.
Mainly noticeable with large inventory sizes.

Written by Test_User, post-edited by SmallJoker
2022-02-26 11:03:21 +01:00
25c40fea6c Fix filter reset for empty search boxes 2022-01-24 15:20:57 +01:00
23a45b8131 Only update formspec on search filter changes 2022-01-23 18:15:17 +01:00
9649c0ed0e Merge remote-tracking branch 'github/master' 2022-01-22 20:08:35 +01:00
d6688872c8 Fix two occasional runtime errors (#191) 2021-12-25 17:31:18 +01:00
4633a276a2 Merge remote-tracking branch 'upstream/master' 2021-12-17 18:16:48 +01:00
64b0248c77 Remove mod name from tooltips
Requested in #190. The mod name is not relevant for most players, and the full item name can still be seen in the craft recipe viewer mode.
2021-12-11 17:15:58 +01:00
1ac54a017d Merge remote-tracking branch 'github/master' 2021-11-26 21:45:26 +01:00
28a5d4db49 Show wear and description in crafting guide (#189) 2021-11-21 19:42:54 +01:00
4c4fb3ba88 Merge remote-tracking branch 'github/master' 2021-11-01 10:43:50 +01:00
8c84751ff8 Add u_i initialization and craft registration callbacks (#184)
Main purpose: custom recipe sorting provided by cuszom mods.
2021-10-14 18:38:07 +02:00
9d66a21271 Merge remote-tracking branch 'upstream/master' 2021-08-31 20:12:45 +02:00
b1c85a2cb8 Fix waypoint initialization order 2021-08-29 07:47:32 +02:00
3fffa41eaf Remove unused internal functions 2021-08-24 19:44:36 +02:00
077bed90eb Move default inventory draw calls to separate functions 2021-08-14 15:25:55 +02:00
15a84bdbf4 Merge remote-tracking branch 'upstream/master' 2021-07-24 13:14:48 +02:00
6d123da61c Update translation strings 2021-07-20 20:41:23 +02:00
d39dd78cb5 Use player meta for waypoints 2021-07-20 20:41:23 +02:00
838c67ae86 Merge remote-tracking branch 'upstream/master' 2021-07-17 20:48:14 +02:00
aeb9841e3a Remove default hard dependency for use in devtest 2021-07-17 10:35:39 +02:00
132a362f85 Merge remote-tracking branch 'upstream/master' 2021-06-20 17:33:07 +02:00
afd38e0c73 Fix LuaCheck warning (#175) 2021-05-25 19:31:34 +02:00
4d4355a741 Home: Fix error on missing write permission 2021-05-13 15:19:46 +02:00
03b077cd1b Merge remote-tracking branch 'upstream/master' 2021-04-08 13:39:49 +02:00
6e6383f082 Add filter-by-category functionality (#171)
- Added API for configuring categories
- Added display for categories above page
- Reduced height of page by 1 row to make room for categories
- Added L/R scroll through when there are more categories than columns
- Added pre-filter methods for categories and uncategorised items
- Added categories for (most) items in the default game


Co-authored-by: Oversword <bionc:oversword.co.uk>
2021-04-05 20:07:14 +02:00
829b38c6fc Merge remote-tracking branch 'upstream/master' 2021-04-04 21:05:40 +02:00
860371ecf8 more consistent formspec size decision 2021-03-31 00:52:30 -04:00
70fdb8556b Merge remote-tracking branch 'upstream/master' 2021-03-12 12:01:23 +01:00
c044f5e3b0 use the trash slot icon's alpha instead of [combine
also it's supposed to be 128px, not 256px.  fixed that.
2021-03-10 21:20:31 -05:00
608cdfb887 fix refill slot list[] offset also 2021-03-10 12:32:55 -05:00
afb295ec22 fix trash slot list[] offset
(only noticable when listcolors[] allows slots to be visible,
i.e. on mouseover)
2021-03-10 12:26:28 -05:00
a84ce24067 use the ui.list_img_offset variable for offsetting the std inv list[]
so that it'll match every other list that uses it.
2021-03-09 18:31:16 -05:00
a7556c5044 update minimum MT version number version-2 2021-03-09 15:09:46 -05:00
3d58befe03 Document the API version 2021-03-09 15:04:11 -05:00
d0deba10c8 pngcrush+optipng the new slot textures
and remove the slot image .xcf project file
2021-03-09 15:04:11 -05:00
97b882ad23 add a version number variable to the main table 2021-03-09 15:04:11 -05:00
44e32df00a translate some strings inside their table 2021-03-09 15:04:11 -05:00
40d862298b replace excessive spaces with tabs 2021-03-09 15:04:11 -05:00
0ebc9402ed minor tweaks to the slot images
to make them better-resemble their pre-9-sliced versions
(going to that mode made them slightly bigger and the corners
slightly less round since they aren't blurry anymore)
2021-03-09 15:04:11 -05:00