From a9dc404da0677c91d3c7bb8759cd2e25666152a7 Mon Sep 17 00:00:00 2001 From: Dandaedre Date: Fri, 31 Jul 2026 05:48:15 +0200 Subject: [PATCH 1/2] New db --- ravenous_databases | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ravenous_databases b/ravenous_databases index dfa02e2..852d343 160000 --- a/ravenous_databases +++ b/ravenous_databases @@ -1 +1 @@ -Subproject commit dfa02e2130a471080a14482f3481b9582f7be6e9 +Subproject commit 852d343b974052b0e405a69787bcbdf2b506daf0 -- 2.45.1 From 61206c7a88c6b2d461ddee35fe4d7e2968b97c45 Mon Sep 17 00:00:00 2001 From: Dandaedre Date: Fri, 31 Jul 2026 23:53:06 +0200 Subject: [PATCH 2/2] Small display --- Cargo.toml | 2 +- crates/monsters/src/monster_render.rs | 8 +++++++- helper_config.toml | 2 +- ravenous_databases | 2 +- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 915b82e..365c980 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ resolver = "3" # edition = "2024" # license = "MIT OR Apache-2.0" [workspace.package] -version = "0.3.31" +version = "0.3.32" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/crates/monsters/src/monster_render.rs b/crates/monsters/src/monster_render.rs index fd1983e..b851b0e 100644 --- a/crates/monsters/src/monster_render.rs +++ b/crates/monsters/src/monster_render.rs @@ -111,7 +111,13 @@ impl ToRow for DamageReport { fn to_row(&self) -> Row { vec![ match self.showcase { - Showcase::Balancing => shorten_string(&self.name, 20).to_cell().fg(Color::Green), + Showcase::Balancing => format!( + "[{}]{}", + self.stance.to_string().chars().nth(0).unwrap_or(' '), + shorten_string(&self.name, 15) + ) + .to_cell() + .fg(Color::Green), Showcase::Display => self.stance.to_string().to_cell().fg(Color::DarkGrey), }, dim_if_not!( diff --git a/helper_config.toml b/helper_config.toml index 705b6f4..ce4fd58 100644 --- a/helper_config.toml +++ b/helper_config.toml @@ -277,7 +277,7 @@ master_part = ''' {{#each phase as | attack_group |}} \hline {{#each attack_group.attacklist}} -\SetCell{bg={{{../color}}}} & {{{name}}} & {{{attack_type}}} & {{{prerequisites}}} & {{{targetting}}} & {{{cost_fatigue}}} & {{{cost_action}}} & {{{element}}} & {{{damage_fatigue}}} &{{{damage_regular}}} {{{success}}}& {{#if armor_break}} {{{armor_break}}}\arbreakk{} {{/if}} {{{effects}}} & {{{threshold_parry}}} & {{{threshold_dodge}}} \\ +\SetCell{bg={{{../color}}}} & {{{name}}} & {{{attack_type}}} & {{{prerequisites}}} & {{{targetting}}} & {{{cost_fatigue}}} & {{{cost_action}}} & {{{element}}} & {{{damage_fatigue}}} & {{{damage_regular}}} {{{success}}} & {{#if armor_break}} {{{armor_break}}}\arbreakk{} {{/if}} {{{effects}}} & {{{threshold_parry}}} & {{{threshold_dodge}}} \\ {{/each}} {{#if description_final}}\SetCell{bg={{{color}}}} & \SetCell[c=12]{j} {{{description_final}}} & & & & & & & & & & \\ {{/if}} \hline diff --git a/ravenous_databases b/ravenous_databases index 852d343..fabb0cd 160000 --- a/ravenous_databases +++ b/ravenous_databases @@ -1 +1 @@ -Subproject commit 852d343b974052b0e405a69787bcbdf2b506daf0 +Subproject commit fabb0cdc19ea1413e594dc54f02bfd521fd41fa4 -- 2.45.1