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

@@ -598,6 +598,10 @@ commands.add_command("ap-energylink", "Used by the Archipelago client to manage
global.forcedata[force].energy = global.forcedata[force].energy + change
end)
commands.add_command("energy-link", "Print the status of the Archipelago energy link.", function(call)
log("Player command energy-link") -- notifies client
end)
commands.add_command("toggle-ap-send-filter", "Toggle filtering of item sends that get displayed in-game to only those that involve you.", function(call)
log("Player command toggle-ap-send-filter") -- notifies client
end)