Factorio: move prints from /sc (silent command) to /ap-print, to prevent two warnings getting printed by Factorio

This commit is contained in:
Fabian Dill
2021-07-27 14:59:16 +02:00
parent 3759f4c644
commit 884dece54c
3 changed files with 9 additions and 8 deletions

View File

@@ -217,6 +217,9 @@ commands.add_command("ap-sync", "Used by the Archipelago client to get progress
rcon.print(game.table_to_json({["slot_name"] = SLOT_NAME, ["seed_name"] = SEED_NAME, ["info"] = data_collection}))
end)
commands.add_command("ap-print", "Used by the Archipelago client to print messages", function (call)
game.print(call.parameter)
end)
commands.add_command("ap-get-technology", "Grant a technology, used by the Archipelago Client.", function(call)
if global.index_sync == nil then