UNPKG

farming-weight

Version:

Tools for calculating farming weight and fortune in Hypixel Skyblock

58 lines (57 loc) 1.46 kB
import type { Stat } from './stats.js'; export type RarityRecord<T> = Partial<Record<Rarity, T>>; export declare enum Rarity { Common = "Common", Uncommon = "Uncommon", Rare = "Rare", Epic = "Epic", Legendary = "Legendary", Mythic = "Mythic", Divine = "Divine", Special = "Special", VerySpecial = "Very Special", Ultimate = "Ultimate", Admin = "Admin" } export declare const RARITY_VALUES: { Common: number; Uncommon: number; Rare: number; Epic: number; Legendary: number; Mythic: number; Divine: number; Special: number; "Very Special": number; Ultimate: number; Admin: number; }; export declare function compareRarity(a: Rarity | string, b: Rarity | string): number; export declare enum ReforgeTarget { FarmingTool = "Farming Tool", Hoe = "Hoe", Axe = "Axe", Armor = "Armor", Equipment = "Equipment", Sword = "Sword" } export interface ReforgeTier { stats: Partial<Record<Stat, number>>; cost: number; } export type ReforgeTiers = Record<Rarity, ReforgeTier>; export interface Reforge { id: string; name: string; wiki: string; stone?: { name: string; id: string; npc?: number; copper?: number; }; appliesTo: ReforgeTarget[]; tiers: Partial<ReforgeTiers>; /** If true, this reforge should be prioritized over others even if it provides less fortune */ priority?: boolean; }