NetHack Patch Database v0.27

323 patches

Lever

NameLever v1.0
RatingNot rated
AuthorPasi Kallinen
ForNetHack 3.4.3
DescriptionAdds a new trap "lever", and special actions for it.
 The lever cannot be hidden and cannot be triggered accidentally, so it must be forced. (by using the new extended command '#pull')
Also, monsters ignore it, and it has special 'action'.

For example, putting the following in a des-file:

TRAP:"lever", (10,10), "floor_to_moat", (0,0,62,16)

creates a lever, and if the hero pulls it, all ROOM and CORR -mapgrids are changed to MOAT inside the defined area, with all the appropriate effects, eg. monsters drown, objects get damaged by water, etc.


There are currently only 2 different actions:

floor_to_moat Changes all ROOM and CORR -mapgrids to MOAT, with appropriate effects, eg. monsters drown, objects get water damage, etc.
moat_to_floor Changes all MOAT -mapgrids to ROOM, unearthing objects, etc.


For an example, take a look at the castle.des -file.
Downloadhttp://bilious.alt.org/~paxed/nethack/nh342-lever.diff (24.5 Kb)
AddedJanuary 30, 2005 17:20
ChangedFebruary 20, 2006 22:44
Submit an update to this patch

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?