farming-weight
Version:
Tools for calculating farming weight and fortune in Hypixel Skyblock
178 lines • 4.82 kB
JavaScript
import { Rarity } from '../../constants/reforges.js';
import { Skill } from '../../constants/skills.js';
import { SpecialCrop } from '../../constants/specialcrops.js';
import { Stat } from '../../constants/stats.js';
import { UpgradeReason } from '../../constants/upgrades.js';
import { BaseItem } from '../base-item.js';
import { GearSlot } from '../definitions.js';
import { armorTierGroup } from './groups.js';
const FERMENTO_SPECIAL = [SpecialCrop.Cropie, SpecialCrop.Squash, SpecialCrop.Fermento, SpecialCrop.Helianthus];
const FERMENTO_TO_HELIANTHUS_GROUP = armorTierGroup('FERMENTO', 'HELIANTHUS');
const FERMENTO_GEM_SLOTS = [
{
slot_type: 'PERIDOT',
costs: [
{ type: 'ITEM', item_id: 'FINE_PERIDOT_GEM', amount: 20 },
{ type: 'COINS', coins: 50000 },
],
},
{
slot_type: 'PERIDOT',
costs: [
{ type: 'ITEM', item_id: 'FINE_PERIDOT_GEM', amount: 40 },
{ type: 'COINS', coins: 100000 },
],
},
];
export class FermentoHelmet extends BaseItem {
get skyblockId() {
return 'FERMENTO_HELMET';
}
get name() {
return 'Fermento Helmet';
}
get wiki() {
return 'https://w.elitesb.gg/Fermento_Armor';
}
get maxRarity() {
return Rarity.Legendary;
}
family = 'FERMENTO';
slot = GearSlot.Helmet;
special = FERMENTO_SPECIAL;
upgrade = {
id: 'HELIANTHUS_HELMET',
reason: UpgradeReason.NextTier,
group: FERMENTO_TO_HELIANTHUS_GROUP,
cost: {
items: {
COMPACTED_WILD_ROSE: 64,
COMPACTED_MOONFLOWER: 64,
COMPACTED_SUNFLOWER: 64,
CONDENSED_HELIANTHUS: 2,
},
},
};
baseStats = {
[]: 30,
[]: 17.5,
};
skillReq = {
[]: 40,
};
gemSlots = FERMENTO_GEM_SLOTS;
}
export class FermentoChestplate extends BaseItem {
get skyblockId() {
return 'FERMENTO_CHESTPLATE';
}
get name() {
return 'Fermento Chestplate';
}
get wiki() {
return 'https://w.elitesb.gg/Fermento_Armor';
}
get maxRarity() {
return Rarity.Legendary;
}
family = 'FERMENTO';
slot = GearSlot.Chestplate;
special = FERMENTO_SPECIAL;
upgrade = {
id: 'HELIANTHUS_CHESTPLATE',
reason: UpgradeReason.NextTier,
group: FERMENTO_TO_HELIANTHUS_GROUP,
cost: {
items: {
COMPACTED_WILD_ROSE: 64,
COMPACTED_MOONFLOWER: 64,
COMPACTED_SUNFLOWER: 64,
CONDENSED_HELIANTHUS: 2,
},
},
};
baseStats = {
[]: 35,
[]: 17.5,
};
skillReq = {
[]: 40,
};
gemSlots = FERMENTO_GEM_SLOTS;
}
export class FermentoLeggings extends BaseItem {
get skyblockId() {
return 'FERMENTO_LEGGINGS';
}
get name() {
return 'Fermento Leggings';
}
get wiki() {
return 'https://w.elitesb.gg/Fermento_Armor';
}
get maxRarity() {
return Rarity.Legendary;
}
family = 'FERMENTO';
slot = GearSlot.Leggings;
special = FERMENTO_SPECIAL;
upgrade = {
id: 'HELIANTHUS_LEGGINGS',
reason: UpgradeReason.NextTier,
group: FERMENTO_TO_HELIANTHUS_GROUP,
cost: {
items: {
COMPACTED_WILD_ROSE: 64,
COMPACTED_MOONFLOWER: 64,
COMPACTED_SUNFLOWER: 64,
CONDENSED_HELIANTHUS: 2,
},
},
};
baseStats = {
[]: 35,
[]: 17.5,
};
skillReq = {
[]: 40,
};
gemSlots = FERMENTO_GEM_SLOTS;
}
export class FermentoBoots extends BaseItem {
get skyblockId() {
return 'FERMENTO_BOOTS';
}
get name() {
return 'Fermento Boots';
}
get wiki() {
return 'https://w.elitesb.gg/Fermento_Armor';
}
get maxRarity() {
return Rarity.Legendary;
}
family = 'FERMENTO';
slot = GearSlot.Boots;
special = FERMENTO_SPECIAL;
upgrade = {
id: 'HELIANTHUS_BOOTS',
reason: UpgradeReason.NextTier,
group: FERMENTO_TO_HELIANTHUS_GROUP,
cost: {
items: {
COMPACTED_MOONFLOWER: 64,
COMPACTED_SUNFLOWER: 64,
CONDENSED_HELIANTHUS: 2,
},
},
};
baseStats = {
[]: 30,
[]: 17.5,
};
skillReq = {
[]: 40,
};
gemSlots = FERMENTO_GEM_SLOTS;
}
//# sourceMappingURL=fermento.js.map