UNPKG

farming-weight

Version:

Tools for calculating farming weight and fortune in Hypixel Skyblock

31 lines (30 loc) 866 B
import { Crop } from './constants/crops'; interface PlayerOptions { collection?: Record<string, number>; fortuneSources?: Record<string, number>; cropSpecificFortune?: Record<Crop, number>; farmingXp?: number; farmingLevel?: number; } export declare function CreatePlayer(options: PlayerOptions): Player; declare class Player { collection: Partial<Record<Crop, number>>; fortuneSources: Record<string, number>; cropSpecificFortune: Partial<Record<Crop, number>>; farmingXp: number; farmingLevel: number; constructor(options: PlayerOptions); addFortune(name: string, amount: number): this; addCropFortune(crop: Crop, amount: number): this; setLotusGear(): void; getFortune(): number; } export interface JacobFarmingContest { crop: Crop; timestamp: number; collected: number; position?: number; participants?: number; medal?: number; } export {};