Difference between revisions of "Spelling"

From NetHackWiki
Jump to navigation Jump to search
m (that's an US/UK spelling difference. added Croesus / Kroisos)
Line 1: Line 1:
NetHack demands accurate '''spelling''' skills of its users most of the time, but occasionally it can be forgiving. For example, typing "''grey'' dragon scale mail" (like one would do in the UK) and "''gray'' dragon scale mail" (the US spelling) when prompted for a [[wish]] will yield the same item. There are several other items which will admit varied spellings:
+
NetHack demands accurate '''spelling''' skills of its users most of the time, but occasionally it can be forgiving. For example, typing "''grey'' dragon scale mail" (like one would do in the UK) and "''gray'' dragon scale mail" (the US spelling) when prompted for a [[wish]] will yield the same item. There are several other items which will admit varied spellings, such as:
  
* [[Pick-axe]] / Pickaxe / Pickax
+
* [[Pick-axe]] / Pick axe / Pickaxe / Pickax
 +
* [[Silver saber]] / Silver sabre
 +
* [[Armor]] / armour
 
* [[Croesus]] / Kroisos
 
* [[Croesus]] / Kroisos
 
* ...
 
* ...
  
{{stub|Add more! }}
+
In the [[source code]], the alternate spellings are defined at [[objnam.c#struct_alt_spellings]].
  
 
[[Category:User Interface]]
 
[[Category:User Interface]]

Revision as of 08:27, 20 June 2006

NetHack demands accurate spelling skills of its users most of the time, but occasionally it can be forgiving. For example, typing "grey dragon scale mail" (like one would do in the UK) and "gray dragon scale mail" (the US spelling) when prompted for a wish will yield the same item. There are several other items which will admit varied spellings, such as:

In the source code, the alternate spellings are defined at objnam.c#struct_alt_spellings.