farming-weight
Version:
Tools for calculating farming weight and fortune in Hypixel Skyblock
13 lines (12 loc) • 677 B
TypeScript
import type { Crop } from '../constants/crops.js';
import type { FarmingPlayer } from '../player/player.js';
import type { PlayerOptions } from '../player/playeroptions.js';
import type { EffectEnvironment } from './types.js';
/**
* Single source-of-truth for building an `EffectEnvironment` from a player.
*
* No other call site is allowed to construct an `EffectEnvironment` ad-hoc.
* Field derivations are intentionally simple and tested.
*/
export declare function buildEffectEnvironment(player: FarmingPlayer, crop?: Crop): EffectEnvironment;
export declare function buildEffectEnvironmentFromOptions(opts: PlayerOptions | undefined, crop?: Crop): EffectEnvironment;