Commit Graph

27 Commits

Author SHA1 Message Date
19803a076d core_namespace: add return value to callback for core.register_allow_player_inventory_action & core.register_on_player_inventory_action 2026-04-17 17:10:06 +03:00
22ade2858c core_namespace: clarification of annotations for core.register_allow_player_inventory_action & core.register_on_player_inventory_action 2026-04-17 16:54:37 +03:00
c300a530d1 core_namespace: add missing callback param to functions 2026-04-17 16:15:44 +03:00
6c9b96dc00 Fix annotation for core.node_dig: add return boolean 2026-02-14 19:26:25 +03:00
f2e3431251 Add core.objects_by_guid annotation, change annotation for core.object_refs 2026-02-13 21:31:22 +03:00
6df00d8c79 Fix annotations for core.item_drop 2026-02-13 21:25:18 +03:00
Van
5d3804168b Position edits (#7)
* Moving annotations for vector classes and positions: `core_namespace.lua` -> `classes/vector.lua`. Rethinking position annotations

* Replacing float positions with integer positions where required (voxel manipulator, node coordinates, etc.). Adding missing annotations to the position parameters of core methods

* Fix position annotations in noises classes

* remove alias `MapPosition2d`

* Review fixes
2026-02-13 12:09:24 +03:00
Alexander Chibrikin
e21367325c Add IntegerVector and its alias PositionVector. 2026-01-27 01:27:02 +03:00
Alexander Chibrikin
966a08b597 Add @meta for all files. Mark couple params as optional. 2026-01-26 16:46:40 +03:00
Alexander Chibrikin
a8a2da4059 Extract core_namespace/registration/gameplay.lua; actualize & fix annotations for it. 2026-01-22 15:13:25 +03:00
Alexander Chibrikin
3eb0f97115 Extract logging.lua & registration/environment.lua into ./core_namespace/. Relates to #1 2026-01-21 18:58:12 +03:00
Alexander Chibrikin
71832e5838 Change namespace minetest. -> core.. 2026-01-21 11:01:25 +03:00
52c171aced Added annotations for minetest.get_value_noise(), marking minetest.get_perlin() as deprecated. 2026-01-18 20:01:39 +03:00
d2f75b782e Position2d: change number -> integer 2026-01-14 17:13:42 +03:00
Alexander Chibrikin
138ceae165 vector: add @return for :sign()/abs(); Position: integer fields; fix register_on_generated. 2026-01-13 00:48:08 +03:00
Alexander Chibrikin
0e1cc45130 Fix annotations for voxel manipulations. 2026-01-05 22:08:04 +03:00
210d4204ce Add annotation minetest.item_pickup & minetest.item_secondary_use. close #4 2025-11-26 18:56:03 +03:00
59c851e7a3 Add overload for minetest.register_on_generated. close #6 2025-11-26 18:46:20 +03:00
Alexander Chibrikin
7a707a4562 Extracting Addon for LLS. 2025-10-26 20:40:15 +03:00
Alexander Chibrikin
61337d5f3d Move all annotation files into library/ folder (for LuaLS/LLS-Addons). 2025-10-07 22:31:30 +03:00
alek13
8353863965 Modern Lua Plugins: ide-helper: core_namespace.lua improvements. LG-1978, LORD-68 2025-10-01 10:37:20 +03:00
alek13
4e3d2b7b74 Modern Lua Plugins: ide-helper improvements. LG-1978, LG-1980 2025-09-30 04:38:37 +03:00
alek13
9027db1e79 Modern Lua Plugins: some fixes in ide-helper, use CppCXY.emmylua-codestyle as default codde formatter, ignore tmp-svript. LG-1978 LG-1980 LG-1991 2025-09-24 18:47:26 +03:00
alek13
dad092f9f8 Modern Lua Plugins: fix errors in mods/lord/Core/helpers. LG-1980 2025-09-22 05:24:18 +03:00
alek13
1f9ec26033 Modern Lua Plugins: fix errors in mods/lord/Core/damage. LG-1980 2025-09-22 03:30:28 +03:00
alek13
f7bf07b1f8 Modern Lua Plugins: fix errors in mods/lord/Core/builtin. LG-1980 2025-09-21 10:37:28 +03:00
alek13
d14253f00b Modern Lua Plugins: ide-helper: add vector definitions; some useful fixes. LORD-58, LG-1978 2025-09-21 06:21:09 +03:00