Source:NetHack 3.6.0/dat/symbols

From NetHackWiki
Jump to: navigation, search

Below is the full text to symbols from the source code of NetHack 3.6.0. To link to a particular line, write [[Source:NetHack 3.6.0/dat/symbols#line123]], for example.

The NetHack General Public License applies to screenshots, source code and other content from NetHack.

This content was modified from the original NetHack source code distribution (by splitting up NetHack content between wiki pages, and possibly further editing). See the page history for a list of who changed it, and on what dates.

  1.  # Symbol sets for use in NetHack's text-based display.
  2.  #
  3.  # IBMgraphics works by specifying special characters which reside
  4.  # outside the range of normal printable characters.  It has subsets
  5.  # for use where the internal code page is different than the one
  6.  # used by US ASCII (437) and has some different special characters.
  7.  #
  8.  # DECgraphics works by switching back and forth between two fonts,
  9.  # where the alternate one substitutes special characters in place
  10.  # of ordinary printable characters in the lowercase letter range.
  11.  # NetHack encodes the request to use the alternate font here by
  12.  # having the high bit set (in hexadecimal, \x80 is combined with
  13.  # a character code between \x60 and \x7f).
  14.  
  15.  start: DECgraphics
  16.  	Handling: DEC
  17.  	S_vwall: \xf8			# meta-x, vertical rule
  18.  	S_hwall: \xf1			# meta-q, horizontal rule
  19.  	S_tlcorn: \xec			# meta-l, top left corner
  20.  	S_trcorn: \xeb			# meta-k, top right corner
  21.  	S_blcorn: \xed			# meta-m, bottom left
  22.  	S_brcorn: \xea			# meta-j, bottom right
  23.  	S_crwall: \xee			# meta-n, cross
  24.  	S_tuwall: \xf6			# meta-v, T up
  25.  	S_tdwall: \xf7			# meta-w, T down
  26.  	S_tlwall: \xf5			# meta-u, T left
  27.  	S_trwall: \xf4			# meta-t, T right
  28.  	S_ndoor: \xfe			# meta-~, centered dot
  29.  	S_vodoor: \xe1			# meta-a, solid block
  30.  	S_hodoor: \xe1			# meta-a, solid block
  31.  	S_bars: \xfb			# meta-{, small pi
  32.  	S_tree: \xe7			# meta-g, plus-or-minus
  33.  	S_room: \xfe			# meta-~, centered dot
  34.  	S_upladder: \xf9		# meta-y, greater-than-or-equals
  35.  	S_dnladder: \xfa		# meta-z, less-than-or-equals
  36.  	S_pool: \xe0			# meta-\, diamond
  37.  	S_ice: \xfe			# meta-~, centered dot
  38.  	S_lava: \xe0			# meta-\, diamond
  39.  	S_vodbridge: \xfe		# meta-~, centered dot
  40.  	S_hodbridge: \xfe		# meta-~, centered dot
  41.  	S_water: \xe0			# meta-\, diamond
  42.  	S_vbeam: \xf8			# meta-x, vertical rule
  43.  	S_hbeam: \xf1			# meta-q, horizontal rule
  44.  	S_sw_tc: \xef			# meta-o, high horizontal line
  45.  	S_sw_ml: \xf8			# meta-x, vertical rule
  46.  	S_sw_mr: \xf8			# meta-x, vertical rule
  47.  	S_sw_bc: \xf3			# meta-s, low horizontal line
  48.  	S_explode2: \xef		# meta-o, high horizontal line
  49.  	S_explode4: \xf8		# meta-x, vertical rule
  50.  	S_explode6: \xf8		# meta-x, vertical rule
  51.  	S_explode8: \xf3		# meta-s, low horizontal line
  52.  finish
  53.  
  54.  start: IBMgraphics
  55.  	Handling: IBM
  56.  	S_vwall: \xb3			# meta-3, vertical rule
  57.  	S_hwall: \xc4			# meta-D, horizontal rule
  58.  	S_tlcorn: \xda			# meta-Z, top left corner
  59.  	S_trcorn: \xbf			# meta-?, top right corner
  60.  	S_blcorn: \xc0			# meta-@, bottom left
  61.  	S_brcorn: \xd9			# meta-Y, bottom right
  62.  	S_crwall: \xc5			# meta-E, cross
  63.  	S_tuwall: \xc1			# meta-A, T up
  64.  	S_tdwall: \xc2			# meta-B, T down
  65.  	S_tlwall: \xb4			# meta-4, T left
  66.  	S_trwall: \xc3			# meta-C, T right
  67.  	S_ndoor: \xfa			# meta-z, centered dot
  68.  	S_vodoor: \xfe			# meta-~, small centered square
  69.  	S_hodoor: \xfe			# meta-~, small centered square
  70.  	S_bars: \xf0			# equivalence symbol
  71.  	S_tree: \xf1			# plus or minus symbol
  72.  	S_room: \xfa			# meta-z, centered dot
  73.  	S_corr: \xb0			# meta-0, light shading
  74.  	S_litcorr: \xb1			# meta-1, medium shading
  75.  	S_fountain: \xf4		# meta-t, integral top half
  76.  	S_pool: \xf7			# meta-w, approx. equals
  77.  	S_ice: \xfa			# meta-z, centered dot
  78.  	S_lava: \xf7			# meta-w, approx. equals
  79.  	S_vodbridge: \xfa 		# meta-z, centered dot
  80.  	S_hodbridge: \xfa		# meta-z, centered dot
  81.  	S_water: \xf7			# meta-w, approx. equals
  82.  	S_vbeam: \xb3			# meta-3, vertical rule
  83.  	S_hbeam: \xc4			# meta-D, horizontal rule
  84.  	S_sw_ml: \xb3			# meta-3, vertical rule
  85.  	S_sw_mr: \xb3			# meta-3, vertical rule
  86.  	S_explode4: \xb3		# meta-3, vertical rule
  87.  	S_explode6: \xb3		# meta-3, vertical rule
  88.  finish
  89.  
  90.  start: IBMGraphics_1
  91.  	Handling: IBM
  92.  	S_vwall: \xb3			# meta-3, vertical rule
  93.  	S_hwall: \xc4			# meta-D, horizontal rule
  94.  	S_tlcorn: \xda			# meta-Z, top left corner
  95.  	S_trcorn: \xbf			# meta-?, top right corner
  96.  	S_blcorn: \xc0			# meta-@, bottom left
  97.  	S_brcorn: \xd9			# meta-Y, bottom right
  98.  	S_crwall: \xc5			# meta-E, cross
  99.  	S_tuwall: \xc1			# meta-A, T up
  100.  	S_tdwall: \xc2			# meta-B, T down
  101.  	S_tlwall: \xb4			# meta-4, T left
  102.  	S_trwall: \xc3			# meta-C, T right
  103.  	S_vbeam: \xb3			# meta-3, vertical rule
  104.  	S_hbeam: \xc4			# meta-D, horizontal rule
  105.  	S_sw_ml: \xb3			# meta-3, vertical rule
  106.  	S_sw_mr: \xb3			# meta-3, vertical rule
  107.  	S_explode4: \xb3		# meta-3, vertical rule
  108.  	S_explode6: \xb3		# meta-3, vertical rule
  109.  finish
  110.  
  111.  start: IBMGraphics_2
  112.  	Handling: IBM
  113.  	S_vwall: \xb3			# meta-3, vertical rule
  114.  	S_hwall: \xc4			# meta-D, horizontal rule
  115.  	S_tlcorn: \xda			# meta-Z, top left corner
  116.  	S_trcorn: \xbf			# meta-?, top right corner
  117.  	S_blcorn: \xc0			# meta-@, bottom left
  118.  	S_brcorn: \xd9			# meta-Y, bottom right
  119.  	S_crwall: \xc5			# meta-E, cross
  120.  	S_tuwall: \xc1			# meta-A, T up
  121.  	S_tdwall: \xc2			# meta-B, T down
  122.  	S_tlwall: \xb4			# meta-4, T left
  123.  	S_trwall: \xc3			# meta-C, T right
  124.  	S_vodoor: \xfe			# meta-~, small centered square
  125.  	S_hodoor: \xfe			# meta-~, small centered square
  126.  	S_corr: \xb0			# meta-0, light shading
  127.  	S_litcorr: \xb1			# meta-1, medium shading
  128.  	S_vbeam: \xb3			# meta-3, vertical rule
  129.  	S_hbeam: \xc4			# meta-D, horizontal rule
  130.  	S_sw_ml: \xb3			# meta-3, vertical rule
  131.  	S_sw_mr: \xb3			# meta-3, vertical rule
  132.  	S_explode4: \xb3		# meta-3, vertical rule
  133.  	S_explode6: \xb3		# meta-3, vertical rule
  134.  finish
  135.  
  136.  start: MACgraphics
  137.  	Handling: MAC
  138.  	S_vwall: \xba
  139.  	S_hwall: \xcd
  140.  	S_tlcorn: \xc9
  141.  	S_trcorn: \xbb
  142.  	S_blcorn: \xc8
  143.  	S_brcorn: \xbc
  144.  	S_crwall: \xce
  145.  	S_tuwall: \xca
  146.  	S_tdwall: \xcb
  147.  	S_tlwall: \xb9
  148.  	S_trwall: \xcc
  149.  	S_ndoor: \xb0
  150.  	S_vodoor: \xee
  151.  	S_hodoor: \xee
  152.  	S_vcdoor: \xef
  153.  	S_hcdoor: \xef
  154.  	S_bars: \xf0			# equivalency symbol
  155.  	S_tree: \xf1			# plus-or-minus
  156.  	S_corr: \xb0
  157.  	S_grave: \xef			# same as open door
  158.  	S_pool: \xe0
  159.  finish
  160.  
  161.  start: RogueIBM
  162.  	Handling: IBM
  163.  	Restrictions: rogue
  164.  	S_weapon: \x29
  165.  	S_amulet: \x2c
  166.  	S_food: \x3a
  167.  	S_potion: \xad
  168.  	S_scroll: \x3f
  169.  	S_book: \x2b
  170.  	S_wand: \xe7
  171.  	S_vwall: \xba			# all walls now use
  172.  	S_hwall: \xcd			# double line graphics
  173.  	S_tlcorn: \xc9 
  174.  	S_trcorn: \xbb 
  175.  	S_blcorn: \xc8 
  176.  	S_brcorn: \xbc 
  177.  	S_crwall: \xce 
  178.  	S_tuwall: \xca 
  179.  	S_tdwall: \xcb 
  180.  	S_tlwall: \xb9 
  181.  	S_trwall: \xcc 
  182.  	S_ndoor: \xce 
  183.  	S_vodoor: \xce 
  184.  	S_hodoor: \xce 
  185.  	S_room: \xfa			# centered dot 
  186.  	S_corr: \xb1 
  187.  	S_litcorr: \xb2 
  188.  	S_upstair: \xf0			# Greek Xi 
  189.  	S_dnstair: \xf0 
  190.  finish
  191.  
  192.  start: RogueEpyx
  193.  	Description: Rogue level color symbol set like Epyx Rogue
  194.  	Restrictions: rogue
  195.  	Handling: IBM
  196.  	Color: Yes
  197.  	S_weapon: \x18			# up arrow
  198.  	S_armor: \x0a			# Vert rect with o
  199.  	S_ring: \x09			# circle with arrow
  200.  	S_amulet: \x0c			# "female" symbol
  201.  	S_food: \x05			# club (as in cards)			
  202.  	S_potion: \xad			# upside down '!'
  203.  	S_scroll: \x0e			# musical note
  204.  	S_wand: \xe7			# greek tau
  205.  	S_coin: \x0f			# yes it's the same as gems
  206.  	S_gem: \x0f			# fancy '*'
  207.  	S_rock: \x60
  208.  	S_ball: \x30
  209.  	S_chain: \x5f
  210.  	S_venom: \x2e
  211.  	S_vwall: \xba			# all walls now use
  212.  	S_hwall: \xcd			# double line graphics
  213.  	S_tlcorn: \xc9 
  214.  	S_trcorn: \xbb 
  215.  	S_blcorn: \xc8 
  216.  	S_brcorn: \xbc 
  217.  	S_crwall: \xce 
  218.  	S_tuwall: \xca 
  219.  	S_tdwall: \xcb 
  220.  	S_tlwall: \xb9 
  221.  	S_trwall: \xcc 
  222.  	S_ndoor: \xce 
  223.  	S_vodoor: \xce 
  224.  	S_hodoor: \xce 
  225.  	S_room: \xfa			# centered dot 
  226.  	S_corr: \xb1 
  227.  	S_litcorr: \xb2 
  228.  	S_upstair: \xf0			# Greek Xi 
  229.  	S_dnstair: \xf0 
  230.  	S_arrow_trap: \x04		# diamond (cards) 
  231.  	S_dart_trap: \x04 
  232.  	S_falling_rock_trap: \x04 
  233.  	S_squeaky_board: \x04 
  234.  	S_bear_trap: \x04 
  235.  	S_land_mine: \x04 
  236.  	S_rolling_boulder_trap: \x04 
  237.  	S_sleeping_gas_trap: \x04 
  238.  	S_rust_trap: \x04 
  239.  	S_fire_trap: \x04 
  240.  	S_pit: \x04 
  241.  	S_spiked_pit: \x04 
  242.  	S_hole: \x04 
  243.  	S_trap_door: \x04 
  244.  	S_teleportation_trap: \x04 
  245.  	S_level_teleporter: \x04 
  246.  	S_magic_portal: \x04 
  247.  	S_web: \x04 
  248.  	S_statue_trap: \x04 
  249.  	S_magic_trap: \x04 
  250.  	S_anti_magic_trap: \x04 
  251.  	S_polymorph_trap: \x04 
  252.  	S_weapon: \x18
  253.  	S_armor: \x5b
  254.  	S_ring: \x3d
  255.  	S_amulet: \xc
  256.  	S_tool: \x28
  257.  	S_food: \x5
  258.  	S_potion: \xad
  259.  	S_scroll: \xe
  260.  	S_book: \x2b
  261.  	S_wand: \xe7
  262.  	S_coin: \xf
  263.  	S_gem: \xf
  264.  	S_rock: \x60
  265.  	S_ball: \x30
  266.  	S_chain: \x5f
  267.  	S_venom: \x2e
  268.  	S_human: \x01
  269.  finish
  270.  
  271.  start: RogueWindows
  272.  	Restrictions: rogue
  273.  	Handling: IBM
  274.  	S_weapon: \x29
  275.  	S_amulet: \x2c
  276.  	S_food: \x3a
  277.  	S_potion: \xad
  278.  	S_scroll: \x3f
  279.  	S_book: \x2b
  280.  	S_wand: \xe7
  281.  	S_vwall: \xba			# all walls now use
  282.  	S_hwall: \xcd			# double line graphics
  283.  	S_tlcorn: \xc9 
  284.  	S_trcorn: \xbb 
  285.  	S_blcorn: \xc8 
  286.  	S_brcorn: \xbc 
  287.  	S_crwall: \xce 
  288.  	S_tuwall: \xca 
  289.  	S_tdwall: \xcb 
  290.  	S_tlwall: \xb9 
  291.  	S_trwall: \xcc 
  292.  	S_ndoor: \xce 
  293.  	S_vodoor: \xce 
  294.  	S_hodoor: \xce 
  295.  	S_room: \xfa			# centered dot 
  296.  	S_corr: \xb1 
  297.  	S_litcorr: \xb2 
  298.  	S_upstair: \xf0			# Greek Xi 
  299.  	S_dnstair: \xf0 
  300.  finish
  301.  
  302.  # Recommended symset for blind players 
  303.  # courtesy Michael Feir
  304.  start: NHAccess
  305.  	Description: Recommended for blind players
  306.  	S_stone: \032
  307.  	S_vwall: \124
  308.  	S_hwall: \045
  309.  	S_tlcorn: \124
  310.  	S_trcorn: \124
  311.  	S_blcorn: \124
  312.  	S_brcorn: \124
  313.  	S_crwall: \045
  314.  	S_tuwall: \045
  315.  	S_tdwall: \045 
  316.  	S_tlwall: \124
  317.  	S_trwall: \124
  318.  	S_ndoor: \046
  319.  	S_vodoor: \045
  320.  	S_hodoor: \124
  321.  	S_vcdoor: \043
  322.  	S_hcdoor: \043
  323.  	S_bars: \046
  324.  	S_tree: \035
  325.  	S_room: \035
  326.  	S_corr: \060
  327.  	S_litcorr: \062 
  328.  	S_upstair: \060
  329.  	S_dnstair: \062
  330.  	S_upladder: \095
  331.  	S_dnladder: \092
  332.  	S_altar: \035
  333.  	S_grave: \126
  334.  	S_throne: \126
  335.  	S_sink: \126
  336.  	S_fountain: \126 
  337.  	S_pool: \042
  338.  	S_ice: \042
  339.  	S_lava: \035
  340.  	S_vodbridge: \035
  341.  	S_hodbridge: \032 
  342.  	S_vcdbridge: \035
  343.  	S_hcdbridge: \126
  344.  	S_arrow_trap: \094
  345.  	S_dart_trap: \094
  346.  	S_falling_rock_trap: \094 
  347.  	S_squeaky_board: \094
  348.  	S_bear_trap: \094
  349.  	S_land_mine: \094
  350.  	S_rolling_boulder_trap: \094 
  351.  	S_sleeping_gas_trap: \094
  352.  	S_rust_trap: \094
  353.  	S_fire_trap: \094
  354.  	S_pit: \094
  355.  	S_spiked_pit: \094
  356.  	S_hole: \094
  357.  	S_trap_door: \094 
  358.  	S_teleportation_trap: \094
  359.  	S_level_teleporter: \094
  360.  	S_magic_portal: \094
  361.  	S_web: \094
  362.  	S_statue_trap: \094 
  363.  	S_magic_trap: \094
  364.  	S_anti_magic_trap: \094 
  365.  	S_polymorph_trap: \094
  366.  	S_vbeam: \124
  367.  	S_hbeam: \095
  368.  	S_lslant: \092
  369.  	S_rslant: \047
  370.  	S_digbeam: \042
  371.  	S_flashbeam: \033
  372.  	S_boomleft: \041
  373.  	S_boomright: \040
  374.  	S_ss1: \048
  375.  	S_ss2: \035
  376.  	S_ss3: \064
  377.  	S_ss4: \042
  378.  	S_sw_tl: \047
  379.  	S_sw_tc: \045
  380.  	S_sw_tr: \092
  381.  	S_sw_ml: \058
  382.  	S_sw_mr: \058
  383.  	S_sw_bl: \092
  384.  	S_sw_bc: \045
  385.  	S_sw_br: \047
  386.  	S_explode1: \047 
  387.  	S_explode2: \045
  388.  	S_explode3: \092
  389.  	S_explode4: \058
  390.  	S_explode5: \032
  391.  	S_explode6: \058
  392.  	S_explode7: \092
  393.  	S_explode8: \045
  394.  	S_explode9: \047
  395.  finish
  396.