Commit Graph

58 Commits

Author SHA1 Message Date
2b09747297 ItemStack: adding an annotation to the ItemStack(x) call via overload 2026-03-30 20:43:17 +03:00
a8dfcb767b Update annotations ObjectRef: Fixing annotations, adding missing methods, fixing return type (position -> vector) #8 2026-02-16 21:26:51 +03:00
f19c76545d Add ObjectRef:get_guid() method annotations 2026-02-13 21:27:40 +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
6bf8ad9444 Add forgotten @meta for classes/ItemStack.lua. 2026-02-08 14:00:04 +03:00
Alexander Chibrikin
2f77d40ba2 VoxelArea: fix return types for iterators. 2026-02-08 13:52:14 +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
71832e5838 Change namespace minetest. -> core.. 2026-01-21 11:01:25 +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
9e2d10414e VoxelManip: fix annotation for get_emerged_area: added return types 2026-01-06 12:42:01 +03:00
Alexander Chibrikin
0e1cc45130 Fix annotations for voxel manipulations. 2026-01-05 22:08:04 +03:00
Alexander Chibrikin
cb4f88919d Fix vector annotations: most methods can recive Position as params instead vector 2026-01-04 21:26:52 +03:00
Alexander Chibrikin
3a7a3550f9 Fix Settings:get_bool() annotation. 2026-01-04 21:14:33 +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
2ff614077c Noises: change vectors to Positions. Close #5 2025-10-06 20:04:41 +03:00
32331292d3 Add end-space to ValueNoise.lua, ValueNoiseMap.lua, NoiseParams.lua 2025-10-05 15:08:30 +03:00
fed9ca47b8 Noises: minor params changes 2025-10-05 15:06:04 +03:00
cb8cb067bd Adding missing noise descriptions: ValueNoise, ValueNoiseMap, NoiseParams. Close #2 2025-10-05 14:38:22 +03:00
93bf2e5de1 Setting the light parameter in the VoxelManip:write_to_map() to optional 2025-10-03 20:57:11 +03:00
alek13
11625e8a0f Modern Lua Plugins: ide-helper: use @meta for Player.lua for no warnings about duplicate methods. LG-1978 2025-10-02 11:23:48 +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
8bcf2ede4f Modern Lua Plugins: impromements & fixes in ide-helper for ObjectRef & [Lua]Entity. LG-1980 LG-1978 2025-09-26 21:26:12 +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
a2eb6da285 Modern Lua Plugins: fix errors in mods/lord/Core/{equipment|factions|fuel_device}. LG-1980 2025-09-23 04:47:59 +03:00
alek13
c3c88e5b46 Modern Lua Plugins: fix errors in mods/lord/Core/physics. LG-1980 2025-09-22 06:02:50 +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
9243cd17cf Modern Lua Plugins: fix errors in mods/lord/Core/http. LG-1980 2025-09-22 02:02:25 +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
alek13
a902d67377 Modern Lua Plugins: fix errors in mods/lord/Core/base_classes. LG-1980 2025-09-20 05:18:44 +03:00
alek13
0ca47db2ea Migrate to modern plugins: fix errors in util/mt-ide-helper & add changes that fixes most errors in code. LG-1978 2025-09-16 19:05:54 +03:00
alek13
bb1a27f946 ide-helper: improve VoxelArea annotation: add types. 2025-05-11 23:04:58 +03:00
alek13
2abb74a365 ide-helper: precise Settings:to_table() return type 2025-04-24 19:02:12 +03:00
blanka kato
e8ece9a93f Clans hold points (lord-server/lord#2143). Closes lord-server/lord#2123. Closes lord-server/lord#2124
* Add mod framework. Closes lord-server/lord#2123
* Add node and some meta. Closes lord-server/lord#2124
2025-04-07 01:00:56 +03:00
alek13
2960ddd8ae Races: Refactoring; Add minimal lord_character mod. Closes lord-server/lord#2071. 2025-03-23 01:22:42 +03:00
alek13
aca38666bc Fuel device: fix imediatly result on first step. Fixes lord-server/lord#1834 2024-12-13 00:52:21 +03:00
alek13
012016ab41 ide-helper: add physics_override_table annotation. 2024-12-06 20:10:45 +03:00
alek13
eb84ffea8b ide-helper: add NodeTimerRef class docs. 2024-11-13 19:23:07 +03:00
alek13
d5809f4413 Damage System: add ability to apply periodical damage. Closes lord-server/lord#1625 2024-09-12 00:53:14 +03:00
alek13
491335f66b IDE-helper: add descriptions for Entity class 2024-09-09 21:54:13 +03:00
alek13
70e5d5abc9 IDE-helper: full docs for ItemStack 2024-07-30 22:20:32 +03:00
alek13
e9a35f3e76 Add HTTPApiTable class definition into mt-ide-helper. Relates to lord-server/lord#1402 2024-06-21 18:33:48 +03:00
3382f78275 Minetest type hinting enchancements 2024-05-13 00:40:52 +03:00
alek13
b1deb163cf Add MT class docs 2024-04-26 03:27:28 +03:00
alek13
93b4988dab Extract voxel manipulations wraper minetest.with_map_part_do(). Relates to lord-server/lord#1084, lord-server/lord#1058, lord-server/lord#663, lord-server/lord#661. 2024-04-02 18:41:54 +03:00
alek13
a523e471de Mobs: Traders: Refactoring: clear var names & types. Relates to lord-server/lord#1147, lord-server/lord#1153 2023-09-16 20:01:20 +03:00
alek13
51b0fa580e [IDE Hint]: add VoxelManip & VoxelArea classes. 2023-09-12 01:09:03 +03:00
alek13
4d6685dbfa Replace deprecated :get_look_yaw() calls with new :get_look_horizontal() + pi/2. Fixes lord-server/lord#1047 2023-09-09 21:29:50 +03:00
alek13
f1cf10d9d9 Store hp for teken into inventory horse. Fixes lord-server/lord#1100 2023-08-17 03:21:32 +03:00