1
0
Fork 0

Implement a bit more autonomy for the ships

This commit is contained in:
Julien Dessaux 2023-06-08 09:21:05 +02:00
commit da567a11ee
Signed by: adyxax
GPG key ID: F92E51B86E07177E
5 changed files with 51 additions and 40 deletions

View file

@ -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'}));