mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Add an identifier for triggers, to know which branch the seed is rolled on.
This commit is contained in:
@@ -325,6 +325,7 @@ def roll_linked_options(weights: dict) -> dict:
|
|||||||
|
|
||||||
def roll_triggers(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 = 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"]:
|
for option_set in weights["triggers"]:
|
||||||
try:
|
try:
|
||||||
key = get_choice("option_name", option_set)
|
key = get_choice("option_name", option_set)
|
||||||
|
|||||||
Reference in New Issue
Block a user