Commit Graph

320 Commits

Author SHA1 Message Date
SmallJoker 4499ae1139 Option to hide uncraftable items
This setting only applies to non-creative players.
2023-12-24 11:54:56 +01:00
SmallJoker 693ca112b8 Add setting to disable waypoints 2023-11-20 17:54:44 +01:00
SmallJoker 380b77d0fb Improve settings descriptions 2023-11-20 17:51:34 +01:00
fmmaks 43c9b50800
Add `unified_inventory_enable_item_names` setting (#235)
Show only names settings: in case of multi-line descriptions, only the first line is shown
Shorten long descriptions: Removes all characters after x index, and add `[...]`
Max length before truncation: x for Shorten long descriptions
Notes: If Max length == 0, then item names won't be displayed
2023-10-15 21:02:35 +02:00
Niklp 5d233a0f0a
Clean itemname before checking existence (#234)
important when the item string contains metadata
2023-07-11 18:12:35 +02:00
Nolt 2426b6c912
Full polish translation (#231) 2023-06-24 08:43:04 +02:00
SmallJoker d6d4bea819 Bags: Prevent error caused by moving the opened bag 2023-06-18 18:48:15 +02:00
SmallJoker 15d729c351 Waypoints: Add teleportation button
This also adds button click sounds and makes use of the teleport sound for consistency.
2023-06-06 19:41:03 +02:00
SmallJoker b2cc3d1532 Fix search not working after page flip 2023-01-27 15:57:28 +01:00
luk3yx 37969b2a1b Make bags support lite mode 2023-01-12 22:16:06 +01:00
SmallJoker 1b074828a6 Document and replace sounds
A few sounds were replaced because I could not find them on freesound.org
2023-01-10 21:27:56 +01:00
SmallJoker de0063835c Purge recipes with invalid ingredients 2023-01-09 17:42:41 +01:00
SmallJoker bda9f2598f Improve group matching for 'copy to craft' 2023-01-09 17:42:41 +01:00
luk3yx b590764026
Centre page number label and move refill/trash labels (#221)
* Centre page number label

* Move refill and trash labels
2023-01-04 14:35:46 +01:00
luk3yx 82cdf24045
Improve scroll height calculation (#220) 2022-12-30 21:43:46 +01:00
fluxionary 31c35dcd59
Remove dependency on farming (#219)
Avoids circular dependencies of 3rd party mods with unified_inventory -> farming -> stairs.
2022-12-12 17:45:53 +01:00
fluxionary 826d5f4683
Add setting to hide disabled buttons (#217) 2022-10-26 10:05:03 +02:00
SmallJoker db1c3c10b8 API doc: use Minetest style 2022-10-05 21:07:41 +02:00
SmallJoker 9533200e25 Tidy and comment filtering functions 2022-10-05 21:07:11 +02:00
SmallJoker 177debd13c Bags: Disallow moving bags into themselves
Previously, the bag and its list would disappear immediately.
2022-09-15 12:53:41 +02:00
SmallJoker 8e9ea34ae8 Elaborate the use of NS() 2022-09-15 10:56:01 +02:00
Thomas--S 574de91971
Craft guide: Add support for colored items (#213) 2022-09-15 10:48:29 +02:00
reusityback fc562ecaa0
Update German translation (#211)
Added categories, waypoint etc. translations updated, inventory trashing button still missing
2022-09-04 18:35:00 +02:00
Worrizit 182ab493c3 Update CN translation 2022-07-29 21:42:59 +02:00
SmallJoker 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
SmallJoker fa079c31b6 Obligatory screenshot update 2022-04-11 20:11:31 +02:00
SmallJoker c1fef26c87 Fix error caused by slow starts and mod dependencies 2022-04-11 19:42:06 +02:00
SmallJoker 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
SmallJoker 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
SmallJoker dbe06be68b
Add scroll bar for overflowing tab buttons (#195) 2022-02-26 11:41:15 +01:00
SmallJoker 3074d625e2 Version 4: Feature checks and deprecate internal functions 2022-02-26 11:38:45 +01:00
James William Fletcher 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
SmallJoker 25c40fea6c Fix filter reset for empty search boxes 2022-01-24 15:20:57 +01:00
SmallJoker 23a45b8131 Only update formspec on search filter changes 2022-01-23 18:15:17 +01:00
Oversword d6688872c8
Fix two occasional runtime errors (#191) 2021-12-25 17:31:18 +01:00
SmallJoker 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
OgelGames 28a5d4db49
Show wear and description in crafting guide (#189) 2021-11-21 19:42:54 +01:00
Oversword 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
SmallJoker b1c85a2cb8 Fix waypoint initialization order 2021-08-29 07:47:32 +02:00
SmallJoker 3fffa41eaf Remove unused internal functions 2021-08-24 19:44:36 +02:00
SmallJoker 077bed90eb Move default inventory draw calls to separate functions 2021-08-14 15:25:55 +02:00
SmallJoker 6d123da61c Update translation strings 2021-07-20 20:41:23 +02:00
SmallJoker d39dd78cb5 Use player meta for waypoints 2021-07-20 20:41:23 +02:00
SmallJoker aeb9841e3a Remove default hard dependency for use in devtest 2021-07-17 10:35:39 +02:00
David Leal afd38e0c73
Fix LuaCheck warning (#175) 2021-05-25 19:31:34 +02:00
SmallJoker 4d4355a741 Home: Fix error on missing write permission 2021-05-13 15:19:46 +02:00
Oversword 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
Vanessa Dannenberg 860371ecf8 more consistent formspec size decision 2021-03-31 00:52:30 -04:00
Vanessa Dannenberg 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
Vanessa Dannenberg 608cdfb887 fix refill slot list[] offset also 2021-03-10 12:32:55 -05:00