13 Commits

Author SHA1 Message Date
Yuri Pourre 3afccc256d Add Lua towner API and dynamic dialog options (prework for multi-town PR) (#8539)
* Add Lua towner API and dynamic dialog options

Expose TownerShortNames to Lua (devilutionx.towners), per-towner position
helpers, and RegisterTownerDialogOption for mod-driven store dialog lines.
Includes stores integration and tests.
2026-04-11 00:47:07 +00:00
Anders Jenbo 005e7dcc23 chore: clang-tidy cleanup part 1 2026-04-03 22:57:48 +02:00
Trihedraf 04cc99cbde LuaEvent > lua:: named functions. +lua_event.cpp 2026-03-04 17:50:04 -05:00
Trihedraf 105f6017b6 LuaEvent overload for 1 string arg to template 2026-01-31 03:20:34 +01:00
Yuri Pourre b684fd143c Adria refill mana as mod 2026-01-12 11:46:11 +00:00
Trihedraf b540d0911e Extract lua functions from floatingnumbers to system and render modules (#8416) 2026-01-11 13:37:18 +00:00
Trihedraf 32a0666201 move floating damage nums to lua mod & add xp mod 2026-01-11 12:21:27 +01:00
staphen c55e7a4107 Reload sfx when reloading active mods 2025-12-05 23:30:27 +01:00
Andrettin 76feb78b4e Parse Text/Speech Data from TSV (#8138) 2025-08-25 21:32:23 +02:00
Andrettin 0c3fe1345c Parse Quest Data from TSV 2025-08-21 22:52:34 +02:00
Anders Jenbo 1c76897f2c Apply simple const rules using clang-tidy 2025-08-16 01:21:36 +02:00
Andrettin cfb52ee239 Added support for mods to add unique monsters without replacing any data (#8092) 2025-08-10 23:03:27 +02:00
Gleb Mazovetskiy 740868af3f Update sol2 and lua
Also renames lua/lua.hpp to lua/lua_global.hpp.

The previous name broke version auto-detection in sol2, which involves
calling `__has_include(<lua/lua.hpp>)`.
2025-07-20 17:46:35 +02:00