Implement a bit more autonomy for the ships
This commit is contained in:
parent
4d5384aa43
commit
da567a11ee
5 changed files with 51 additions and 40 deletions
4
main.js
4
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'}));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue