NetHack Patch Database v0.27

318 patches

New Level Compiler

NameNew Level Compiler v2.0
Rating80%
AuthorPasi Kallinen
ForNetHack 3.4.3
DescriptionAlmost 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)
Downloadhttp://bilious.alt.org/~paxed/nethack/nh343-new_lev_comp_v2.diff (179.5 Kb)
AddedJanuary 30, 2005 17:17
ChangedJuly 08, 2007 22:24
Submit an update to this patch

2 Comments

4John H.May 29, 2006 03:21
Oops! I left that comment on the wrong page!

This is a good idea, though.[Quote]
4John H.May 29, 2006 03:19
More Sokoban levels is good. (In my opinion.)[Quote]

Add a comment

Name ()required
Rating (0 is worst, 5 is best) 
Commentrequired
You can use up to 1024 characters.
Only supported tag is [url]clickable_link[/url].

You will need to answer the following question correctly: What symbol represents a weapon?