1 # NetHack 3.6 symbols $NHDT-Date: 1572892906 2019/11/04 18:41:46 $ $NHDT-Branch: NetHack-3.6 $:$NHDT-Revision: 1.21 $
2 # Copyright (c) 2006 by Michael Allison
3 # NetHack may be freely redistributed. See license for details.
5 # Symbol sets for use in NetHack's text-based display.
7 # IBMgraphics works by specifying special characters which reside
8 # outside the range of normal printable characters. It has subsets
9 # for use where the internal code page is different than the one
10 # used by US ASCII (437) and has some different special characters.
12 # DECgraphics works by switching back and forth between two fonts,
13 # where the alternate one substitutes special characters in place
14 # of ordinary printable characters in the lowercase letter range.
15 # NetHack encodes the request to use the alternate font here by
16 # having the high bit set (in hexadecimal, \x80 is combined with
17 # a character code between \x5f and \x7e) (not 0x60 to 0x7f as was
18 # previously claimed).
20 # curses is an approximation of IBMgraphics which relies on DEC
21 # mode of operation, with a few characters missing. It is based
22 # on an old graphics mode for the Curses interface and is the default
23 # on that windowport if no symset is specified. The Curses interface
24 # can also use DECgraphics as-is; IBMgraphics probably won't work.
26 # plain looks decent for room+corridor levels where there aren't a lot
27 # of wall corners and ones present tend to be spread out, but it looks
28 # awful for wallified mazes
30 Description: same as default symbols, except '+' for corner walls
40 finish #plain -- other symbols implicitly retain their default values
42 # Recommended symset for blind players
43 # courtesy Michael Feir
45 Description: recommended for blind players
86 S_falling_rock_trap: \094
90 S_rolling_boulder_trap: \094
91 S_sleeping_gas_trap: \094
98 S_teleportation_trap: \094
99 S_level_teleporter: \094
104 S_anti_magic_trap: \094
105 S_polymorph_trap: \094
137 # All symbols are spaces
139 Description: completely blank symbols
145 S_anti_magic_trap: \032
187 S_falling_rock_trap: \032
220 S_level_teleporter: \032
239 S_polymorph_trap: \032
248 S_rolling_boulder_trap: \032
255 S_sleeping_gas_trap: \032
259 S_squeaky_board: \032
276 S_teleportation_trap: \032
297 S_vibrating_square: \032
317 Description: special line-drawing characters used for walls
318 # Restrictions: primary
320 S_vwall: \xb3 # meta-3, vertical rule
321 S_hwall: \xc4 # meta-D, horizontal rule
322 S_tlcorn: \xda # meta-Z, top left corner
323 S_trcorn: \xbf # meta-?, top right corner
324 S_blcorn: \xc0 # meta-@, bottom left
325 S_brcorn: \xd9 # meta-Y, bottom right
326 S_crwall: \xc5 # meta-E, cross
327 S_tuwall: \xc1 # meta-A, T up
328 S_tdwall: \xc2 # meta-B, T down
329 S_tlwall: \xb4 # meta-4, T left
330 S_trwall: \xc3 # meta-C, T right
331 S_ndoor: \xfa # meta-z, centered dot
332 S_vodoor: \xfe # meta-~, small centered square
333 S_hodoor: \xfe # meta-~, small centered square
334 S_bars: \xf0 # equivalence symbol
335 S_tree: \xf1 # plus or minus symbol
336 S_room: \xfa # meta-z, centered dot
337 S_corr: \xb0 # meta-0, light shading
338 S_litcorr: \xb1 # meta-1, medium shading
339 S_fountain: \xf4 # meta-t, integral top half
340 S_pool: \xf7 # meta-w, approx. equals
341 S_ice: \xfa # meta-z, centered dot
342 S_lava: \xf7 # meta-w, approx. equals
343 S_vodbridge: \xfa # meta-z, centered dot
344 S_hodbridge: \xfa # meta-z, centered dot
345 S_water: \xf7 # meta-w, approx. equals
346 S_vbeam: \xb3 # meta-3, vertical rule
347 S_hbeam: \xc4 # meta-D, horizontal rule
348 S_sw_ml: \xb3 # meta-3, vertical rule
349 S_sw_mr: \xb3 # meta-3, vertical rule
350 S_explode4: \xb3 # meta-3, vertical rule
351 S_explode6: \xb3 # meta-3, vertical rule
355 # Restrictions: primary
357 S_vwall: \xb3 # meta-3, vertical rule
358 S_hwall: \xc4 # meta-D, horizontal rule
359 S_tlcorn: \xda # meta-Z, top left corner
360 S_trcorn: \xbf # meta-?, top right corner
361 S_blcorn: \xc0 # meta-@, bottom left
362 S_brcorn: \xd9 # meta-Y, bottom right
363 S_crwall: \xc5 # meta-E, cross
364 S_tuwall: \xc1 # meta-A, T up
365 S_tdwall: \xc2 # meta-B, T down
366 S_tlwall: \xb4 # meta-4, T left
367 S_trwall: \xc3 # meta-C, T right
368 S_vbeam: \xb3 # meta-3, vertical rule
369 S_hbeam: \xc4 # meta-D, horizontal rule
370 S_sw_ml: \xb3 # meta-3, vertical rule
371 S_sw_mr: \xb3 # meta-3, vertical rule
372 S_explode4: \xb3 # meta-3, vertical rule
373 S_explode6: \xb3 # meta-3, vertical rule
377 # Restrictions: primary
379 S_vwall: \xb3 # meta-3, vertical rule
380 S_hwall: \xc4 # meta-D, horizontal rule
381 S_tlcorn: \xda # meta-Z, top left corner
382 S_trcorn: \xbf # meta-?, top right corner
383 S_blcorn: \xc0 # meta-@, bottom left
384 S_brcorn: \xd9 # meta-Y, bottom right
385 S_crwall: \xc5 # meta-E, cross
386 S_tuwall: \xc1 # meta-A, T up
387 S_tdwall: \xc2 # meta-B, T down
388 S_tlwall: \xb4 # meta-4, T left
389 S_trwall: \xc3 # meta-C, T right
390 S_vodoor: \xfe # meta-~, small centered square
391 S_hodoor: \xfe # meta-~, small centered square
392 S_corr: \xb0 # meta-0, light shading
393 S_litcorr: \xb1 # meta-1, medium shading
394 S_vbeam: \xb3 # meta-3, vertical rule
395 S_hbeam: \xc4 # meta-D, horizontal rule
396 S_sw_ml: \xb3 # meta-3, vertical rule
397 S_sw_mr: \xb3 # meta-3, vertical rule
398 S_explode4: \xb3 # meta-3, vertical rule
399 S_explode6: \xb3 # meta-3, vertical rule
412 S_vwall: \xba # all walls now use
413 S_hwall: \xcd # double line graphics
426 S_room: \xfa # centered dot
429 S_upstair: \xf0 # Greek Xi
434 Description: rogue level color symbol set like Epyx Rogue
438 S_vwall: \xba # all walls now use
439 S_hwall: \xcd # double line graphics
452 S_room: \xfa # centered dot
455 S_upstair: \xf0 # Greek Xi
457 S_arrow_trap: \x04 # diamond (cards)
459 S_falling_rock_trap: \x04
460 S_squeaky_board: \x04
463 S_rolling_boulder_trap: \x04
464 S_sleeping_gas_trap: \x04
471 S_teleportation_trap: \x04
472 S_level_teleporter: \x04
477 S_anti_magic_trap: \x04
478 S_polymorph_trap: \x04
479 S_weapon: \x18 # up arrow
480 # ^J S_armor: \x0a # Vert rect with o
481 S_armor: \x5b # default: '['
482 # ^I S_ring: \x09 # circle with arrow
483 S_ring: \x3d # default: '='
484 S_amulet: \x0c # "female" symbol
485 S_tool: \x28 # default: '('
486 S_food: \x05 # club (as in cards)
487 S_potion: \xad # upside down '!'
488 S_scroll: \x0e # musical note
489 S_book: \x2b # default: '+'
490 S_wand: \xe7 # greek tau
491 S_coin: \x0f # yes it's the same as gems
492 S_gem: \x0f # fancy '*'
514 S_vwall: \xba # all walls now use
515 S_hwall: \xcd # double line graphics
528 S_room: \xfa # centered dot
531 S_upstair: \xf0 # Greek Xi
536 Description: approximation of IBMgraphics using DECgraphics
537 Restrictions: primary
539 S_vwall: \xf8 # meta-x, vertical rule
540 S_hwall: \xf1 # meta-q, horizontal rule
541 S_tlcorn: \xec # meta-l, top left corner
542 S_trcorn: \xeb # meta-k, top right corner
543 S_blcorn: \xed # meta-m, bottom left
544 S_brcorn: \xea # meta-j, bottom right
545 S_crwall: \xee # meta-n, cross
546 S_tuwall: \xf6 # meta-v, T up
547 S_tdwall: \xf7 # meta-w, T down
548 S_tlwall: \xf5 # meta-u, T left
549 S_trwall: \xf4 # meta-t, T right
550 S_ndoor: \xfe # meta-z, centered dot
551 S_bars: \xfc # meta-|, not-equals sign (was '#')
552 S_tree: \xe7 # meta-g, plus or minus sign
553 S_room: \xfe # meta-z, centered dot
554 S_corr: \xe1 # meta-a, solid block
555 S_litcorr: \xe1 # meta-a, solid block
556 S_ice: \xfe # meta-z, centered dot
557 S_vodbridge: \xfe # meta-z, centered dot
558 S_hodbridge: \xfe # meta-z, centered dot
559 S_vbeam: \xf8 # meta-3, vertical rule
560 S_hbeam: \xf1 # meta-D, horizontal rule
561 S_sw_ml: \xf8 # meta-3, vertical rule
562 S_sw_mr: \xf8 # meta-3, vertical rule
563 S_explode4: \xf8 # meta-3, vertical rule
564 S_explode6: \xf8 # meta-3, vertical rule
568 Description: special line-drawing characters used for walls
569 Restrictions: primary
571 S_vwall: \xf8 # meta-x, vertical rule
572 S_hwall: \xf1 # meta-q, horizontal rule
573 S_tlcorn: \xec # meta-l, top left corner
574 S_trcorn: \xeb # meta-k, top right corner
575 S_blcorn: \xed # meta-m, bottom left
576 S_brcorn: \xea # meta-j, bottom right
577 S_crwall: \xee # meta-n, cross
578 S_tuwall: \xf6 # meta-v, T up
579 S_tdwall: \xf7 # meta-w, T down
580 S_tlwall: \xf5 # meta-u, T left
581 S_trwall: \xf4 # meta-t, T right
582 S_ndoor: \xfe # meta-~, centered dot
583 S_vodoor: \xe1 # meta-a, solid block
584 S_hodoor: \xe1 # meta-a, solid block
585 S_bars: \xfc # meta-|, not-equals (used to be pi)
586 S_tree: \xe7 # meta-g, plus-or-minus
587 S_room: \xfe # meta-~, centered dot
588 S_upladder: \xf9 # meta-y, less-than-or-equals
589 S_dnladder: \xfa # meta-z, greater-than-or-equals
590 S_altar: \xfb # meta-{, pi (used to default to '_')
591 S_pool: \xe0 # meta-\, diamond
592 S_ice: \xfe # meta-~, centered dot
593 S_lava: \xe0 # meta-\, diamond
594 S_vodbridge: \xfe # meta-~, centered dot
595 S_hodbridge: \xfe # meta-~, centered dot
596 S_water: \xe0 # meta-\, diamond
597 S_vbeam: \xf8 # meta-x, vertical rule
598 S_hbeam: \xf1 # meta-q, horizontal rule
599 S_sw_tc: \xef # meta-o, high horizontal line
600 S_sw_ml: \xf8 # meta-x, vertical rule
601 S_sw_mr: \xf8 # meta-x, vertical rule
602 S_sw_bc: \xf3 # meta-s, low horizontal line
603 S_explode2: \xef # meta-o, high horizontal line
604 S_explode4: \xf8 # meta-x, vertical rule
605 S_explode6: \xf8 # meta-x, vertical rule
606 S_explode8: \xf3 # meta-s, low horizontal line
610 # Description: (pre-OSX: obsolete?)
611 # Restrictions: primary
629 S_bars: \xf0 # equivalency symbol
630 S_tree: \xf1 # plus-or-minus
632 S_grave: \xef # same as open door