better ranged targeting visuals
This commit is contained in:
parent
e22261d012
commit
9427ebd7c1
4 changed files with 44 additions and 5 deletions
|
|
@ -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);
|
||||
}
|
||||
_ => {}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue