Nils Dagsson Moskopp
f975055464
Fix creative mode inventory search crash
...
Before this patch it was possible for any user to to crash Minetest in
creative mode. This was possible because queries in the search field
were interpreted as search patterns for string.find().
A search for a single square bracket would reliably crash the server.
Also, a search for 6000 times the string “a?” would hang the server.
The solution to both bugs is to not interpret the query as a pattern.
2022-01-21 23:31:25 +01:00
Elias Åström
4b4d40f158
Use register_on_mods_loaded in mcl_inventory
...
This removes the need to include _mcl_autogroup as a dependency for
mcl_inventory (which should be avoided) and decreases the likelihood
that the code used for populating item tables is executed before all
other mods are loaded.
2021-05-23 20:35:10 +02:00
Elias Fleckenstein
51ace85d4e
Enable 3D player preview by default now that MT 5.4 is released
2021-02-25 09:52:08 +01:00
Elias Fleckenstein
7932f4e470
Disable 3D player preview by default
2021-02-10 18:30:58 +01:00
Elias Fleckenstein
b36db2044f
3D Player preview in inventory
2021-02-08 20:13:08 +01:00
Elias Fleckenstein
02305c914d
Merge branch 'enchanted_books_creative'
2021-01-18 20:08:37 +01:00
Elias Fleckenstein
8ef14dd81f
Fix #872
2021-01-05 17:23:24 +01:00
Elias Fleckenstein
5939baee52
Enchanted books in creative inventory
2021-01-04 13:02:55 +01:00
Wuzzy
c106a62979
Use minetest.is_creative_enabled
2020-07-10 16:45:40 +02:00
Wuzzy
6ba537a096
Merge branch 'translated_creative_search'
2020-07-10 14:03:52 +02:00
Brandon
1d471c52df
Remove potion effects by drinking milk.
2020-06-28 12:16:07 -04:00
Brandon
44ee9cde86
Add potions/brewing to creative inventory
2020-06-28 09:38:06 -04:00
Wuzzy
98988b1636
Fix creative search not take transl. into account
2020-04-25 14:31:01 +02:00
Wuzzy
7243a25fe6
Generate item slot images on the fly
2020-03-24 18:48:14 +01:00
Wuzzy
6761ebdae5
Fix shading of lower tabs in Creative inv.
2020-03-10 06:38:53 +01:00
Wuzzy
1e5f3ee610
Creative: Replace fake slider with page buttons
2020-03-10 06:11:49 +01:00
Wuzzy
03ad3cca29
Major default formspec style update
...
- Uses formspec_prepend to set e.g. button style
- Make all formspecs use the MCL2 style consistently
2020-03-10 05:01:49 +01:00
Wuzzy
0e867e5247
Fix creative tab styling for future MT 5.2.0
2020-03-10 00:15:54 +01:00
Wuzzy
fb251db925
Rename mod: 3d_armor → mcl_armor
2020-02-18 15:44:54 +01:00
Wuzzy
9cef74c03b
Replace GUI image texts with translatable labels
2019-03-16 05:21:27 +01:00
Wuzzy
805fa76282
Inventory: Translate tab captions
2019-03-16 04:04:41 +01:00
Wuzzy
293dd036f8
German translations: HUD
2019-03-14 01:51:52 +01:00
Wuzzy
1cb142ec5f
Fix crasher in mcl_inventory
2019-03-07 22:01:45 +01:00
Wuzzy
0d6610dcee
New translation system, part 3: HUD
2019-03-07 21:36:06 +01:00
Wuzzy
a84f7935fa
Revert "Utilize formspec prepend"
...
This reverts commit ea0c2e9568
.
2019-03-07 12:42:08 +01:00
Wuzzy
5e5dcfaaa3
Tweak scrollbar in creative inventory
2019-03-06 08:40:04 +01:00
Wuzzy
ea0c2e9568
Utilize formspec prepend
2019-03-06 06:35:24 +01:00
Wuzzy
c84656f85a
Add fancy GUI to select skin
2019-03-05 13:50:35 +01:00
Wuzzy
e47bd634d4
Player skins: Update inventory preview (part 2)
2019-03-05 10:30:34 +01:00
Wuzzy
2c5038ad05
Player skins: Adjust inventory preview image, too
2019-03-05 01:50:51 +01:00
Wuzzy
a711c7bdb7
handle_node_drops no longer destroys metadata
2019-03-01 17:30:21 +01:00
Wuzzy
069f3591e2
Add mobs page in creative inventory
2019-02-06 11:31:04 +01:00
Wuzzy
66c99efb2f
Hide "useless" items from creative and craft guide
2019-02-06 10:57:23 +01:00
Wuzzy
fff3eb1ee7
Rename mcl_autogroup to _mcl_autogroup
...
This should fix some autogroup-related issues due to loading order.
2018-05-08 16:43:25 +02:00
Wuzzy
5ca5811bc8
Refactor how the misc creative category works
2018-05-08 15:58:26 +02:00
Wuzzy
dd4008ea73
Add totem of undying into combat category
2018-01-25 22:01:19 +01:00
Wuzzy
05c324748f
Slightly shift search field in Creative inventory
2017-12-11 04:04:32 +01:00
Wuzzy
eed223b3fe
Tweak tab positions in Creative
2017-11-21 23:23:56 +01:00
Wuzzy
620d8a7804
Fix previous creative inventory button not working after death
2017-11-18 09:03:49 +01:00
Wuzzy
e5a34367c9
Use new Minetest settings API syntax for most mods
2017-08-09 16:17:00 +02:00
Wuzzy
ee38a7af9d
Rename mod: bucket to mcl_buckets
2017-08-03 16:36:55 +02:00
Wuzzy
e0212f8d36
Pixel-perfect player image in inventory
2017-07-21 23:23:50 +02:00
Wuzzy
4c1bf8d978
Remove empty crafting_inventory.png
2017-07-08 16:40:09 +02:00
Wuzzy
5de05b404e
Reorganize some GUI-related textures
2017-07-08 16:28:25 +02:00
Wuzzy
9fb0e6ce29
Move horse armor to armor creative tab
2017-07-05 22:19:17 +02:00
Wuzzy
62f755f52a
Remove heads and pumpkin from combat creative tab
2017-06-11 22:20:25 +02:00
Wuzzy
fe090c9a9e
Rename craftguide button
2017-06-08 21:27:44 +02:00
Wuzzy
fcf928540f
Tweak slider height in Creative inventory
2017-06-03 00:33:15 +02:00
Wuzzy
8e58459337
Tweak creative slider positioning
2017-06-03 00:10:37 +02:00
Wuzzy
d5814195d8
Fix invisible scrollbar on first creative inv open
2017-06-02 23:43:39 +02:00