diff options
Diffstat (limited to 'src/rules')
-rw-r--r-- | src/rules/magic_items.rs | 1 | ||||
-rw-r--r-- | src/rules/npcs.rs | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/rules/magic_items.rs b/src/rules/magic_items.rs index 6806a60..d074b0b 100644 --- a/src/rules/magic_items.rs +++ b/src/rules/magic_items.rs @@ -12,6 +12,7 @@ pub struct MagicItem { #[derive(Debug, Deserialize, Eq, Hash, PartialEq, Clone, Copy)] pub enum MagicItemKind { + Sword, Potion, Scroll, Ring, diff --git a/src/rules/npcs.rs b/src/rules/npcs.rs index b228454..7489b0a 100644 --- a/src/rules/npcs.rs +++ b/src/rules/npcs.rs @@ -146,6 +146,8 @@ impl Npc { .unwrap_or(0) <= rng.gen_range(1..=100) { + // For now, just get a dummy item named after the item type. + // Later, we'll add the actual magic items. self.magic_items.push( MAGIC_ITEMS .get(kind_string) |