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.
This commit is contained in:
Fabian Dill 2020-03-22 20:12:42 +01:00
parent c36cdf5546
commit 3bb4ace176
3 changed files with 4 additions and 3 deletions

1
.gitignore vendored
View File

@ -18,3 +18,4 @@ weights/
/MultiMystery/
/Players/
/QUsb2Snes/
/options.yaml

View File

@ -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.")

View File

@ -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