Make "Prize" shuffling an option

This commit is contained in:
Fabian Dill
2020-09-20 04:35:45 +02:00
parent 37a3c8f0d5
commit a668aa3b23
7 changed files with 93 additions and 60 deletions

View File

@@ -411,6 +411,9 @@ def roll_settings(weights):
ret.dungeon_counters = get_choice('dungeon_counters', weights, 'default')
ret.progressive = convert_to_on_off(get_choice('progressive', weights, 'on'))
ret.shuffle_prizes = get_choice('shuffle_prizes', weights, "g")
inventoryweights = weights.get('startinventory', {})
startitems = []
for item in inventoryweights.keys():