Commit Graph

3 Commits

Author SHA1 Message Date
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