diff options
author | Julien Dessaux | 2023-06-08 09:21:05 +0200 |
---|---|---|
committer | Julien Dessaux | 2023-06-08 09:21:05 +0200 |
commit | da567a11eef2b3536d58b44741e91988b1c33598 (patch) | |
tree | 36ab4332efbf88f9f41730ff5ab7ced67a95fa1f /main.js | |
parent | Use waypoints function where relevant (diff) | |
download | spacetraders-da567a11eef2b3536d58b44741e91988b1c33598.tar.gz spacetraders-da567a11eef2b3536d58b44741e91988b1c33598.tar.bz2 spacetraders-da567a11eef2b3536d58b44741e91988b1c33598.zip |
Implement a bit more autonomy for the ships
Diffstat (limited to 'main.js')
-rwxr-xr-x | main.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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'})); |