7 Commits

Author SHA1 Message Date
Anders Jenbo 005e7dcc23 chore: clang-tidy cleanup part 1 2026-04-03 22:57:48 +02:00
Yuri Pourre b684fd143c Adria refill mana as mod 2026-01-12 11:46:11 +00:00
Trihedraf 32a0666201 move floating damage nums to lua mod & add xp mod 2026-01-11 12:21:27 +01:00
Yuri Pourre 1c0987115d Expose lua methods for items and restore life and mana (#8369) 2025-12-21 12:04:40 +01: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
Gleb Mazovetskiy 92e6d36b46 Lua: Add a player usertype 2025-03-20 06:01:47 +01:00
Gleb Mazovetskiy 32f9cc9ad9 Lua: Add basic APIs for walking to a towner
This may not be how we'll eventually expose towners
but it's good enough for now.
2025-01-26 21:05:09 +00:00