From d77558b8def94fd1e1efecc3cfebb7dd3b6d6ae3 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Tue, 21 May 2024 00:26:17 +0200 Subject: [node] implement agent automation that visits all shipyards with the starting probe --- nodejs/lib/ships.ts | 17 +++++++++++++++++ nodejs/lib/systems.ts | 6 +++--- nodejs/lib/utils.ts | 2 +- 3 files changed, 21 insertions(+), 4 deletions(-) (limited to 'nodejs/lib') diff --git a/nodejs/lib/ships.ts b/nodejs/lib/ships.ts index e4875f8..7daae71 100644 --- a/nodejs/lib/ships.ts +++ b/nodejs/lib/ships.ts @@ -88,6 +88,22 @@ export class Ship { await sleep(response.data.cooldown.remainingSeconds*1000); return this.cargo; } + //async flightMode(mode: string): Promise { + // if (this.nav.flightMode === mode) return; + // const response = await send