better ranged targeting visuals

This commit is contained in:
Llywelwyn 2023-08-30 05:40:45 +01:00
parent e22261d012
commit 9427ebd7c1
4 changed files with 44 additions and 5 deletions

View file

@ -80,6 +80,12 @@ pub fn draw_tooltips(ecs: &World, ctx: &mut Rltk, xy: Option<(i32, i32)>) {
tip.add(format!("You see {}.", name), get_local_col(n));
tooltips.push(tip);
}
TileType::ToOvermap(n) => {
let name = get_local_desc(n);
let mut tip = Tooltip::new();
tip.add(format!("You see an exit from {}.", name), get_local_col(n));
tooltips.push(tip);
}
_ => {}
}