Hint generation improvements

Only generate the required hint data for a world based on its hint distribution
Set various major items as nonprogression never_exclude based on settings
This commit is contained in:
espeon65536
2021-09-07 19:01:12 -05:00
committed by Fabian Dill
parent f39defbe06
commit 9dc3f3f38b
3 changed files with 72 additions and 26 deletions

View File

@@ -714,7 +714,6 @@ def buildWorldGossipHints(world, checkedLocations=None):
fixed_num = world.hint_dist_user['distribution'][hint_type]['fixed']
hint_weight = world.hint_dist_user['distribution'][hint_type]['weight']
else:
logging.getLogger('').warning("Hint copies is zero for type %s. Assuming this hint type should be disabled.", hint_type)
fixed_num = 0
hint_weight = 0
hint_dist[hint_type] = (hint_weight, world.hint_dist_user['distribution'][hint_type]['copies'])