diff options
author | Julien Dessaux | 2024-05-22 01:08:27 +0200 |
---|---|---|
committer | Julien Dessaux | 2024-05-22 01:08:27 +0200 |
commit | 09537408a5eef07b3b069045b5268b80617e7b18 (patch) | |
tree | 2eed42c56dde531f9f12367e03856e74b1601ef9 /nodejs/automation | |
parent | [node] implement automation next step: sending the startup probe to a shipyar... (diff) | |
download | spacetraders-09537408a5eef07b3b069045b5268b80617e7b18.tar.gz spacetraders-09537408a5eef07b3b069045b5268b80617e7b18.tar.bz2 spacetraders-09537408a5eef07b3b069045b5268b80617e7b18.zip |
[node] implement ship purchasing
Diffstat (limited to 'nodejs/automation')
-rw-r--r-- | nodejs/automation/agent.ts | 2 |
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 { |