NetHack Patch Database v0.27

323 patches

#sticky

Name#sticky v6
RatingNot rated
AuthorScott Bigham
ForNetHack 3.4.1
DescriptionAdds a new extended command, #sticky
 If the 'fixinv' option is set (as it is by default), objects in your inventory will retain their inventory letters when dropped and picked up, but they can still be displaced if there's something else in their slot (if, for instance, you drop your key that's in slot 'k', pick up something else that ends up in slot 'k', and then pick up your key again).

Objects marked "sticky" will try harder to retain their inventory letters, displacing other objects if necessary. Sticky objects are indicated with '=' in inventory listings (note: this is currently only implemented for X11 and text modes).

NB: You will need to manually add "#define STICKY_OBJECTS" to include/config.h after applying this patch to enable the functionality.
Downloadhttp://www.killerbunnies.org/nethack/sticky.diff (10.5 Kb)
AddedJanuary 31, 2005 11:15
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 potion?