Factorio: Added commands for checking energy link from CLI and in game.

This commit is contained in:
recklesscoder
2022-10-31 03:55:18 +01:00
committed by Fabian Dill
parent 88088dd054
commit 165a38dd58
3 changed files with 22 additions and 2 deletions

View File

@@ -153,7 +153,7 @@ class CommonContext:
disconnected_intentionally: bool = False
server: typing.Optional[Endpoint] = None
server_version: Version = Version(0, 0, 0)
current_energy_link_value: int = 0 # to display in UI, gets set by server
current_energy_link_value: typing.Optional[int] = None # to display in UI, gets set by server
last_death_link: float = time.time() # last send/received death link on AP layer