Commit Graph

171 Commits

Author SHA1 Message Date
08af76c702 ABMDefinition: update annotations 2026-06-07 22:03:58 +03:00
186f56a8b3 vector: minor change IntegerVector annotation 2026-05-23 21:21:22 +03:00
60c9fbd5de ItemStack.get_count: change type annotation number -> integer 2026-05-20 18:01:19 +03:00
453718fa83 core_namespace: core.get_item_group: adding function annotations 2026-05-09 23:00:58 +03:00
c4e69bae77 ItemStack & ItemStackMetaRef: minor clarification of annotations 2026-04-27 19:39:07 +03:00
8b995b5176 core_namespace: fix player type in core.register_allow_player_inventory_action & core.register_on_player_inventory_action 2026-04-19 21:36:29 +03:00
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
2b09747297 ItemStack: adding an annotation to the ItemStack(x) call via overload 2026-03-30 20:43:17 +03:00
52df233a28 ChatCommandDefinition: fix func annotation: returned string may be nil 2026-03-08 20:04:44 +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
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
f19c76545d Add ObjectRef:get_guid() method annotations 2026-02-13 21:27:40 +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
e5a12d31ba Make ObjectProperties fields optional 2026-02-08 20:36:51 +03:00
Alexander Chibrikin
113a782c39 More strict verification via emmylua_check (add --warnings-as-errors). 2026-02-08 14:03:34 +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
1d0043bfe7 Actualize math, string, table helpers. 2026-02-02 04:59:11 +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
c82bed2046 Add definitions/{DecorationDefinition,LSystemTreeDefinition}.lua and specs/SchematicSpecifier.lua. 2026-01-21 18:21:23 +03:00
Alexander Chibrikin
2e028df08a Add types annotations for type-specific fields of OreDefinition. 2026-01-21 13:07:43 +03:00
Alexander Chibrikin
ff574bbc72 Add BiomeDefinition & OreDefinition. 2026-01-21 13:01:27 +03:00
Alexander Chibrikin
2489230502 Add LBMDefinition. 2026-01-21 11:34:41 +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
096c706f79 Math.round(): change return type number -> integer 2026-01-14 17:14:16 +03:00
d2f75b782e Position2d: change number -> integer 2026-01-14 17:13:42 +03:00
d5d4fec0c3 Fix color utilitiees: fix colorspec_to_table annotation, change ColorString & ColorSpec type (class -> alias) 2026-01-14 16:42: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
36cfa27d6c Added annotations for ColorSpec utilities: colorspec_to_colorstring, colorspec_to_bytes & colorspec_to_table 2026-01-09 20:39:54 +03:00
9e2d10414e VoxelManip: fix annotation for get_emerged_area: added return types 2026-01-06 12:42:01 +03:00
Alexander Chibrikin
0d406ec1d3 Add emmylua_check GitHub action. 2026-01-06 04:37:49 +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
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
de74607136 Fix drop annotation of NodeDefinition. 2025-10-26 00:41:52 +03:00
Alexander Chibrikin
ad365f3d69 Delete extract ContentDB files into separate repo 2025-10-25 18:58:38 +03:00
Alexander Chibrikin
45d1ff393c Remove long_description in .cdb.json.
ContentdDB interface wilbe used.
2025-10-13 19:51:12 +03:00
Alexander Chibrikin
61337d5f3d Move all annotation files into library/ folder (for LuaLS/LLS-Addons). 2025-10-07 22:31:30 +03:00
Alexander Chibrikin
f354d6bd0c Add config.json for LuaLS/LLS-Addons. 2025-10-07 22:27:02 +03:00