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
..
2018-11-11 10:29:52 -05:00
2018-09-10 21:13:10 +03:00
2019-11-06 18:43:20 +02:00
2015-05-25 09:21:31 +09:00
2018-04-25 15:00:13 -04:00
2018-04-25 15:00:13 -04:00
2018-12-25 16:26:27 -08:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:15 +09:00
2019-04-06 21:08:01 -04:00
2015-10-17 13:15:46 +03:00
2019-04-19 12:42:35 -07:00
2019-06-03 18:37:45 -04:00
2019-01-27 15:12:55 -05:00
2018-04-25 15:00:13 -04:00
2019-11-06 18:43:20 +02:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:31 +09:00
2019-06-08 09:38:27 -04:00
2019-05-12 14:51:26 -04:00
2019-06-11 09:29:14 -07:00
2018-04-25 15:00:13 -04:00
2019-11-06 18:43:20 +02:00
2019-06-25 10:20:06 -04:00
2018-12-15 19:31:42 -05:00
2015-05-25 09:21:15 +09:00
2019-11-06 18:43:20 +02:00
2019-06-24 19:47:22 -04:00
2019-03-06 11:37:52 -08:00
2019-01-28 10:02:08 +01:00
2019-06-23 00:11:46 -04:00
2018-04-25 16:54:50 -04:00
2015-05-25 09:21:15 +09:00
2018-04-25 15:00:13 -04:00
2018-04-25 15:00:13 -04:00
2018-04-25 15:00:13 -04:00
2018-04-25 15:00:13 -04:00
2015-10-17 13:15:46 +03:00
2019-05-11 11:10:00 +03:00
2018-04-25 15:00:13 -04:00
2018-04-25 16:54:50 -04:00
2019-01-14 18:16:19 -05:00
2018-04-25 15:00:13 -04:00
2018-12-25 09:34:24 -08:00
2019-06-18 21:50:51 -04:00
2015-05-25 09:21:31 +09:00
2019-02-27 08:20:38 -05:00
2018-12-24 16:43:50 -08:00
2019-06-23 00:57:38 -04:00
2019-01-13 17:19:39 -08:00
2015-05-25 09:21:31 +09:00
2019-11-06 18:43:20 +02:00
2018-12-24 20:22:33 -08:00
2019-01-11 17:18:48 -08:00
2019-01-28 10:02:09 +01:00
2019-06-06 15:59:27 -07:00
2019-06-23 00:57:38 -04:00
2018-10-21 08:45:55 -04:00
2019-01-14 17:10:46 -08:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:31 +09:00
2015-11-17 02:26:17 -08:00
2017-10-10 21:47:35 +03:00
2017-09-11 15:59:50 -07:00
2018-04-25 15:36:11 -04:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:31 +09:00
2015-10-17 18:47:31 +03:00
2019-06-08 09:38:27 -04:00
2019-06-23 00:11:46 -04:00
2019-06-25 10:20:06 -04:00
2019-01-11 17:18:48 -08:00
2019-11-06 18:43:20 +02:00
2018-12-24 16:43:50 -08:00
2019-06-23 00:11:46 -04:00
2019-11-06 18:43:20 +02:00
2018-04-25 15:00:13 -04:00
2018-04-25 16:54:50 -04:00
2016-03-05 14:44:50 -05:00
2016-10-15 19:47:04 +03:00
2018-04-25 15:00:13 -04:00
2019-04-15 13:48:27 -07:00
2015-06-08 19:37:26 -04:00
2019-01-12 01:09:17 -05:00
2019-05-11 11:10:00 +03:00
2019-06-08 09:38:27 -04:00
2019-04-15 13:48:27 -07:00
2019-01-28 10:02:09 +01:00
2015-05-25 09:21:31 +09:00
2019-06-27 23:12:06 -04:00
2015-06-08 19:37:26 -04:00
2015-05-25 09:21:31 +09:00
2019-03-21 14:33:39 -07:00
2019-05-20 01:33:33 -04:00
2019-02-04 16:46:04 -08:00
2018-11-30 15:26:38 +02:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:31 +09:00
2019-06-23 00:11:46 -04:00
2018-12-24 21:04:15 -08:00