From b72922adf4abc65fd4c142fb049f62443e89eaad Mon Sep 17 00:00:00 2001 From: lukas Date: Mon, 7 Oct 2024 10:38:07 +0200 Subject: [PATCH] chore: mine hydrogen --- src/main/basedbot/fleet-strategies/mainnet-lu-strategy.ts | 4 ++-- src/main/basedbot/fsm/mine.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/basedbot/fleet-strategies/mainnet-lu-strategy.ts b/src/main/basedbot/fleet-strategies/mainnet-lu-strategy.ts index 336db3e..f3a0e54 100644 --- a/src/main/basedbot/fleet-strategies/mainnet-lu-strategy.ts +++ b/src/main/basedbot/fleet-strategies/mainnet-lu-strategy.ts @@ -1,6 +1,6 @@ import { Game } from '@staratlas/sage' -import { mineRochinol } from '../fsm/configs/mine/mine-rochinol' +import { mineHydrogen } from '../fsm/configs/mine/mine-hydrogen' import { createInfoStrategy } from '../fsm/info' import { createMiningStrategy } from '../fsm/mine' import { Player } from '../lib/sage/state/user-account' @@ -22,7 +22,7 @@ export const mainnetLuStrategy = ( { fleet: null, strategy: createMiningStrategy( - mineRochinol(worldMap), + mineHydrogen(worldMap), player, game, ), diff --git a/src/main/basedbot/fsm/mine.ts b/src/main/basedbot/fsm/mine.ts index d2ef80d..e201f2c 100644 --- a/src/main/basedbot/fsm/mine.ts +++ b/src/main/basedbot/fsm/mine.ts @@ -41,7 +41,7 @@ const transition = async ( const cargoLevelFood = fleetInfo.cargoLevels.food const cargoLevelAmmo = fleetInfo.cargoLevels.ammo const cargoLevelFuel = fleetInfo.cargoLevels.fuel - const desiredFood = cargoCapacity / 10 + const desiredFood = cargoCapacity / 20 const toLoad = desiredFood - cargoLevelFood const hasEnoughFood = toLoad <= 10 const hasEnoughAmmo =