Source:NetHack 3.6.5/dat/symbols
Jump to navigation
Jump to search
Below is the full text to symbols from the source code of NetHack 3.6.5. To link to a particular line, write [[Source:NetHack 3.6.5/dat/symbols#line12]], 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. # 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. 4. # 5. # Symbol sets for use in NetHack's text-based display. 6. # 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. 11. # 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). 19. # 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. 25. 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 29. start: plain 30. Description: same as default symbols, except '+' for corner walls 31. S_tlcorn: '+' 32. S_trcorn: '+' 33. S_blcorn: '+' 34. S_brcorn: '+' 35. S_crwall: '+' 36. S_tuwall: '+' 37. S_tdwall: '+' 38. S_tlwall: '+' 39. S_trwall: '+' 40. finish #plain -- other symbols implicitly retain their default values 41. 42. # Recommended symset for blind players 43. # courtesy Michael Feir 44. start: NHAccess 45. Description: recommended for blind players 46. S_stone: \032 47. S_vwall: \124 48. S_hwall: \045 49. S_tlcorn: \124 50. S_trcorn: \124 51. S_blcorn: \124 52. S_brcorn: \124 53. S_crwall: \045 54. S_tuwall: \045 55. S_tdwall: \045 56. S_tlwall: \124 57. S_trwall: \124 58. S_ndoor: \046 59. S_vodoor: \045 60. S_hodoor: \124 61. S_vcdoor: \043 62. S_hcdoor: \043 63. S_bars: \046 64. S_tree: \035 65. S_room: \035 66. S_corr: \060 67. S_litcorr: \062 68. S_upstair: \060 69. S_dnstair: \062 70. S_upladder: \095 71. S_dnladder: \092 72. S_altar: \035 73. S_grave: \126 74. S_throne: \126 75. S_sink: \126 76. S_fountain: \126 77. S_pool: \042 78. S_ice: \042 79. S_lava: \035 80. S_vodbridge: \035 81. S_hodbridge: \032 82. S_vcdbridge: \035 83. S_hcdbridge: \126 84. S_arrow_trap: \094 85. S_dart_trap: \094 86. S_falling_rock_trap: \094 87. S_squeaky_board: \094 88. S_bear_trap: \094 89. S_land_mine: \094 90. S_rolling_boulder_trap: \094 91. S_sleeping_gas_trap: \094 92. S_rust_trap: \094 93. S_fire_trap: \094 94. S_pit: \094 95. S_spiked_pit: \094 96. S_hole: \094 97. S_trap_door: \094 98. S_teleportation_trap: \094 99. S_level_teleporter: \094 100. S_magic_portal: \094 101. S_web: \094 102. S_statue_trap: \094 103. S_magic_trap: \094 104. S_anti_magic_trap: \094 105. S_polymorph_trap: \094 106. S_vbeam: \124 107. S_hbeam: \095 108. S_lslant: \092 109. S_rslant: \047 110. S_digbeam: \042 111. S_flashbeam: \033 112. S_boomleft: \041 113. S_boomright: \040 114. S_ss1: \048 115. S_ss2: \035 116. S_ss3: \064 117. S_ss4: \042 118. S_sw_tl: \047 119. S_sw_tc: \045 120. S_sw_tr: \092 121. S_sw_ml: \058 122. S_sw_mr: \058 123. S_sw_bl: \092 124. S_sw_bc: \045 125. S_sw_br: \047 126. S_explode1: \047 127. S_explode2: \045 128. S_explode3: \092 129. S_explode4: \058 130. S_explode5: \032 131. S_explode6: \058 132. S_explode7: \092 133. S_explode8: \045 134. S_explode9: \047 135. finish 136. 137. # All symbols are spaces 138. start: Blank 139. Description: completely blank symbols 140. S_air: \032 141. S_altar: \032 142. S_amulet: \032 143. S_angel: \032 144. S_ant: \032 145. S_anti_magic_trap: \032 146. S_armor: \032 147. S_armour: \032 148. S_arrow_trap: \032 149. S_ball: \032 150. S_bars: \032 151. S_bat: \032 152. S_bear_trap: \032 153. S_blcorn: \032 154. S_blob: \032 155. S_book: \032 156. S_boomleft: \032 157. S_boomright: \032 158. S_boulder: \032 159. S_brcorn: \032 160. S_centaur: \032 161. S_chain: \032 162. S_cloud: \032 163. S_cockatrice: \032 164. S_coin: \032 165. S_corr: \032 166. S_crwall: \032 167. S_darkroom: \032 168. S_dart_trap: \032 169. S_demon: \032 170. S_digbeam: \032 171. S_dnladder: \032 172. S_dnstair: \032 173. S_dog: \032 174. S_dragon: \032 175. S_eel: \032 176. S_elemental: \032 177. S_explode1: \032 178. S_explode2: \032 179. S_explode3: \032 180. S_explode4: \032 181. S_explode5: \032 182. S_explode6: \032 183. S_explode7: \032 184. S_explode8: \032 185. S_explode9: \032 186. S_eye: \032 187. S_falling_rock_trap: \032 188. S_feline: \032 189. S_fire_trap: \032 190. S_flashbeam: \032 191. S_food: \032 192. S_fountain: \032 193. S_fungus: \032 194. S_gem: \032 195. S_ghost: \032 196. S_giant: \032 197. S_gnome: \032 198. S_golem: \032 199. S_grave: \032 200. S_gremlin: \032 201. S_hbeam: \032 202. S_hcdbridge: \032 203. S_hcdoor: \032 204. S_hodbridge: \032 205. S_hodoor: \032 206. S_hole: \032 207. S_human: \032 208. S_humanoid: \032 209. S_hwall: \032 210. S_ice: \032 211. S_imp: \032 212. S_invisible: \032 213. S_jabberwock: \032 214. S_jelly: \032 215. S_kobold: \032 216. S_kop: \032 217. S_land_mine: \032 218. S_lava: \032 219. S_leprechaun: \032 220. S_level_teleporter: \032 221. S_lich: \032 222. S_light: \032 223. S_litcorr: \032 224. S_lizard: \032 225. S_lslant: \032 226. S_magic_portal: \032 227. S_magic_trap: \032 228. S_mimic: \032 229. S_mimic_def: \032 230. S_mummy: \032 231. S_naga: \032 232. S_ndoor: \032 233. S_nymph: \032 234. S_ogre: \032 235. S_orc: \032 236. S_piercer: \032 237. S_pit: \032 238. S_poisoncloud: \032 239. S_polymorph_trap: \032 240. S_pool: \032 241. S_potion: \032 242. S_pudding: \032 243. S_quadruped: \032 244. S_quantmech: \032 245. S_ring: \032 246. S_rock: \032 247. S_rodent: \032 248. S_rolling_boulder_trap: \032 249. S_room: \032 250. S_rslant: \032 251. S_rust_trap: \032 252. S_rustmonst: \032 253. S_scroll: \032 254. S_sink: \032 255. S_sleeping_gas_trap: \032 256. S_snake: \032 257. S_spider: \032 258. S_spiked_pit: \032 259. S_squeaky_board: \032 260. S_ss1: \032 261. S_ss2: \032 262. S_ss3: \032 263. S_ss4: \032 264. S_statue_trap: \032 265. S_stone: \032 266. S_strange_obj: \032 267. S_sw_bc: \032 268. S_sw_bl: \032 269. S_sw_br: \032 270. S_sw_ml: \032 271. S_sw_mr: \032 272. S_sw_tc: \032 273. S_sw_tl: \032 274. S_sw_tr: \032 275. S_tdwall: \032 276. S_teleportation_trap: \032 277. S_throne: \032 278. S_tlcorn: \032 279. S_tlwall: \032 280. S_tool: \032 281. S_trap_door: \032 282. S_trapper: \032 283. S_trcorn: \032 284. S_tree: \032 285. S_troll: \032 286. S_trwall: \032 287. S_tuwall: \032 288. S_umber: \032 289. S_unicorn: \032 290. S_upladder: \032 291. S_upstair: \032 292. S_vampire: \032 293. S_vbeam: \032 294. S_vcdbridge: \032 295. S_vcdoor: \032 296. S_venom: \032 297. S_vibrating_square: \032 298. S_vodbridge: \032 299. S_vodoor: \032 300. S_vortex: \032 301. S_vwall: \032 302. S_wand: \032 303. S_water: \032 304. S_weapon: \032 305. S_web: \032 306. S_worm: \032 307. S_worm_tail: \032 308. S_wraith: \032 309. S_xan: \032 310. S_xorn: \032 311. S_yeti: \032 312. S_zombie: \032 313. S_zruty: \032 314. finish 315. 316. start: IBMgraphics 317. Description: special line-drawing characters used for walls 318. # Restrictions: primary 319. Handling: IBM 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 352. finish 353. 354. start: IBMGraphics_1 355. # Restrictions: primary 356. Handling: IBM 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 374. finish 375. 376. start: IBMGraphics_2 377. # Restrictions: primary 378. Handling: IBM 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 400. finish 401. 402. start: RogueIBM 403. Handling: IBM 404. Restrictions: rogue 405. S_weapon: \x29 406. S_amulet: \x2c 407. S_food: \x3a 408. S_potion: \xad 409. S_scroll: \x3f 410. S_book: \x2b 411. S_wand: \xe7 412. S_vwall: \xba # all walls now use 413. S_hwall: \xcd # double line graphics 414. S_tlcorn: \xc9 415. S_trcorn: \xbb 416. S_blcorn: \xc8 417. S_brcorn: \xbc 418. S_crwall: \xce 419. S_tuwall: \xca 420. S_tdwall: \xcb 421. S_tlwall: \xb9 422. S_trwall: \xcc 423. S_ndoor: \xce 424. S_vodoor: \xce 425. S_hodoor: \xce 426. S_room: \xfa # centered dot 427. S_corr: \xb1 428. S_litcorr: \xb2 429. S_upstair: \xf0 # Greek Xi 430. S_dnstair: \xf0 431. finish 432. 433. start: RogueEpyx 434. Description: rogue level color symbol set like Epyx Rogue 435. Restrictions: rogue 436. Handling: IBM 437. Color: Yes 438. S_vwall: \xba # all walls now use 439. S_hwall: \xcd # double line graphics 440. S_tlcorn: \xc9 441. S_trcorn: \xbb 442. S_blcorn: \xc8 443. S_brcorn: \xbc 444. S_crwall: \xce 445. S_tuwall: \xca 446. S_tdwall: \xcb 447. S_tlwall: \xb9 448. S_trwall: \xcc 449. S_ndoor: \xce 450. S_vodoor: \xce 451. S_hodoor: \xce 452. S_room: \xfa # centered dot 453. S_corr: \xb1 454. S_litcorr: \xb2 455. S_upstair: \xf0 # Greek Xi 456. S_dnstair: \xf0 457. S_arrow_trap: \x04 # diamond (cards) 458. S_dart_trap: \x04 459. S_falling_rock_trap: \x04 460. S_squeaky_board: \x04 461. S_bear_trap: \x04 462. S_land_mine: \x04 463. S_rolling_boulder_trap: \x04 464. S_sleeping_gas_trap: \x04 465. S_rust_trap: \x04 466. S_fire_trap: \x04 467. S_pit: \x04 468. S_spiked_pit: \x04 469. S_hole: \x04 470. S_trap_door: \x04 471. S_teleportation_trap: \x04 472. S_level_teleporter: \x04 473. S_magic_portal: \x04 474. S_web: \x04 475. S_statue_trap: \x04 476. S_magic_trap: \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 '*' 493. S_rock: \x60 494. S_ball: \x30 495. S_chain: \x5f 496. S_venom: \x2e 497. S_rock: \x60 498. S_ball: \x30 499. S_chain: \x5f 500. S_venom: \x2e 501. S_human: \x01 502. finish 503. 504. start: RogueWindows 505. Restrictions: rogue 506. Handling: IBM 507. S_weapon: \x29 508. S_amulet: \x2c 509. S_food: \x3a 510. S_potion: \xad 511. S_scroll: \x3f 512. S_book: \x2b 513. S_wand: \xe7 514. S_vwall: \xba # all walls now use 515. S_hwall: \xcd # double line graphics 516. S_tlcorn: \xc9 517. S_trcorn: \xbb 518. S_blcorn: \xc8 519. S_brcorn: \xbc 520. S_crwall: \xce 521. S_tuwall: \xca 522. S_tdwall: \xcb 523. S_tlwall: \xb9 524. S_trwall: \xcc 525. S_ndoor: \xce 526. S_vodoor: \xce 527. S_hodoor: \xce 528. S_room: \xfa # centered dot 529. S_corr: \xb1 530. S_litcorr: \xb2 531. S_upstair: \xf0 # Greek Xi 532. S_dnstair: \xf0 533. finish 534. 535. start: curses 536. Description: approximation of IBMgraphics using DECgraphics 537. Restrictions: primary 538. Handling: DEC 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 565. finish 566. 567. start: DECgraphics 568. Description: special line-drawing characters used for walls 569. Restrictions: primary 570. Handling: DEC 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 607. finish 608. 609. start: MACgraphics 610. # Description: (pre-OSX: obsolete?) 611. # Restrictions: primary 612. Handling: MAC 613. S_vwall: \xba 614. S_hwall: \xcd 615. S_tlcorn: \xc9 616. S_trcorn: \xbb 617. S_blcorn: \xc8 618. S_brcorn: \xbc 619. S_crwall: \xce 620. S_tuwall: \xca 621. S_tdwall: \xcb 622. S_tlwall: \xb9 623. S_trwall: \xcc 624. S_ndoor: \xb0 625. S_vodoor: \xee 626. S_hodoor: \xee 627. S_vcdoor: \xef 628. S_hcdoor: \xef 629. S_bars: \xf0 # equivalency symbol 630. S_tree: \xf1 # plus-or-minus 631. S_corr: \xb0 632. S_grave: \xef # same as open door 633. S_pool: \xe0 634. finish 635. 636. # symbols EOF