From f6a80967ab7b4619dc854a7f9fd2741ee84e81f7 Mon Sep 17 00:00:00 2001 From: Cutieguwu Date: Sun, 15 Dec 2024 14:48:18 -0500 Subject: [PATCH] Removed debugging macros and corrected accusation notice printing. --- src/events.rs | 5 ++++- src/main.rs | 2 -- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/events.rs b/src/events.rs index 143d16a..83de2e2 100644 --- a/src/events.rs +++ b/src/events.rs @@ -121,8 +121,11 @@ impl EventHandle for Trial { // Have the player stand trial. // A wild accusation may not be enough to save them. if player.standing.clone().calculate() > {0 as i8} { + println!("The court has taken pity upon you. You are purged of all evil."); SurvivalStatus::PlayerLived } else { + println!("The court remains unconvinced of your faith."); + println!("No one wishes to fall with you."); SurvivalStatus::PlayerDied } } @@ -150,7 +153,7 @@ impl EventHandle for WildAccusation { print_breakline(); - println!("{:?} accused {:?}", accuser, accusee); + println!("{:?} accused {:?}", accuser.name, accusee.name); push_enemy(accuser, accusee, characters); diff --git a/src/main.rs b/src/main.rs index dc24ced..2518c50 100644 --- a/src/main.rs +++ b/src/main.rs @@ -45,8 +45,6 @@ fn main() { &mut characters, ); - dbg!(&characters); - if characters.len() == 1 { end_status = SurvivalStatus::PlayerMassacred; };