Digging orders reach into the fog: unexplored blocks are picked like walls and marked tiles glow dark yellow in the dark
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
2de0a1de8a
commit
776c9ad9de
3 files changed
+10
-4
No files matched your search
@@ -1273,6 +1273,9 @@ pub fn hover_info(g: &Game, ent: Option<usize>, tile: Option<(i32, i32)>) -> Vec
|
||||
let Some((x, y)) = tile else { return out };
|
||||
if !g.map.shown(idx(x, y)) {
|
||||
out.push((tr("tile.unexplored"), DIM));
|
||||
if g.map.t[idx(x, y)].marked {
|
||||
out.push((tr("tile.marked"), GOLD));
|
||||
}
|
||||
return out;
|
||||
}
|
||||
if let Some(tr) = g.trap_at(idx(x, y)) {
|
||||
|
||||
Reference in new issue
Block a user