Add an identifier for triggers, to know which branch the seed is rolled on.

This commit is contained in:
CaitSith2 2021-02-19 23:21:18 -08:00
parent c55cf28229
commit 8c020db07d
1 changed files with 1 additions and 0 deletions

View File

@ -325,6 +325,7 @@ def roll_linked_options(weights: dict) -> dict:
def roll_triggers(weights: dict) -> dict:
weights = weights.copy() # make sure we don't write back to other weights sets in same_settings
weights["_Generator_Version"] = "Main" # Some means for triggers to know if the seed is on main or doors.
for option_set in weights["triggers"]:
try:
key = get_choice("option_name", option_set)