Factorio: add option "ramping tech cost" (#1403)

* Factorio: add option "ramping tech cost"

* Factorio: fix missing s

* Factorio: add display_name to ranmping tech costs
This commit is contained in:
Fabian Dill
2023-01-28 00:30:05 +01:00
committed by GitHub
parent 1e251dcdc0
commit ab4324c901
2 changed files with 16 additions and 1 deletions

View File

@@ -69,6 +69,14 @@ class TechCostMix(Range):
default = 70
class RampingTechCosts(Toggle):
"""Forces the amount of Science Packs required to ramp up with the highest involved Pack. Average is preserved.
For example:
off: Automation (red)/Logistics (green) sciences can range from 1 to 1000 Science Packs,
on: Automation (red) ranges to ~500 packs and Logistics (green) from ~500 to 1000 Science Packs"""
display_name = "Ramping Tech Costs"
class Silo(Choice):
"""Ingredients to craft rocket silo or auto-place if set to spawn."""
display_name = "Rocket Silo"
@@ -372,6 +380,7 @@ factorio_options: typing.Dict[str, type(Option)] = {
"min_tech_cost": MinTechCost,
"max_tech_cost": MaxTechCost,
"tech_cost_mix": TechCostMix,
"ramping_tech_costs": RampingTechCosts,
"silo": Silo,
"satellite": Satellite,
"free_samples": FreeSamples,