Shop Shuffle

- more can be done here, but this works fine as a sometimes fun proof of concept
This commit is contained in:
Fabian Dill
2020-08-23 15:03:06 +02:00
parent 40e4e3c0c6
commit 26ab3dd69a
7 changed files with 65 additions and 3 deletions

View File

@@ -310,6 +310,10 @@ def roll_settings(weights):
ret.triforce_pieces_required = get_choice('triforce_pieces_required', weights, 20)
ret.triforce_pieces_required = min(max(1, int(ret.triforce_pieces_required)), 90)
ret.shop_shuffle = get_choice('shop_shuffle', weights, False)
if not ret.shop_shuffle:
ret.shop_shuffle = 'off'
ret.mode = get_choice('world_state', weights, None) # legacy support
if ret.mode == 'retro':
ret.mode = 'open'