Difference between revisions of "Welcome message"

From NetHackWiki
Jump to navigation Jump to search
(initial version)
(goodbye messages too)
Line 4: Line 4:
 
  "Hello, <player>!  Welcome to <Shopkeeper>'s <shop type>!"
 
  "Hello, <player>!  Welcome to <Shopkeeper>'s <shop type>!"
  
For some classes "Hello" is replaced by a themed greeting:
+
For some classes "Hello" is replaced by a translated greeting<ref>[[role.c#line1448]] - the <code>Hello()</code> function
 +
</ref>:
  
 
* Knight: '''Salutations''' (Olde English)
 
* Knight: '''Salutations''' (Olde English)
Line 13: Line 14:
 
Also, a [[mail daemon]] will say "Hallo" to a Valkyrie instead of "Hello".
 
Also, a [[mail daemon]] will say "Hallo" to a Valkyrie instead of "Hello".
  
==Source code reference==
+
==Goodbye message==
  
* [[role.c#line1448]] - the <code>Hello()</code> function
+
When ending the game, you get the message
 +
 
 +
Goodbye, <player> the <Class>...
 +
 
 +
There are also translated versions of "Goodbye"<ref>[[role.c#line1473]] - the <code>Goodbye()</code> function
 +
</ref>:
 +
 
 +
* Knight: '''Fare thee well''' (Olde English)
 +
* Samurai: '''Sayonara''' (Japanese)
 +
* Tourist: '''Aloha''' (Hawaiian)
 +
* Valkyrie: '''Farvel''' (Norse)
 +
 
 +
==Source code references==
 +
 
 +
<references/>
  
 
==See also==
 
==See also==

Revision as of 23:26, 20 August 2006

When you start a new game of NetHack, or restore a saved game, or receive mail, or enter a shop, you are greeted:

"Hello <player>, welcome to NetHack!  You are a <alignment> <gender> <race> <Class>."
"Hello, <player>!  Welcome to <Shopkeeper>'s <shop type>!"

For some classes "Hello" is replaced by a translated greeting[1]:

  • Knight: Salutations (Olde English)
  • Samurai: Konnichi wa (Japanese)
  • Tourist: Aloha (Hawaiian)
  • Valkyrie: Velkommen (Norse)

Also, a mail daemon will say "Hallo" to a Valkyrie instead of "Hello".

Goodbye message

When ending the game, you get the message

Goodbye, <player> the <Class>...

There are also translated versions of "Goodbye"[2]:

  • Knight: Fare thee well (Olde English)
  • Samurai: Sayonara (Japanese)
  • Tourist: Aloha (Hawaiian)
  • Valkyrie: Farvel (Norse)

Source code references

  1. role.c#line1448 - the Hello() function
  2. role.c#line1473 - the Goodbye() function

See also