summaryrefslogtreecommitdiff
path: root/nodejs/automation
diff options
context:
space:
mode:
authorJulien Dessaux2024-05-22 01:08:27 +0200
committerJulien Dessaux2024-05-22 01:08:27 +0200
commit09537408a5eef07b3b069045b5268b80617e7b18 (patch)
tree2eed42c56dde531f9f12367e03856e74b1601ef9 /nodejs/automation
parent[node] implement automation next step: sending the startup probe to a shipyar... (diff)
downloadspacetraders-09537408a5eef07b3b069045b5268b80617e7b18.tar.gz
spacetraders-09537408a5eef07b3b069045b5268b80617e7b18.tar.bz2
spacetraders-09537408a5eef07b3b069045b5268b80617e7b18.zip
[node] implement ship purchasing
Diffstat (limited to '')
-rw-r--r--nodejs/automation/agent.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/nodejs/automation/agent.ts b/nodejs/automation/agent.ts
index 9ee0ea8..59799f5 100644
--- a/nodejs/automation/agent.ts
+++ b/nodejs/automation/agent.ts
@@ -3,7 +3,7 @@ import events from 'events';
import * as autoContracting from './contracting.ts';
import { debugLog, send, sleep } from '../lib/api.ts';
import { getAgent } from '../lib/agent.ts';
-import { getShips, Ship } from '../lib/ships.ts';
+import { getShips, purchaseShip, Ship } from '../lib/ships.ts';
import { market, shipyard, trait, waypoint } from '../lib/systems.ts';
import { Waypoint } from '../lib/types.ts';
import {