From 6beeb7934d6ac0fb29117a85a3279c8203d33d58 Mon Sep 17 00:00:00 2001 From: caitsith2 Date: Fri, 19 Jun 2020 16:10:22 -0700 Subject: [PATCH] Add local_keys option to go in line with the *_shuffle options, and document both local_keys and l in easy.yaml --- Mystery.py | 2 +- easy.yaml | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Mystery.py b/Mystery.py index 0b1b21df..a20fdb0c 100644 --- a/Mystery.py +++ b/Mystery.py @@ -370,7 +370,7 @@ def roll_settings(weights): ret.remote_items = get_choice('remote_items', weights, False) - if "l" in dungeon_items: + if get_choice("local_keys", weights, "l" in dungeon_items): ret.local_items = {"Small Keys", "Big Keys"} else: ret.local_items = set() diff --git a/easy.yaml b/easy.yaml index acb89a1f..8b1f9363 100644 --- a/easy.yaml +++ b/easy.yaml @@ -43,10 +43,14 @@ smallkey_shuffle: # Shuffle small keys into the world and other dungeons, includ bigkey_shuffle: # Shuffle big keys into the world and other dungeons, including other players' worlds on: 0 off: 1 -dungeon_items: # alternative to the 4 shuffles above this, does nothing until the respective 4 shuffles are deleted +local_keys: # Keep small keys and big keys local to your world. + on: 0 + off: 1 +dungeon_items: # alternative to the 4 shuffles and local_keys above this, does nothing until the respective 4 shuffles and local_keys above are deleted mc: 0 # shuffle Maps and Compass none: 1 # shuffle none of the 4 mcsb: 0 # shuffle all of the 4, any combination of m, c, s and b will shuffle the respective item, or not if it's missing, so you can add more options here + lmcsb: 0 # like mcsb above, but with keys kept local to your world. l is what makes your keys local, or not if it's missing. dungeon_counters: on: 0 # always display amount of items checked in a dungeon pickup: 1 # show when compass is picked up