SYMBOLS=S_ghost:

Resolves #1448
This commit is contained in:
nhmall
2025-10-05 22:10:34 -04:00
parent 9b375ea488
commit 60e2598d81
4 changed files with 12 additions and 10 deletions

View File

@@ -3664,7 +3664,7 @@ See the \(lqModifying NetHack Symbols\(rq section.
Example: Example:
.sd .sd
\f(CR# replace small punctuation (tick marks) with digits\fP \f(CR# replace small punctuation (tick marks) with digits\fP
\f(CRSYMBOLS=S_boulder:0,S_golem:7\fP \f(CRSYMBOLS=S_golem:7\fP
.ed .ed
.lp WIZKIT .lp WIZKIT
Debug mode only: extra items to add to initial inventory. Debug mode only: extra items to add to initial inventory.
@@ -3699,7 +3699,8 @@ OPTIONS=color # Display things in color if possible
OPTIONS=lit_corridor # Show lit corridors differently OPTIONS=lit_corridor # Show lit corridors differently
OPTIONS=hilite_pet,hilite_pile OPTIONS=hilite_pet,hilite_pile
# Replace small punctuation (tick marks) with digits # Replace small punctuation (tick marks) with digits
SYMBOLS=S_boulder:0,S_golem:7 OPTIONS=boulder:0
SYMBOLS=S_golem:7
# #
# No startup splash screen. Windows GUI only. # No startup splash screen. Windows GUI only.
OPTIONS=!splash_screen OPTIONS=!splash_screen

View File

@@ -4015,7 +4015,7 @@ Example:
%.sd %.sd
\begin{verbatim} \begin{verbatim}
# replace small punctuation (tick marks) with digits # replace small punctuation (tick marks) with digits
SYMBOLS=S_boulder:0,S_golem:7 SYMBOLS=S_golem:7
\end{verbatim} \end{verbatim}
%.ed %.ed
@@ -4051,7 +4051,8 @@ Here is an example of configuration file contents:
OPTIONS=lit_corridor # Show lit corridors differently OPTIONS=lit_corridor # Show lit corridors differently
OPTIONS=hilite_pet,hilite_pile OPTIONS=hilite_pet,hilite_pile
# Replace small punctuation (tick marks) with digits # Replace small punctuation (tick marks) with digits
SYMBOLS=S_boulder:0,S_golem:7 OPTIONS=boulder:0
SYMBOLS=S_golem:7
# No startup splash screen. Windows GUI only. # No startup splash screen. Windows GUI only.
OPTIONS=!splash_screen OPTIONS=!splash_screen

View File

@@ -251,7 +251,7 @@ glyph_find_core(
break; break;
case find_pm: case find_pm:
if (glyph_is_monster(glyph) if (glyph_is_monster(glyph)
&& monsym(&mons[glyph_to_mon(glyph)]) && mons[glyph_to_mon(glyph)].mlet
== findwhat->val) == findwhat->val)
do_callback = TRUE; do_callback = TRUE;
break; break;
@@ -819,7 +819,7 @@ parse_id(
int i = 0, j, mnum, glyph, int i = 0, j, mnum, glyph,
pm_offset = 0, oc_offset = 0, cmap_offset = 0, pm_offset = 0, oc_offset = 0, cmap_offset = 0,
pm_count = 0, oc_count = 0, cmap_count = 0; pm_count = 0, oc_count = 0, cmap_count = 0;
boolean skip_base = FALSE, skip_this_one, dump_ids = FALSE, boolean skip_base = FALSE, skip_this_one = FALSE, dump_ids = FALSE,
filling_cache = FALSE, is_S = FALSE, is_G = FALSE; filling_cache = FALSE, is_S = FALSE, is_G = FALSE;
char buf[4][QBUFSZ]; char buf[4][QBUFSZ];

View File

@@ -1235,11 +1235,11 @@ init_tilemap(void)
Snprintf(tilemap[GLYPH_STATUE_MALE_OFF + i].name, Snprintf(tilemap[GLYPH_STATUE_MALE_OFF + i].name,
sizeof tilemap[0].name, sizeof tilemap[0].name,
"statue of male %s (mnum=%d)", "statue of male %s (mnum=%d)",
tilename(MON_GLYPH, file_entry, 0), file_entry); tilename(MON_GLYPH, file_entry, 0), i);
Snprintf(tilemap[GLYPH_STATUE_MALE_PILETOP_OFF + i].name, Snprintf(tilemap[GLYPH_STATUE_MALE_PILETOP_OFF + i].name,
sizeof tilemap[0].name, sizeof tilemap[0].name,
"piletop statue of male %s (mnum=%d)", "piletop statue of male %s (mnum=%d)",
tilename(MON_GLYPH, file_entry, 0), file_entry); tilename(MON_GLYPH, file_entry, 0), i);
add_tileref(tilenum, GLYPH_STATUE_MALE_OFF + i, generated, file_entry, add_tileref(tilenum, GLYPH_STATUE_MALE_OFF + i, generated, file_entry,
tilemap[GLYPH_STATUE_MALE_OFF + i].name, tilemap[GLYPH_STATUE_MALE_OFF + i].name,
""); "");
@@ -1258,10 +1258,10 @@ init_tilemap(void)
Snprintf(tilemap[GLYPH_STATUE_FEM_OFF + i].name, Snprintf(tilemap[GLYPH_STATUE_FEM_OFF + i].name,
sizeof tilemap[0].name, sizeof tilemap[0].name,
"statue of female %s (mnum=%d)", "statue of female %s (mnum=%d)",
tilename(MON_GLYPH, file_entry, 0), file_entry); tilename(MON_GLYPH, file_entry, 0), i);
Sprintf(tilemap[GLYPH_STATUE_FEM_PILETOP_OFF + i].name, Sprintf(tilemap[GLYPH_STATUE_FEM_PILETOP_OFF + i].name,
"piletop statue of female %s (mnum=%d)", "piletop statue of female %s (mnum=%d)",
tilename(MON_GLYPH, file_entry, 0), file_entry); tilename(MON_GLYPH, file_entry, 0), i);
add_tileref(tilenum, GLYPH_STATUE_FEM_OFF + i, generated, file_entry, add_tileref(tilenum, GLYPH_STATUE_FEM_OFF + i, generated, file_entry,
tilemap[GLYPH_STATUE_FEM_OFF + i].name, ""); tilemap[GLYPH_STATUE_FEM_OFF + i].name, "");
add_tileref(tilenum, GLYPH_STATUE_FEM_PILETOP_OFF + i, generated, add_tileref(tilenum, GLYPH_STATUE_FEM_PILETOP_OFF + i, generated,