Difference between revisions of "Square"

From NetHackWiki
Jump to navigation Jump to search
m (no white walls...)
(Added lit corridor)
Line 17: Line 17:
 
* {{lightgray|.}} [[Room]]
 
* {{lightgray|.}} [[Room]]
 
* {{lightgray|#}} [[Corridor]]
 
* {{lightgray|#}} [[Corridor]]
 +
* {{white|#}} [[Lit corridor]]
 
* {{cyan|.}} [[Ice]]
 
* {{cyan|.}} [[Ice]]
 
* {{blue|<nowiki>}</nowiki>}} [[Water]]
 
* {{blue|<nowiki>}</nowiki>}} [[Water]]

Revision as of 09:06, 5 March 2007

A square in NetHack is a single space on the screen, in which a single ASCII character fits.

Each square can hold:

It is impossible to have two or more monsters or dungeon features on the same square, as is traditional for roguelikes.

However, there can be many items on a space, even if a monster, player or dungeon feature is also there. If multiple objects are on the same square, the symbol for the topmost object is shown. The order of objects in the pile can be seen using the look here command: [:]

Sometimes an item or several items may appear in the same square with a wall. You cannot enter the square to pick up the items but you may kick the wall, causing the objects to come loose and fall off.

The floor on each square has one of several terrain types, which affects how you move through it: