diff options
author | David Gay <eapoems@riseup.net> | 2024-01-31 02:15:12 -0500 |
---|---|---|
committer | David Gay <eapoems@riseup.net> | 2024-01-31 02:15:12 -0500 |
commit | dd9e4ac40e6611b21442184ed95a2c7c1211630e (patch) | |
tree | 568accb500c1b612b2336d4e0f47d08f2d04a55e /src/rules/npcs.rs | |
parent | 4b4f725c74520c3a374849df99a1a6595e1e260a (diff) |
Fix usage of magic item enum
Diffstat (limited to 'src/rules/npcs.rs')
-rw-r--r-- | src/rules/npcs.rs | 2 |
1 files changed, 2 insertions, 0 deletions
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) |