From da567a11eef2b3536d58b44741e91988b1c33598 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Thu, 8 Jun 2023 09:21:05 +0200 Subject: Implement a bit more autonomy for the ships --- main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main.js') diff --git a/main.js b/main.js index 61a1ab8..6785301 100755 --- a/main.js +++ b/main.js @@ -18,10 +18,10 @@ status Servers' status`); switch(process.argv[2]) { case 'autoContractForShip': - await autoContracting.auto({ship: process.argv[3]}); + await autoContracting.auto({symbol: process.argv[3]}); break; case 'autoMiningForShip': - await autoMining.mineUntilFullOf({ship: process.argv[3], good: 'NON_EXISTENT'}); + await autoMining.mineUntilFullOf({symbol: process.argv[3], good: 'NON_EXISTENT'}); break; case 'my-agent': api.debugLog(await api.send({endpoint: '/my/agent'})); -- cgit v1.2.3