Difference between revisions of "Square"

From NetHackWiki
Jump to navigation Jump to search
(add throne, grave, altar, fountain, tree, stairs, ladders and doors)
(remove the list of terrains)
Line 13: Line 13:
 
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.
 
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 and interact with it:
+
The floor on each square has one of several [[terrain]] types, which affects how you move through and interact with it.
 
 
* {{lightgray|.}} [[Room]]
 
* {{lightgray|#}} [[Corridor]]
 
* {{white|#}} [[Lit corridor]]
 
* {{cyan|.}} [[Ice]]
 
* {{yellow|<nowiki>\</nowiki>}} [[Throne]]
 
* {{lightgray|<nowiki>|</nowiki>}} [[Grave]]
 
* {{lightgray|_}} [[Altar]]
 
* {{blue|<nowiki>{</nowiki>}} [[Fountain]]
 
* {{blue|<nowiki>}</nowiki>}} [[Water]]
 
* {{red|<nowiki>}</nowiki>}} [[Lava]]
 
* {{lightgray|#}} [[Cloud]]
 
* {{black|&nbsp;}} [[Air]]
 
* {{black|&nbsp;}} [[Solid rock]]
 
* {{green|#}} [[Tree]]
 
* {{cyan|#}} [[Iron bars]]
 
* {{lightgray|>}} {{lightgray|<}} [[Stairs]] and {{brown|>}} {{brown|<}} [[Ladder]]s
 
* {{brown|+}} {{brown|<nowiki>-</nowiki>}} {{brown|<nowiki>|</nowiki>}} [[Door]]
 
* {{lightgray|<nowiki>|</nowiki>}} {{lightgray|<nowiki>-</nowiki>}} [[Wall]]
 
  
 
[[Category:User interface]]
 
[[Category:User interface]]

Revision as of 15:10, 23 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 and interact with it.