Skip to content

Commit

Permalink
remove spam
Browse files Browse the repository at this point in the history
  • Loading branch information
staff0rd committed Mar 27, 2024
1 parent d8f64ae commit 180fde3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/features/status/startup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ export async function startup() {
}

const miningDrones = ships.filter((s) => s.frame.symbol === 'FRAME_DRONE')
log.info('agent', `There are ${miningDrones.length} mining drones`)
// TODO: don't hardcode the price
if (miningDrones.length < miningDronesToPurchase && (agent.data?.credits ?? 0) > 50000) {
await act.purchaseShip(commandShip, 'SHIP_MINING_DRONE', shipyards, markets, ships)
Expand All @@ -72,7 +71,6 @@ export async function startup() {
}

const shuttles = ships.filter((s) => s.frame.symbol === 'FRAME_SHUTTLE')
log.info('agent', `There are ${shuttles.length} shuttles`)
if (shuttles.length < shuttlesToPurchase) {
await act.purchaseShip(commandShip, 'SHIP_LIGHT_SHUTTLE', shipyards, markets, ships)
return
Expand Down

0 comments on commit 180fde3

Please sign in to comment.