mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Factorio: add DeathLink option
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
from __future__ import annotations
|
||||
import typing
|
||||
|
||||
from Options import Choice, OptionDict, ItemDict, Option, DefaultOnToggle, Range
|
||||
from Options import Choice, OptionDict, ItemDict, Option, DefaultOnToggle, Range, Toggle
|
||||
from schema import Schema, Optional, And, Or
|
||||
|
||||
# schema helpers
|
||||
@@ -284,6 +284,11 @@ class ImportedBlueprint(DefaultOnToggle):
|
||||
displayname = "Blueprints"
|
||||
|
||||
|
||||
class DeathLink(Toggle):
|
||||
"""When you die, everyone dies. Of course the reverse is true too."""
|
||||
displayname = "Death Link"
|
||||
|
||||
|
||||
factorio_options: typing.Dict[str, type(Option)] = {
|
||||
"max_science_pack": MaxSciencePack,
|
||||
"tech_tree_layout": TechTreeLayout,
|
||||
@@ -300,4 +305,5 @@ factorio_options: typing.Dict[str, type(Option)] = {
|
||||
"evolution_traps": EvolutionTrapCount,
|
||||
"attack_traps": AttackTrapCount,
|
||||
"evolution_trap_increase": EvolutionTrapIncrease,
|
||||
"death_link": DeathLink
|
||||
}
|
||||
|
Reference in New Issue
Block a user