Commit Graph

204 Commits

Author SHA1 Message Date
the-real-herowl 21c182fc0e Fixed creative.lua invalidating iterator in loop (#4354)
Reviewed-on: VoxeLibre/VoxeLibre#4354
Co-authored-by: the-real-herowl <wiktor_t-i@proton.me>
Co-committed-by: the-real-herowl <wiktor_t-i@proton.me>
2024-06-02 00:33:29 +00:00
the-real-herowl dc35f43bfa Potions registering API fully works with creative 2024-05-22 21:02:24 +02:00
the-real-herowl 6d927ab1a1 Creative inventory using new potions API
-creative inventory utilizes the new potions API
-the new fancy tooltips are used there
2024-05-22 21:02:24 +02:00
teknomunk 6756658ee9 Fix server crash when server restarts after a player dies but they didn't respawn (#4246)
Ensuring that tables storing player data are initialized before being used.

Reviewed-on: MineClone2/MineClone2#4246
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: teknomunk <teknomunk@protonmail.com>
Co-committed-by: teknomunk <teknomunk@protonmail.com>
2024-05-02 03:01:43 +00:00
MysticTempest 57409973b9 Fix creative inv tabs showing item tooltips. 2024-04-17 16:53:59 +07:00
Mikita Wiśniewski 312ad5b63b Fix creative inventory search not working on Android (fixes #3402) 2024-04-17 16:53:59 +07:00
Mikita Wiśniewski 46ed6a6dda Fix switching items in the creative inventory (fixes #3941) 2024-04-17 16:53:59 +07:00
James Clarke aa4d5738c7 Fix Survival Inventory Tab API (#4147)
* restored some old code that had gone missing
* fixed the survival inventory tab API not working
* fixed some grammar

Reviewed-on: MineClone2/MineClone2#4147
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: James David Clarke <james@jamesdavidclarke.com>
Co-committed-by: James David Clarke <james@jamesdavidclarke.com>
2024-01-20 00:42:56 +00:00
JoseDouglas26 a93ce7af1f mcl_inventory pt_BR translation 2023-12-22 23:45:07 +01:00
AFCMS e324a1a74b Make inventory use the util functions 2023-11-25 23:52:04 +00:00
seventeenthShulker 520fd773fb Fix random crash when piston breaks node with no player 2023-11-04 16:01:46 +00:00
Sab Pyrope 5b4a79a26d Update russian translation 2023-08-31 14:16:42 +08:00
AFCMS 2eabeb119a
Fix creative node placement 2023-08-23 21:48:49 +02:00
AFCMS 4f0620c7c1
Fix meshhand not updating correctly 2023-08-19 18:06:31 +02:00
AFCMS 4efb5bf8b9
Make creative inventory page buttons vertical 2023-08-19 18:01:32 +02:00
AFCMS 158ff8e860
Add commented basic scrollbar support to replace pages system 2023-08-19 18:01:32 +02:00
AFCMS e936cede03
Update meshhand 2023-08-19 18:01:32 +02:00
AFCMS df2ab1fd8c
Remove duplicated armor update code 2023-08-19 18:01:32 +02:00
AFCMS dc20267b4f
Update inventory when player visuals change 2023-08-19 18:01:32 +02:00
AFCMS ae632fe773
Fixes in `mcl_inventory`
- Fix (yet another) rebase conflict
- Remove unused code and annotations
- Fix annotations in `mcl_gamemode` to https://github.com/minetest-toolkit/minetest-lsp-api
2023-08-19 18:01:30 +02:00
AFCMS 4db0631133
`mcl_inventory` creative fixes
- Add many comments (I had a really hard time understanding the code)
- Add some more type annotations (https://github.com/minetest-toolkit/minetest-lsp-api)
- Rename non english variable
2023-08-19 18:01:30 +02:00
AFCMS 0e13190ea4
Fix reabse problem with `mcl_inventory` 2023-08-19 18:01:30 +02:00
AFCMS 3bbae86baf
Fix this stupid merge conflict 2023-08-19 18:01:29 +02:00
AFCMS c8620685c0
Move stack size button label lower 2023-08-19 18:01:29 +02:00
AFCMS 7d8a1e1e5f
Fix some merging stuff 2023-08-19 18:01:29 +02:00
AFCMS 4055555ec1
Redo Creative Inventory 2023-08-19 18:01:28 +02:00
AFCMS 5011e12209
mcl_inventory API documentation + fix 2023-08-19 18:01:28 +02:00
AFCMS 1065eb4d8c
Hooper formspec 2023-08-19 18:01:26 +02:00
AFCMS 452cd26558
Reenable creative formspec armor update 2023-08-19 18:01:26 +02:00
AFCMS 9e83e531bd
Make function local 2023-08-19 18:01:26 +02:00
AFCMS 04a58ddd24
Disable test tab 2023-08-19 18:01:26 +02:00
AFCMS fbb51835b3
survival inventory tabs API + mcl_gamemode 2023-08-19 18:01:26 +02:00
AFCMS fb79465052
Fixes 2023-08-19 18:01:26 +02:00
AFCMS 691b93ac68
Modern Survival Inventory (9 slice images, formspec v6) 2023-08-19 18:01:25 +02:00
AFCMS 4ee6a67516
survival inventory 2023-08-19 18:01:25 +02:00
Temak f7f8a72d08 Update russian translation (#3519)
Update russian translation by Temak

Reviewed-on: MineClone2/MineClone2#3519
Reviewed-by: ancientmarinerdev <ancientmariner_dev@proton.me>
Co-authored-by: Temak <artemkotlubai@yandex.ru>
Co-committed-by: Temak <artemkotlubai@yandex.ru>
2023-06-19 21:54:51 +00:00
3raven 9518d47662 (french) translation enhancements (#3643)
- Add missing translation
- Fix broken translations
- Fix unacurate description
- Correct/improve/change for cohesion french translation

Translations templates have been updated,other translations must be updated.

<!--
Please follow our contributing guidelines first:
https://git.minetest.land/MineClone2/MineClone2/src/branch/master/CONTRIBUTING.md#how-you-can-help-as-a-programmer

By submitting this pull request, you agree to follow our Code of Conduct:
https://git.minetest.land/MineClone2/MineClone2/src/branch/master/CODE_OF_CONDUCT.md
-->

Tell us about your pull request! Reference related issues, if necessary

### Testing
Tell us how to test your changes!

Co-authored-by: 3raven <elise_declerck@laposte.net>
Reviewed-on: MineClone2/MineClone2#3643
Reviewed-by: AFCMS <afcm.contact@gmail.com>
Co-authored-by: 3raven <3raven@noreply.git.minetest.land>
Co-committed-by: 3raven <3raven@noreply.git.minetest.land>
2023-05-11 22:39:49 +00:00
syl 96b2f6a01d Improve French translation 2023-03-10 22:48:46 +01:00
Michieal 6265148727 Move textures all into one centralized directory. 2023-01-30 22:55:53 -05:00
𝕵𝖔𝖍𝖆𝖓𝖓𝖊𝖘 𝕱𝖗𝖎𝖙𝖟 a1cc24f8d3 Slowing creative digging 2023-01-24 11:16:28 -06:00
ancientmarinerdev e6e898671a Merge pull request 'add japanese translation' (#3149) from SakuraRiu/MineClone2:master into master
Reviewed-on: MineClone2/MineClone2#3149
Reviewed-by: Michieal <michieal@noreply.git.minetest.land>
2022-12-29 22:14:48 +00:00
CyberMango bd38827f60 Fixes #2976
Now the inventory view on creative is no longer set to the survival
inventory upon taking damage.
Also the initial inventory view when openning a world in creative is at
the search page, not the survival inventory page.

mcl_inventory/init.lua no longer wraps mcl_armor.update_player to also
update the inventory view. This visual update happens anyways since it
is registered to happen on a visual change with
mcl_player.register_on_visual_change .

This also fixes a small visual bug that, on creative mode, if you would
equip/unequip an armor piece, the image of the player would be updated
twice.
2022-12-23 13:54:41 +02:00
Riu Sakura 2b61231f82 add japanese translation 2022-12-19 15:33:31 +09:00
My favourite Minetest cheat clients are Dragonfire and Waspsaliva. 94960b64d4 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-11-15 04:41:01 +01:00
MysticTempest 6a0bcf9881 Fix insta-digging crash when punching stairs. 2022-11-09 04:26:41 -06:00
MysticTempest 2be75c9628 Better fix for creative digging drops, and fix the itemframes LBM. 2022-11-06 07:08:49 -06:00
cora e6aeb9ffba Use dig_node instead of remove in creative dig 2022-10-18 11:42:56 +02:00
PrairieWind f9f74d2af7 Changed Achievements to Advancements in player visible text. 2022-10-10 01:10:49 +02:00
cora 2a9d704293 Fix dumb mistake in creative crash fix 2022-10-10 01:07:11 +02:00
cora a1919b572a Fix crash in 5.6 gm-creative digging 2022-10-10 00:52:55 +02:00