Eric Robinson
5937734b85
Move *dat files to tables dir
2026-01-05 20:14:23 +01:00
Yuri Pourre
1c0987115d
Expose lua methods for items and restore life and mana ( #8369 )
2025-12-21 12:04:40 +01:00
Andrettin
7d1aebd91b
Added support for mapping IDs for item types
2025-08-21 03:03:19 +02:00
Andrettin
ae4264b202
Added Lua binding for defining new item types
2025-08-21 03:03:19 +02:00
Andrettin
528c1ad0e6
Use the size of the AllItemsList vector instead of IDI_LAST for getting how many items are there
2025-08-21 03:03:19 +02:00
Andrettin
e2e8446be1
Added Lua Bindings for Adding Unique Items
2025-08-18 23:11:46 +02:00
Gleb Mazovetskiy
17e6da40f8
Lua: Improve function/property handling
...
1. Follows advice from
https://sol2.readthedocs.io/en/latest/functions.html to use
`set_function` when binding functions.
2. Adds autocomplete support for userdata methods.
3. Simplifies property bindings and improves string handling.
2025-07-20 17:46:35 +02:00
Eric Robinson
477389de3b
Lua: Add an item usertype
2025-03-25 06:21:38 +01:00