Commit Graph

23 Commits

Author SHA1 Message Date
Lars Müller
833ed77620
Validate & sanitize formspec fields (#3022) 2023-04-08 18:13:45 +02:00
Lars Müller
f49707c973
Minor creative UI fixes (#3023) 2023-04-04 11:43:59 +02:00
Montandalar
1309953da6 Fix the creative trash slot for player 'trash'
By using the inventory named just 'trash' instead of 'creative_trash'
which overlaps when you name your player 'trash'.
2021-10-23 14:37:30 +02:00
Maksim
e6aec880de
Use Minetest 5.3 'minetest.is_creative_enabled' API (#2795) 2020-12-13 18:59:19 +01:00
sfan5
b1ab8d5123
Implement searching for translated names in creative inventory (#2675) 2020-06-05 14:29:34 +02:00
sfan5
545ec0741c Fix creative category sorting in certain cases 2020-04-08 17:25:09 +02:00
An0n3m0us
05fad37b3c
Sort items into correct categories (#2612) 2020-04-06 15:15:50 +02:00
SmallJoker
fe9cdba0ec
Creative: Skip redundant refreshes, fix reset button (#2611)
Skips redundant calls to creative.update_creative_inventory and fixes the 'Reset' button which double-refreshed the filter cache.
2020-03-02 21:41:42 +01:00
Andrey2470T
2f6d0bf267 Add 4th item row to creative inventory. Align search, trash, page navigation 2019-11-23 21:35:02 +00:00
sfan5
f9a9e87af6
Improve creative inventory search (#2523) 2019-10-22 22:46:19 +02:00
sfan5
b4c7522248
Fix more translation strings (#2487) 2019-09-18 20:38:27 +02:00
Yves Quemener
bb9279ccb8 Add support for MT 5 game translation (rebasing ) (#2466)
rebased #2368
2019-09-10 19:09:51 +02:00
bell07
5b1d5819e5 Unify hotbar formspec for sfinv and creative
sfinv: Add lists above the content to support listrings in content.
Reuse sfinv inventory lists for creative.
2019-07-10 21:55:35 +01:00
Paramat
8af8dc49a0
Remove uses of default.gui_bg/bg_img/slots
Keep their definitions, to not break mods, but move them to legacy.lua.
2019-01-03 01:57:13 +00:00
Diego Martínez
5b57815af1 creative: Add missing tooltips. 2017-12-22 22:57:24 +01:00
Diego Martínez
dfe74948e2 creative: Use icons for buttons. 2017-12-22 22:57:24 +01:00
SmallJoker
47d6fbf884 Creative: Cache inventory items on load 2017-10-23 04:37:10 +01:00
SmallJoker
a1d35f3d69 Creative: Prevent unauthorized item access (#1840) 2017-07-22 20:16:25 +02:00
sfan5
b25317fc64 Remove set_inventory_formspec in default, remove delay in sfinv 2017-05-18 09:54:18 +01:00
rubenwardy
bee5b316a8 Creative: Add creative.is_enabled_for 2017-01-26 17:54:45 +00:00
rubenwardy
0ff09e018d Add sfinv.get_homepage_name(player)
Also sets creative:all as default inventory page
Fixes #1423
2016-12-05 01:39:50 +00:00
sfan5
04f045158f Avoid "leaking" creative inventories to other players 2016-11-28 13:43:02 +01:00
rubenwardy
d42ae715b8 Sfinv: Add sfinv to allow tabs to be added to the inventory 2016-11-27 03:27:12 +00:00