devilutionX icon indicating copy to clipboard operation
devilutionX copied to clipboard

[Feature Request]: Expand and Document the Lua API

Open scalyone opened this issue 1 year ago • 2 comments

Feature Type

Quality of Life

Describe

I would like to start creating mods using Lua but currently I'm not sure where to begin as there is little to no documentation. I'm also not sure how to go about finding the right areas to hook as I am very unfamiliar with C++.

scalyone avatar Nov 16 '24 01:11 scalyone

Obviously, we intend to do this. It's pretty much the primary focus of the 1.6.0 release.

Just about the most complicated thing you can make with Lua at this point is a clock in the corner.

image

This much is already documented on Discord, and also here: https://github.com/diasurgical/devilutionX/pull/6775#issuecomment-1793493004

StephenCWills avatar Nov 16 '24 02:11 StephenCWills

Well you can also play sounds so you could make an alarm if you got really fancy

AJenbo avatar Nov 16 '24 02:11 AJenbo