From e93799443947b77bddecdd99fc0f3ea8bfd2a8d6 Mon Sep 17 00:00:00 2001 From: Llywelwyn Date: Sat, 29 Jul 2023 20:30:50 +0100 Subject: [PATCH] tiny visual tweaks - deepwater glyph and magic missile particle --- src/inventory_system.rs | 4 +--- src/map/themes.rs | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/inventory_system.rs b/src/inventory_system.rs index 93d923a..7e33674 100644 --- a/src/inventory_system.rs +++ b/src/inventory_system.rs @@ -284,11 +284,9 @@ impl<'a> System<'a> for ItemUseSystem { Some(damage) => { let target_point = wants_to_use.target.unwrap(); if !aoe_item { - particle_builder.request_star( + particle_builder.request_rainbow_star( target_point.x, target_point.y, - rltk::RGB::named(rltk::CYAN), - rltk::RGB::named(rltk::BLACK), rltk::to_cp437('*'), DEFAULT_PARTICLE_LIFETIME, ); diff --git a/src/map/themes.rs b/src/map/themes.rs index 6a20250..2efd386 100644 --- a/src/map/themes.rs +++ b/src/map/themes.rs @@ -79,7 +79,7 @@ pub fn get_tile_glyph(idx: usize, map: &Map) -> (rltk::FontCharType, RGB, RGB) { bg = RGB::from_u8(24, 47, 99); } TileType::DeepWater => { - glyph = rltk::to_cp437('~'); + glyph = rltk::to_cp437('≈'); bg = RGB::from_u8(18, 33, 63); } }