Lua

From NetHackWiki
Jump to navigation Jump to search

Lua is a light-weight programming language coded in C. It is used in NetHack for creating special levels and for some data files (quest texts, dungeon layout).

In wizard mode, you can run lua files with the wizloadlua and wizloaddes commands.

NetHack exports several commands and variables to lua, which are documented in doc/lua.adoc

This page is a stub. Should you wish to do so, you can contribute by expanding this page.