Files
nethack/sys/share
Pasi Kallinen fd55d9118e Use lua for special level files
Game is playable, and should compile on linux and Windows.
Assumes you have a lua 5.3 library available.

Removes level compiler and associated files.
Replaces special level des-files with lua scripts.
Exposes some NetHack internals to lua:
 - des-table with commands to create special levels
 - nh-table with NetHack core commands
 - nhc-table with some constants
 - u-table with some player-specific data (u-struct)
 - selection userdata

Adds some rudimentary tests.

Adds new extended command #wizloadlua to run a specific script,
and #wizloaddes to run a specific level-creation script.

nhlib.lua is loaded for every lua script.

Download and untar lua:
  mkdir lib
  cd lib
  curl -R -O http://www.lua.org/ftp/lua-5.3.5.tar.gz
  tar zxf lua-5.3.5.tar.gz

Then make nethack normally.
2019-11-06 18:43:20 +02:00
..
2019-03-06 11:43:27 -08:00
2019-03-06 11:43:27 -08:00
2018-04-25 15:00:13 -04:00
2019-03-06 11:43:27 -08:00
2019-05-11 11:10:00 +03:00
2019-11-06 18:43:20 +02:00
2018-04-25 15:00:13 -04:00
2018-12-25 13:05:43 -08:00
2015-11-01 10:23:11 +02:00
2019-01-29 17:23:22 -05:00
2015-05-25 09:21:31 +09:00
2002-01-05 21:05:58 +00:00
2002-01-05 21:05:58 +00:00
2015-05-25 09:21:31 +09:00