1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00
Commit graph

1739 commits

Author SHA1 Message Date
Lars Müller
dd2e45ee82
Deprecate function support in core.[de]serialize 2025-04-23 21:39:27 +02:00
Desour
4a8f84b259 Mainmenu: Move core.on_before_close to s_mainmenu like other callbacks, and doc 2025-04-23 09:31:06 +02:00
sfan5
7c619bdc9a
Improve usability of Prometheus metrics backend (#16060) 2025-04-23 09:30:04 +02:00
grorp
0cf1c47f6c
Fix scrollbar on ContentDB grid by adding an area label (#16042)
Co-authored-by: rubenwardy <rw@rubenwardy.com>
2025-04-21 12:33:41 +02:00
sfan5
4c4e296274
Handle texture filtering sanely to avoid blurriness (#16034) 2025-04-21 12:31:44 +02:00
Lars Mueller
c0d10b24a4 Use SPDX-License-Identifiers in builtin 2025-04-20 20:49:10 +02:00
Jürgen Rühle
2f464843cb
Make it more convenient to customize node drops (#15872)
* Provide tool and digger to get_node_drops

This gives games/mods the ability to modify node drops depending on item
and/or player metadata without overriding node_dig or other workarounds.

* Copy wielded item to prevent modification in get_node_drops

* Also pass node pos to get_node_drops

Allowing properties of the node and its surroundings to affect node drops.

* Copy pos to prevent modification in get_node_drops

Co-authored-by: Lars Müller <34514239+appgurueu@users.noreply.github.com>

* Don't pass empty item stack to get_node_drops if wielded is nil

---------

Co-authored-by: sfan5 <sfan5@live.de>
Co-authored-by: Lars Müller <34514239+appgurueu@users.noreply.github.com>
2025-04-20 20:48:48 +02:00
y5nw
23bfb2db72
Move keybinding settings to (Lua-based) setting menu (#15791) 2025-04-20 20:20:49 +02:00
rubenwardy
75862e33b6
ContentDB: Add reviews tab (#15254) 2025-04-13 16:07:01 +01:00
Erich Schubert
78293404c7
Rename perlin noise to value noise (#15858) 2025-04-10 14:39:40 +02:00
sfan5
9d81c02f27 Add/remove/change some log messages for clarity 2025-04-10 14:39:21 +02:00
Lars Müller
7689f1f0fd
Improve some warning messages (#15990) 2025-04-08 22:24:00 +02:00
Lars Müller
2569b50252
Deprecate some legacy item registration logic (#15950) 2025-04-01 19:12:00 +02:00
grorp
c30c94dfaa
Add server/client annotations to settingtypes.txt and make use of them (#15756) 2025-04-01 07:55:47 -04:00
sfan5
a94c9a73ba Move all registration logic into core.register_item for consistency 2025-03-29 10:21:15 +01:00
sfan5
915446417d Improve warning message for registration table reuse 2025-03-29 10:21:15 +01:00
sfan5
db15bc6466 Some more random code cleanups 2025-03-26 20:49:43 +01:00
grorp
ead44a27ca
TouchControls: Implement an option for dig/place buttons (#15845) 2025-03-21 12:06:44 +01:00
sfan5
a9a3b05cc3 Prevent registration of certain new content after load time 2025-03-19 22:05:01 +01:00
sfan5
ca047c3e58 Warn on core.override_item() after server startup 2025-03-19 22:05:01 +01:00
sfan5
2540667f04 Warn if metatable passed to itemdef registration function 2025-03-19 22:05:01 +01:00
SmallJoker
5b2b2c7796 Game: disable 'toggle_sneak_key' while flying 2025-03-19 18:42:26 +01:00
Lars Müller
077828d0d9
Add table.copy_with_metatables (#15754) 2025-03-14 11:52:42 +01:00
SmallJoker
23d0fb2d3f
builtin: Return 'obj' from 'core.item_drop' (#15880)
This also includes a minor bugfix where 'itemstack' was cleared
even if the object placement failed.
2025-03-11 20:00:35 +01:00
sfan5
afb15978d9
Clean up and compress some pre-join packets (#15881) 2025-03-11 20:00:07 +01:00
Alex
dadd097f32
Echo DMs sent with /msg (#15887) 2025-03-11 09:59:51 +01:00
Medley
63701de45f
Make Sneak and Aux1 optionally togglable (#15785) 2025-03-06 21:01:43 +01:00
sfan5
304ce4cd54 Fix syntax error in credits.json
reported at <https://forum.luanti.org/viewtopic.php?p=442729>

As it happens this didn't affect most users as jsoncpp allows trailing commas
by default since 2019.
2025-03-04 19:53:01 +01:00
sfan5
2796283550 Remove broken fall bobbing 2025-03-04 19:53:01 +01:00
sfan5
062207e696 Enforce minimum client_mapblock_limit depending on view range 2025-03-01 22:40:10 +01:00
sfan5
7d3f0628c4 Use visual = "node" for builtin falling node entity
This greatly simplifies the code at the expense of some
falling nodes not showing up on older clients.
2025-02-22 16:19:04 +01:00
Andrii Nemchenko
e51221d247
Implement metadata-aware version of InvRef:remove_item() (#15771) 2025-02-22 16:18:48 +01:00
James Morey
50819ace8f
Move clickable_chat_weblinks to Advanced > Miscellaneous (#15799) 2025-02-19 18:45:31 +01:00
et
ef0219c2ed
Prevent accidental wallmounted_to_dir poisoning (#15810)
Prior to this commit, if you used a function like `core.wallmounted_to_dir`, and modified its output, it would modify all of the output in the future.
2025-02-18 21:51:33 +01:00
Desour
166e02955e Decrease fps_max_unfocused from 20 to 10
This used to be the default for android.
There's not much issues now with using a lower value, so a lower default on all platforms
is reasonable.
The only downside I know of is that if you re-focus the window, it can up till the
next client step until it goes back to normal fps, but 10 Hz feels fast enough.
2025-02-15 18:21:01 +01:00
Desour
191cb117f9 Don't use fps_max_unfocused for the pause menu
Nowadays, we have things like buttons that change appearance on hover, or scoll bars
in the pause menu. These do not work fine with low fps.
2025-02-15 18:21:01 +01:00
Miguel P.L
a57677120a
Correct keycode URL in settingtypes.txt/minetest.conf.example (#15784) 2025-02-15 18:20:45 +01:00
sfan5
d027fc9a88 Enable ipv6_server by default 2025-02-15 12:18:07 +01:00
siliconsniffer
eb797c502a
Tweak main menu server list behavior (#15736)
Co-authored-by: Lars Mueller <appgurulars@gmx.de>
2025-02-15 12:17:56 +01:00
Lars Müller
b7f01b0cc7
Don't save load_mod_* = false lines in world.mt (#15758) 2025-02-14 22:25:39 +01:00
sfan5
54bf5d62f2
Fix fgettext call in dlg_settings.lua
(#15614)
2025-02-14 22:17:10 +01:00
ROllerozxa
dd0070a6b8
Expose client version information in non-debug builds (#15708)
Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
Co-authored-by: Lars Mueller <appgurulars@gmx.de>
Co-authored-by: sfan5 <sfan5@live.de>
2025-02-09 18:09:07 +01:00
sfan5
2515a40fff Fix some setting descriptions 2025-02-09 13:22:17 +01:00
grorp
2fb9e4d18a Fix enum setting used as requirement 2025-02-06 19:20:44 +01:00
siliconsniffer
36c9742c0a
Main menu server list: Select first compatible search result (#15755)
Fixes a bug where an incompatible server would be selected instead due to being the "first" result before grouping.
2025-02-06 19:19:38 +01:00
Montandalar
ec83312540
Change main website domain to www.luanti.org (#15748)
Renames all remaining occurences of minetest.net except for the "MS Windows icon resource" file
2025-02-06 19:16:24 +01:00
sfan5
1548b2ae9e
Update credits for 5.11.0 (#15753) 2025-02-05 21:02:09 +01:00
sfan5
b5e084c9a5
Update github URL references (#15705) 2025-01-24 16:50:39 +01:00
SFENCE
af3f696423 Code style fixes. 2025-01-21 16:29:12 +01:00
grorp
eeb6cab4c4
In-game settings menu using separate Lua environment (#15614) 2025-01-19 13:07:04 -05:00