the status lines
Two lines of fields. An option colors them.
Builtneeds review5 changes builtSeen all the timeLast touched November 17, 2026: a change of its own was written or changed. Commit e438cbe2f.
In the terminal
Two lines by default (statuslines:2): line 1 "Agnes the Stripling St:18/05 Dx:13 Co:8 In:9 Wi:15 Ch:9 Neutral" (title, characteristics, alignment, score); line 2 "Dlvl:1 $:43 HP:11(14) Pw:4(5) AC:4 Xp:1/5 T:7 Hungry Burdened Blind" (level, gold, HP, Pw, AC, Xp, HD, time, hunger, encumbrance, conditions, then the optional weapon, armor, terrain and version). statuslines:3 moves alignment to line 2 and level, time, conditions and the optional fields to line 3. Fields are updated as they change (botl); none are colored unless hilite_status rules are set (statushilites 0 by default).
Quotes from NetHack
{ BL_TITLE, BL_STR, BL_DX, BL_CO, BL_IN, BL_WI, BL_CH, BL_ALIGN, BL_SCORE, BL_FLUSH,
2 more quotes
{ BL_LEVELDESC, BL_GOLD, BL_HP, BL_HPMAX, BL_ENE, BL_ENEMAX, BL_AC, BL_XP, BL_EXP, BL_HD, BL_TIME, BL_HUNGER, BL_CAP, BL_CONDITION, BL_WEAPON, BL_ARMOR, BL_TERRAIN, BL_VERS, BL_FLUSH },
iflags.wc2_statuslines = 2;
In Codex
When the hero is hit, the screen's edges flash in the attacker's color, or red, and fade.
BuiltReaction to an event
Details
Animation 10, the flash (N-33): when the status line's hit points drop, the screen's edges flash and fade in the attacker's color when a message this turn says something hit the hero and exactly one monster (not a marked pet) stands next to them, red otherwise.
- Id
codex.hit_flash- Exact state
- Built
- Playtests
journey-game- Settings
animations.hurt_flash,animations.hurt_flash_seconds- Code
crates/nh-moments/src/lib.rs,crates/nh-plays/src/wash.rs,crates/codex-client/src/wash.rs
| N-33 | Done | 6 | Animation 10: |
| N-3 | Done | Notable moments beyond those built: |
When the hero is hit, their letter is knocked back and the camera shakes by the hit points lost.
BuiltReaction to an event
Details
Animation 10, the body (N-33): the hero's letter is knocked back away from the attacker (backward from their facing when no attacker is known) and returns, and the camera shakes by the hit points lost (hurt_shake_per_hit_point each, up to hurt_shake_most), dying away: impact is physical, the one place Codex shakes the camera by default.
- Id
codex.knockback- Exact state
- Built
- Playtests
journey-game- Settings
animations.hurt_knockback,animations.hurt_shake_per_hit_point,animations.hurt_shake_most,animations.hurt_flash_seconds- Code
crates/nh-plays/src/hero/gesture.rs,crates/codex-client/src/pov.rs
| N-33 | Done | 6 | Animation 10: |
| N-3 | Done | Notable moments beyond those built: |
A changed status field turns gold when its number rises, red when it falls, and fades back.
Builtneeds reviewReaction to an event
Details
When a field on the two status lines shows different text than at the last look (HP, Pw, AC, gold, the attributes, Xp, hunger, encumbrance, conditions such as Blind or Conf, Dlvl), its text turns glint_rise_color (a warm gold) when its number went up or its words changed, or glint_fall_color (a dull red) when its number went down, and eases back to its own color over glint_seconds (director, 2026-10-31: "A drop can glint differently from a rise."). Up and down are the number's, as NetHack's own hilite_status up and down rules count them (botl.c compare_blstats), except AC, where lower is better: AC going down (armor put on) turns glint_better_armor_color (the same gold by default) and AC going up turns the fall color (director, 2026-10-31, N-195: "it absolutely should" take another color than the fall's); a change of words (hunger, a condition, the title) counts as up, as botl.c counts a changed condition. Only text in the terminal's own color changes: a field the player's highlights color (Dad's template: HP green below full, gold yellow up and brown down) keeps that color, and an inverse block or blinking text is left alone, so every difference the terminal draws stays visible. A text color only, no glow and no box. Time and Score are left out by default since they change every turn. No change on the first status of a game, a restore or a watcher joining, since every field arrives from nothing there, and a level change changes only Dlvl, since the core sends the other fields again unchanged. Only the HUD's lines: the F2 terminal view and the replays keep the terminal's colors.
- Id
codex.status_glint- Exact state
- Built, not reviewed
- Playtests
journey-game- Settings
status_lines.glint_seconds,status_lines.glint_fields,status_lines.glint_rise_color,status_lines.glint_fall_color,status_lines.glint_better_armor_color- Code
crates/nh-moments/src/lib.rs,crates/codex-client/src/hud.rs
| N-87 | Done | Status fields change color when they change |
The status lines draw the highlights the player's own NetHack options ask for, as the terminal does.
Builtneeds reviewCamera or view
Details
The player's own status highlights (statushilites, hilite_status rules, hitpointbar: all in NetHack's Windows options template, so Dad's) drawn as the tty draws them (wintty.c render_status), from nh_state::status: each field in its rule's color with its attributes, which status_update carries above the color (color | attr << 8); gray is drawn as plain text, as the tty sends no color for it (termcap.c), so Dad's hitpoints/100%/gray&normal looks like the rest of the line; bold in JetBrains Mono's bold face, dim darker (dim_brightness), underlined, inverse as the color behind dark letters, blinking as terminals blink reverse video: the letters come and go and an inverse block stays (blink_seconds; 0 holds it still); the leading blanks, the experience's slash and the blanks the tty drops after the dungeon level and the hunger stay plain. Each condition word in its own color and attributes (protocol 4's conditions: Dad's Hallu yellow, Conf orange, Stun red and bold, TermIll, FoodPois and Slime red and inverse). With hitpointbar, the title is the tty's bar: 30 columns between brackets, the hit points' percent of it in inverse video and their color (at least one column above none, one short of all below full), and while the core's critically_low_hp holds, the blanks become dashes and the bar blinks (at 0 hit points there is no bar, and the dashes stand still, as wintty.c leaves them). Behind the HP number alone (the hit points, their maximum and a blank on each side) a dark band, the terminal's black (hp_background_darkness), drawn as one box with its edges on whole pixels (N-194: a band per span left a lighter seam between spans over a lit floor), so its highlight reads over a lit floor in first person and close behind as it does on the terminal; the other fields float over the scene with no band (director, 2026-10-31: "The dark band can sit behind the HP number. ... The status highlight I like the best is only on the HP itself, nowhere else."). Every highlight the player's options ask for is still drawn, on every field, as the terminal shows them. Without such options the text is as it was. draw_highlights = false keeps only the colors. The F2 view shows the bar's brackets and dashes but not the colors or attributes (N-151).
- Id
codex.status_highlights- Exact state
- Built, not reviewed
- Playtests
journey-dads-options- Settings
status_lines.hp_background_darkness,status_lines.draw_highlights,status_lines.blink_seconds,status_lines.dim_brightness- Code
crates/nh-state/src/status.rs,crates/codex-client/src/hud.rs,crates/nh-host/csrc/codex_status.c
| N-95 | Done | ^P and the status highlights |
| N-194 | Built, not reviewed | Seams in the HP band |
When the game says you feel strong, the lantern beats bright three quick times.
BuiltReaction to an event
Details
Feeling strong on the hero's lantern (N-484, Dad: "When you feel strong your light should be strong and pulsate quickly a few times."; D-126 question 49: go-ahead). "You feel strong!" and "You feel very strong!" (attrib.c:195, plusattr at attrib.c:11: strength gained, from a potion, a giant's corpse, a fountain, a throne or exercise alike; "very" for more than one point, the same beat) play one beat: the lantern up to twice as bright over 0.6 s, beating three times in 2.2 s between three fifths of that and the whole of it, then as it was; no frame moves it by more than a tenth. Louder plays more beats for longer, never brighter. Its look-alikes are read as nothing: every other attribute gained or lost, a god's "You feel stronger." (pray.c:442), hunger's "You feel weak." (eat.c:3495), the sink's "The water flow seems stronger now." (do.c:540) (tests/lines/attributes.txt). Built on the table of conditions (X-975, nh_plays::lanes::conditions::hunger, hunger::Said::FeelStrong): the hero's lane lantern_flares, which the client's lantern takes in Hero::burns.
- Id
codex.strong- Exact state
- Built
- Playtests
gallery-hunger,hunger,hunger-as-now- Settings
light.strong_strength- Code
crates/nh-plays/src/lanes/conditions/hunger.rs,crates/nh-knobs/src/light/hunger.rs,crates/nh-moments/src/catalog/happened/attributes.rs,crates/nh-plays/src/lanes.rs,crates/codex-client/src/pov.rs
| N-484 | Built, not reviewed | The hero's light shows hunger and strength |
Applies to everything on the map (1)
- The two status lines sit at the bottom left in the terminal's order and highlight colors.
Accepted pictures and playtests
A change to how this looks is compared with these pictures before it is accepted.
gallery-hud-menu, menu. Accepted November 21, 2026. Renderer: NVIDIA GeForce GTX 1660 Super.Playtests: journey-game, journey-dads-options, gallery-hunger, hunger, hunger-as-now
Details for builders
Id: status. Lexicon subjects: chrome.status.
Design notes from NetHack
Two (or three) lines of short labels and numbers: St, Dx, Co, In, Wi, Ch, Dlvl, $, HP, Pw, AC, Xp, T.
The words are sorted most urgent first: Grab, Strngl, FoodPois, Slime, Stone, TermIll, InLava, then Blind, Conf, Deaf, Fly, Hallu, Lev, Ride, Stun.
Backlog rows
| N-33 | Done | 6 | Animation 10: |
| N-3 | Done | Notable moments beyond those built: |
| N-87 | Done | Status fields change color when they change |
| N-95 | Done | ^P and the status highlights |
| N-194 | Built, not reviewed | Seams in the HP band |
| N-484 | Built, not reviewed | The hero's light shows hunger and strength |




