no free rocket silo if its recipe is randomized.

This commit is contained in:
CaitSith2 2021-09-24 21:26:11 -07:00
parent 59529eba4e
commit ac534a6881
1 changed files with 3 additions and 0 deletions

View File

@ -99,6 +99,9 @@ def generate_mod(world, output_directory: str):
for factorio_option in Options.factorio_options:
template_data[factorio_option] = getattr(multiworld, factorio_option)[player].value
if getattr(multiworld, "silo")[player].value == Options.Silo.option_randomize_recipe:
template_data["free_sample_blacklist"]["rocket-silo"] = 1
control_code = control_template.render(**template_data)
data_template_code = data_template.render(**template_data)