Factorio: add stone as red science option

This commit is contained in:
Fabian Dill 2021-09-13 23:50:43 +02:00
parent 7643609e09
commit 87add88436
1 changed files with 2 additions and 1 deletions

View File

@ -188,6 +188,7 @@ raw_recipes["uranium-ore"] = {"ingredients": {"sulfuric-acid": 1}, "products": {
# raw_recipes["iron-ore"] = {"ingredients": {}, "products": {"iron-ore": 1}, "category": "mining", "energy": 2}
# raw_recipes["copper-ore"] = {"ingredients": {}, "products": {"copper-ore": 1}, "category": "mining", "energy": 2}
# raw_recipes["coal-ore"] = {"ingredients": {}, "products": {"coal": 1}, "category": "mining", "energy": 2}
# raw_recipes["stone"] = {"ingredients": {}, "products": {"coal": 1}, "category": "mining", "energy": 2}
for recipe_name, recipe_data in raw_recipes.items():
# example:
@ -478,7 +479,7 @@ def get_science_pack_pools() -> Dict[str, Set[str]]:
and get_estimated_difficulty(recipe) < current_difficulty:
current |= set(recipe.products)
if science_pack == "automation-science-pack":
current |= {"iron-ore", "copper-ore", "coal"}
current |= {"iron-ore", "copper-ore", "coal", "stone"}
current -= already_taken
already_taken |= current
current_difficulty *= 2