diff options
author | David Gay <eapoems@riseup.net> | 2023-10-01 23:23:39 -0400 |
---|---|---|
committer | David Gay <eapoems@riseup.net> | 2023-10-01 23:23:39 -0400 |
commit | 0f3c03ceace46deab3097c99e82284c617cc9277 (patch) | |
tree | 92b6eb4e7b1707a4ec8910c165c91ff8cd1079c5 /src/random_tables.rs | |
parent | b0d5fa74b616e5144be8e92653084bbfa73bc8a3 (diff) |
Add a table step to the ua_magic_items
Diffstat (limited to 'src/random_tables.rs')
-rw-r--r-- | src/random_tables.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/random_tables.rs b/src/random_tables.rs index c1ffdcb..1d9df02 100644 --- a/src/random_tables.rs +++ b/src/random_tables.rs @@ -65,6 +65,8 @@ impl RandomTables { String::new() } + // TODO: Add validator somewhere that ensures all possible rolls are + // covered by the YAML, and that none overlap. fn parse_roll(roll: &str) -> Option<(u32, u32)> { let parts: Vec<&str> = roll.split('-').collect(); match parts.len() { |