Name | New Level Compiler v2.0 |
Rating | |
Author | Pasi Kallinen |
For | NetHack 3.4.3 |
Description | Almost a total redesign of the special level code. |
The level compiler outputs a kind of a bytecode, which Nethack can read and execute. The output of the executed bytecode program is a dungeon level.
Most of the changes are not visible to normal players, thought it's now not possible to tell which sokoban prize you get from the level layout. There is also a new wizard-mode extended command #mazewalkmap, which shows the MAZEWALK paths. Changes under the hood: -Changing the old-style .des file to this new style requires replacing DOORs with ROOMDOORs if the level type is LEVEL (as opposed to MAZE). -"IF [xx%] THEN ... ENDIF" and "IF [xx%] THEN ... ELSE ... ENDIF" (see sokoban.des for an example of this) -It's much easier to shoot yourself in the foot when creating new special levels. For example, MAZE-level shops do not get stocked, unless the shop areas are defined before the doors. (This was evident in orcustown) | |
Download | http://bilious.alt.org/~paxed/nethack/nh343-new_lev_comp_v2.diff (179.5 Kb) |
Added | January 30, 2005 17:17 |
Changed | July 08, 2007 22:24 |
Submit an update to this patch |
4 | John H. | May 29, 2006 03:21 |
Oops! I left that comment on the wrong page!
This is a good idea, though.[Quote] | ||
4 | John H. | May 29, 2006 03:19 |
More Sokoban levels is good. (In my opinion.)[Quote] |