list_lua_files
List every .lua file in a LÖVE2D project, with optional subfolder scanning, so you know which modules to edit or reload.
Instructions
List every .lua file in the game project. Real games are usually split across several files (main.lua plus modules), so check this before deciding what to edit and pass to reload_code — don't assume everything lives in main.lua.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | No | Subfolder to scan, relative to the game's source folder. Defaults to the project root. |