From 330615936955f464a17aa0b7e39fb04d3f074b06 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Thu, 23 May 2024 23:49:42 +0200 Subject: [node] factorize sortByPrice --- nodejs/automation/selling.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nodejs/automation') diff --git a/nodejs/automation/selling.ts b/nodejs/automation/selling.ts index b17aad0..df9a92b 100644 --- a/nodejs/automation/selling.ts +++ b/nodejs/automation/selling.ts @@ -7,7 +7,7 @@ import { } from '../lib/utils.ts'; import { Ship } from '../lib/ships.ts'; -// example ctx { ship: {XXX}, keep: 'SILVER_ORE' } +// example ctx { ship: {XXX}, good: 'SILVER_ORE' } export async function sell(ship: Ship, good: string): Promise { outer: while(true) { const waypoint = await libSystems.waypoint(ship.nav.waypointSymbol); -- cgit v1.2.3