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:
parent
c36cdf5546
commit
3bb4ace176
|
@ -18,3 +18,4 @@ weights/
|
||||||
/MultiMystery/
|
/MultiMystery/
|
||||||
/Players/
|
/Players/
|
||||||
/QUsb2Snes/
|
/QUsb2Snes/
|
||||||
|
/options.yaml
|
||||||
|
|
2
Utils.py
2
Utils.py
|
@ -185,4 +185,4 @@ def get_options() -> dict:
|
||||||
with open(location) as f:
|
with open(location) as f:
|
||||||
_options = parse_yaml(f.read())
|
_options = parse_yaml(f.read())
|
||||||
return _options
|
return _options
|
||||||
raise FileNotFoundError(f"Could not find {locations[0]} to load options.")
|
raise FileNotFoundError(f"Could not find {locations[1]} to load options.")
|
||||||
|
|
|
@ -18,9 +18,9 @@ server_options:
|
||||||
disable_item_cheat: null
|
disable_item_cheat: null
|
||||||
#Client hint system
|
#Client hint system
|
||||||
#points given to player for each acquired item
|
#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
|
#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
|
#options for MultiMystery.py
|
||||||
multi_mystery_options:
|
multi_mystery_options:
|
||||||
#teams, however, note that there is currently no way to supply names for teams 2+ through MultiMystery
|
#teams, however, note that there is currently no way to supply names for teams 2+ through MultiMystery
|
||||||
|
|
Loading…
Reference in New Issue