From b99fd4a820cb3230f8a4d76379c388411faf12c0 Mon Sep 17 00:00:00 2001 From: Kara Alexandra Date: Mon, 20 Dec 2021 21:52:54 -0800 Subject: [PATCH] Allow using _ in startinventory argument --- Main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Main.py b/Main.py index 237e9b9b..18843b8d 100644 --- a/Main.py +++ b/Main.py @@ -171,7 +171,7 @@ def main(args, seed=None, fish=None): world.escape_assist[player].append('bombs') # enemized escape assumes infinite bombs available and will likely be unbeatable without it for tok in filter(None, args.startinventory[player].split(',')): - item = ItemFactory(tok.strip(), player) + item = ItemFactory(tok.replace("_", " ").strip(), player) if item: world.push_precollected(item)