From 0f3c03ceace46deab3097c99e82284c617cc9277 Mon Sep 17 00:00:00 2001 From: David Gay Date: Sun, 1 Oct 2023 23:23:39 -0400 Subject: Add a table step to the ua_magic_items --- src/random_tables.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/random_tables.rs') 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() { -- cgit v1.2.3