From 3bb4ace176e81fc1a39a0d4841f6f2be8f4fa5ef Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Sun, 22 Mar 2020 20:12:42 +0100 Subject: [PATCH] Allow use of "options.yaml" as a gitignored options overwrite This also sets the default hint cost back to 1000, enable it if you want it. --- .gitignore | 1 + Utils.py | 2 +- host.yaml | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 70c2dbd0..e3a4d0be 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,4 @@ weights/ /MultiMystery/ /Players/ /QUsb2Snes/ +/options.yaml diff --git a/Utils.py b/Utils.py index ae024869..bee31d13 100644 --- a/Utils.py +++ b/Utils.py @@ -185,4 +185,4 @@ def get_options() -> dict: with open(location) as f: _options = parse_yaml(f.read()) return _options - raise FileNotFoundError(f"Could not find {locations[0]} to load options.") + raise FileNotFoundError(f"Could not find {locations[1]} to load options.") diff --git a/host.yaml b/host.yaml index a9e99440..cc51da8f 100644 --- a/host.yaml +++ b/host.yaml @@ -18,9 +18,9 @@ server_options: disable_item_cheat: null #Client hint system #points given to player for each acquired item - location_check_points: 1 + location_check_points: null #point cost to receive a hint via !hint for players - hint_cost: 50 #set to 0 if you want free hints + hint_cost: null #set to 0 if you want free hints #options for MultiMystery.py multi_mystery_options: #teams, however, note that there is currently no way to supply names for teams 2+ through MultiMystery