significant events in morgue file, better event logging

This commit is contained in:
Llywelwyn 2023-08-25 22:43:50 +01:00
parent de5dacb2ba
commit 738484436b
38 changed files with 246 additions and 102 deletions

View file

@ -10,6 +10,7 @@ use crate::{
};
use rltk::prelude::*;
use specs::prelude::*;
use crate::data::events::*;
pub struct TurnStatusSystem {}
@ -78,7 +79,7 @@ impl<'a> System<'a> for TurnStatusSystem {
.colour(WHITE)
.append("are confused!");
log = true;
gamelog::record_event("player_confused", 1);
gamelog::record_event(EVENT::PLAYER_CONFUSED(1));
} else {
logger = logger
.append("The")