diff options
Diffstat (limited to 'src/playerstate.rs')
| -rw-r--r-- | src/playerstate.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/playerstate.rs b/src/playerstate.rs index 2bc0456..0d5505a 100644 --- a/src/playerstate.rs +++ b/src/playerstate.rs @@ -21,7 +21,8 @@ use crate::{ Slot, Ear, Stats, - Stat + Stat, + Description }, Result, aerr, @@ -99,7 +100,8 @@ impl PlayerState { ComponentWrapper::Autofight(Autofight::default()), ComponentWrapper::Faction(Faction::Good), ComponentWrapper::Ear(Ear::default()), - ComponentWrapper::Stats(Stats{skills: hashmap!{Stat::Gathering => 10}}) + ComponentWrapper::Stats(Stats{skills: hashmap!{Stat::Gathering => 10}}), + ComponentWrapper::Description(Description{description: format!("a player named {}", self.id.0)}) ]) } } |
