Commit Graph

162 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
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
Alexander Chibrikin
a185e7040d Add info for CDB: video_url, supported_games. 2025-10-07 20:02:04 +03:00
Alexander Chibrikin
0ab23d9b8e 'bump version. Release 1.0.0' 2025-10-07 19:12:46 +03:00
Alexander Chibrikin
1da3784837 Revert rename: Maybe it should be maintenance_state instead dev_state as in docs (.cdb.json). 2025-10-07 19:12:16 +03:00
Alexander Chibrikin
a3e66fce1a .cdb.json: add demo gif into long_description. 2025-10-07 18:41:41 +03:00
Alexander Chibrikin
60fb7e953c Maybe it should be maintenance_state instead dev_state as in docs (.cdb.json). 2025-10-07 18:37:55 +03:00
Alexander Chibrikin
8bc1d97a7a Fix dev_state/short_description in .cdb.json. 2025-10-07 18:34:10 +03:00
Alexander Chibrikin
f52587c77c Add required type & dev_state fields in .cdb.json. 2025-10-07 18:30:44 +03:00
Alexander Chibrikin
85339c3cbc Files for ContentDB publishing. 2025-10-07 18:19:31 +03:00
2ff614077c Noises: change vectors to Positions. Close #5 2025-10-06 20:04:41 +03:00