Satellite now a possible goal for ALL science pack levels, chosen by option.

Satellite unlocks by respective science pack (or by automation in the case of automation science pack)
This commit is contained in:
CaitSith2
2021-11-30 23:18:17 -08:00
parent b7128e6ee2
commit 763edf00f2
5 changed files with 35 additions and 4 deletions

View File

@@ -33,6 +33,14 @@ class MaxSciencePack(Choice):
return self.get_ordered_science_packs()[self.value].replace("_", "-")
class Goal(Choice):
"""Goal required to complete the game."""
displayname = "Goal"
option_rocket = 0
option_satellite = 1
default = 0
class TechCost(Choice):
"""How expensive are the technologies."""
displayname = "Technology Cost Scale"
@@ -306,6 +314,7 @@ class ImportedBlueprint(DefaultOnToggle):
factorio_options: typing.Dict[str, type(Option)] = {
"max_science_pack": MaxSciencePack,
"goal": Goal,
"tech_tree_layout": TechTreeLayout,
"tech_cost": TechCost,
"silo": Silo,