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

229 commits

Author SHA1 Message Date
Lars Mueller
c3cb0a6d4e Improve :compose documentation 2025-06-02 19:28:22 +02:00
Lars Mueller
b4dbda3eb7 Document that matrix composition is RTL 2025-06-02 14:58:52 +02:00
Lars Mueller
3de3bead7b more stuff 2025-05-31 02:57:21 +02:00
Lars Mueller
f7067644a3 Polish 2025-05-29 02:13:52 +02:00
Lars Mueller
513532a93c WIP matrix & rotation lua APIs 2025-05-10 20:38:44 +02:00
Lars Mueller
9ad23e4384 Revamp dump 2025-05-04 16:32:17 +02:00
Lars Müller
d96f5e1c76
MetaDataRef: Make set_float preserve numbers exactly (#16090) 2025-05-02 21:27:00 +02:00
sfan5
893a74f9d7 Support HEAD and PATCH methods in http api 2025-05-01 10:46:24 +02:00
sfan5
d937cd9b90 Don't restrict multipart requests to POST 2025-05-01 10:46:24 +02:00
Lars Müller
dd2e45ee82
Deprecate function support in core.[de]serialize 2025-04-23 21:39:27 +02:00
Desour
f2ea4a4565 Improve mod storage doc a little 2025-04-23 09:31:06 +02:00
Desour
75f757ed2b Improve crafting doc 2025-04-23 09:31:06 +02:00
Desour
974d915b19 Remove creative priv from doc
Fixes https://forum.luanti.org/viewtopic.php?p=444099
2025-04-23 09:31:06 +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
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
Vincent Robinson
fd85737460
Add allow_close[] element to formspecs (#15971) 2025-04-16 16:20:39 -07:00
Erich Schubert
78293404c7
Rename perlin noise to value noise (#15858) 2025-04-10 14:39:40 +02:00
grorp
66dedf1e21
lua_api.md: Mapblock-related and misc improvements (#15972)
Co-authored-by: sfan5 <sfan5@live.de>
Co-authored-by: DS <ds.desour@proton.me>
2025-04-03 13:46:06 -04:00
grorp
7dbd3a0744
lua_api.md: More info in LBM run_at_every_load documentation (#15956) 2025-04-02 10:05:23 -04:00
Jisk
0179021acc
lua_api.md: MAX_WORKING_VOLUME is now 150 million 2025-04-01 19:12:22 +02:00
cx384
882f132062 Document special items 2025-03-30 18:15:11 +02:00
cx384
af1ffce084 Improve hand override documentation 2025-03-30 18:15:11 +02:00
sfan5
915446417d Improve warning message for registration table reuse 2025-03-29 10:21:15 +01:00
sfan5
7b746d21f9 Make sure generated blocks have their timestamp set
behavior change: newly generated blocks are no longer momentarily activated.
this shouldn't matter for anyone and did not consistently apply to all blocks anyway

addresses issue from #15902 for new maps(!)
2025-03-26 20:49:43 +01:00
Xiaochuan Ye
d085f0fb52
Document core.MAP_BLOCKSIZE constant in lua_api.md (#15911) 2025-03-16 20:02:42 +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
Erich Schubert
58ad604a4b
Note that core.hash_node_position is not a hash function 2025-02-27 12:30:55 +01:00
sfan5
27bbe3a873 CAO 'node' visual (#15683) 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
sfan5
ba62808fe8
Basic camera control API (#15796) 2025-02-19 18:45:45 +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
cx384
a8c4c55d58
Document that object properties colors field is unused (#15685) 2025-02-02 19:04:18 +01:00
Mark Wiemer
ffb4a5b565
Rename dev.minetest.net to dev.luanti.org (#15718) 2025-01-26 19:17:36 +01:00
sfan5
b5e084c9a5
Update github URL references (#15705) 2025-01-24 16:50:39 +01:00
fineless71
f592b57dc6
Fixed serialization_version and version_string key name in docs (#15699) 2025-01-23 12:18:30 +01:00
Lars Müller
547e1476bb
Allow overriding fonts via media files (#15606)
Co-authored-by: sfan5 <sfan5@live.de>
2025-01-19 20:42:40 +01:00
sfan5
9dd09d1056 Prevent VoxelManipulator size overflow 2025-01-12 14:49:25 +01:00
grorp
f54d209bc8
Remove normal map leftovers (#15609)
leftovers from #10487 / ed22260822
2024-12-31 19:28:57 +01:00
Lars Müller
b087e2554f
Add glTF STEP interpolation support (#15525) 2024-12-24 15:25:07 +01:00
cx384
f06383f78c
Minor API reference fixes 2024-12-20 15:03:55 +01:00
Lars Müller
f99a1a7c7c Revert "Optimize raycast performance (#15233)"
This reverts commit f7a695c212.
2024-12-14 19:29:00 +01:00
sfence
f7a695c212
Optimize raycast performance (#15233)
by skipping nodes not on the ray with selection boxes smaller than 1x1x1 early on
2024-12-14 17:01:06 +01:00
Wuzzy
ba63c1505a
Docs: Change translation example from NS to PS (#15476)
The currently established convention uses `NS` for "translation no-ops", i.e., it will be collected by a string-collecting utility but not be translated by Luanti at this place.

We don't want to mislead modders with this example into using `NS` for plural forms instead, breaking with the established convention and making use of automated tools harder.

See also: https://github.com/minetest/modtools/pull/11
2024-12-14 16:59:29 +01:00
cx384
c7fe2ee5c9
Add core.spawn_tree_on_vmanip (#15415)
This function works like `core.spawn_tree`, but spawns an L-system tree onto a VoxelManip object instead on the map.
2024-12-08 20:27:22 +01:00
Lars Müller
05d31222f7
Allow non-normalized weights in glTF models (#15310)
We are being lax here, but the glTF specification just requires that "when the weights are stored using float component type, their linear sum SHOULD be as close as reasonably possible to 1.0 for a given vertex"

In particular weights > 1 and weight sums well below or above 1 can be observed in models exported by Blender if they aren't manually normalized.
These fail the glTF validator but Irrlicht normalizes weights itself so we can support them just fine.

The docs have been updated to recommend normalizing weights (as well as documenting the status of interpolation support).

Weights < 0, most of them close to 0, also occur. Consistent with Irrlicht, we ignore them, but we also raise a warning.
2024-12-06 18:05:03 +01:00
AFCMS
e545e96d2b
Make string to v3f parsing consistent, replace core.setting_get_pos() by core.settings:get_pos() (#15438)
Co-authored-by: sfan5 <sfan5@live.de>
Co-authored-by: Lars Müller <34514239+appgurueu@users.noreply.github.com>
2024-12-04 18:19:46 +01:00
luk3yx
4faa16fe0d
Clarify behaviour of core.hypertext_escape (#15464) 2024-11-22 17:56:35 +01:00
Richard Try
946b3a4222
Typo in lua_api.md (#15440)
Duplicate text removed.
2024-11-20 18:36:35 +00:00