summaryrefslogtreecommitdiff
path: root/src/components/equipment.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/equipment.rs')
-rw-r--r--src/components/equipment.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/equipment.rs b/src/components/equipment.rs
index 386ef38..ab573d8 100644
--- a/src/components/equipment.rs
+++ b/src/components/equipment.rs
@@ -27,7 +27,8 @@ impl Slot {
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub enum Stat {
Strength,
- Defence
+ Defence,
+ Mining
}
impl Stat {
@@ -35,6 +36,7 @@ impl Stat {
match txt {
"strength" => Some(Self::Strength),
"defence" => Some(Self::Defence),
+ "mining" => Some(Self::Mining),
_ => None
}
}