minetest/games/devtest/mods/unittests
Lars Müller 8ed55b3aff
Help modders deal with object invalidation (#14769)
* Skip invalid objects in raycasts
* Add `ObjectRef:is_valid` method
* Add object inside radius / area iterators which skip invalid objects
* Update docs to clarify object invalidation and how to deal with it

---------

Co-authored-by: sfan5 <sfan5@live.de>
2024-07-01 20:50:38 +02:00
..
textures Optimize PNG files (#13509) 2023-10-09 17:13:44 +02:00
async_env.lua Try to preserve metatable when exchanging data with the async env (#14369) 2024-03-06 18:04:49 +01:00
content_ids.lua Content ID caching in Lua (#12444) 2022-09-18 17:46:48 +02:00
crafting_prepare.lua Fix cooking and fuel crafts with aliases 2022-05-10 22:37:05 +02:00
crafting.lua Restructure devtest's unittests and run them in CI (#11859) 2021-12-18 20:36:43 +01:00
entity.lua Help modders deal with object invalidation (#14769) 2024-07-01 20:50:38 +02:00
get_version.lua Fix unittest failure for release versions (#14067) 2023-12-08 21:13:33 +01:00
init.lua Fix connected_players on_shutdown (#14739) 2024-06-15 16:00:33 +02:00
inside_async_env.lua Try to preserve metatable when exchanging data with the async env (#14369) 2024-03-06 18:04:49 +01:00
inside_mapgen_env.lua Lua on each mapgen thread (#13092) 2024-02-13 22:47:30 +01:00
inventory.lua Fix InvRef bugs and add unit tests (#14591) 2024-04-28 00:13:44 +02:00
itemdescription.lua DevTest: Explain purpose of most items in tooltips (#12833) 2022-10-09 08:05:22 -04:00
itemstack_equals.lua add an 'equals' method to ItemStack and compatibility w/ lua '==' (#12771) 2022-10-09 08:06:09 -04:00
load_time.lua Fix broken unit test 2024-05-21 16:31:05 +02:00
metadata.lua MetaData: restore undocumented set_string behaviour (#14396) 2024-02-25 16:03:05 +01:00
misc.lua Fix broken unit test 2024-05-21 16:31:05 +02:00
mod.conf Allow game to specify first and last mod in mod loading order (#14177) 2024-06-01 16:36:20 +02:00
on_shutdown.lua Fix connected_players on_shutdown (#14739) 2024-06-15 16:00:33 +02:00
player.lua Method add_pos for object/player (#14126) 2024-01-01 22:48:56 +01:00
raycast.lua Allow giving "pointabilities" to Lua raycasts (#14390) 2024-03-01 17:12:13 +01:00