From e606b8b29dcdac985bbe308f46375541c97693e5 Mon Sep 17 00:00:00 2001 From: Kaeso <24925519+ptlthg@users.noreply.github.com> Date: Fri, 6 Dec 2024 01:18:19 -0500 Subject: [PATCH] Update farming weight values --- src/constants/weight/farming-weight.js | 148 +++++++++++++------------ 1 file changed, 75 insertions(+), 73 deletions(-) diff --git a/src/constants/weight/farming-weight.js b/src/constants/weight/farming-weight.js index ef8ec51ffe..650a89be92 100644 --- a/src/constants/weight/farming-weight.js +++ b/src/constants/weight/farming-weight.js @@ -11,137 +11,139 @@ const CROP_TO_PEST = { WHEAT: "Fly", }; -const PEST_COLLECTION_BRACKETS = [0, 50, 100, 250, 500, 750, 1000]; +const PEST_COLLECTION_BRACKETS = [0, 50, 100, 250, 500, 750, 1000, 5000]; +// Taken from https://api.elitebot.dev/weights/all const PEST_COLLECTION_ADJUSTMENTS = { Mite: { 0: 0, - 50: 1285.333312988281, - 100: 1898.6666259765625, - 250: 2512, - 500: 3125.333251953125, - 750: 3493.333251953125, - 1000: 3861.3333740234375, + 50: 392.81450646884014, + 100: 669.923748937681, + 250: 947.0330011428568, + 500: 1224.1422338753637, + 750: 1390.407781303933, + 1000: 1556.6733482051768, + 5000: 1778.3607382857135, }, Cricket: { 0: 0, - 50: 1430.3999755859375, - 100: 2086.399951171875, - 250: 2742.4, - 500: 3398.39990234375, - 750: 3791.99990234375, - 1000: 4185.600048828125, + 50: 489.7523779006233, + 100: 902.7047558012473, + 250: 1315.6571428571424, + 500: 1728.609511602488, + 750: 1976.3809401739236, + 1000: 2224.152387055896, + 5000: 2554.5142857142855, }, Moth: { 0: 0, - 50: 1430.3999755859375, - 100: 2086.399951171875, - 250: 2742.4, - 500: 3398.39990234375, - 750: 3791.99990234375, - 1000: 4185.600048828125, + 50: 298.189635562343, + 100: 495.4108711246863, + 250: 692.6321142857141, + 500: 889.8533422493692, + 750: 1008.1860851065103, + 1000: 1126.5188431610259, + 5000: 1284.2958285714303, }, Earthworm: { 0: 0, - 50: 2010.6666259765625, - 100: 2837.333251953125, - 250: 3664, - 500: 4490.66650390625, - 750: 4986.66650390625, - 1000: 5482.666748046875, + 50: 213.57277446402622, + 100: 364.2367361280558, + 250: 514.9007030857138, + 500: 665.5646594561076, + 750: 755.9630375132474, + 1000: 846.3614261576658, + 5000: 966.8925933714272, }, Slug: { 0: 0, - 50: 632.5333312988281, - 100: 1053.8666625976562, - 250: 1475.2, - 500: 1896.5333251953125, - 750: 2149.3333251953127, - 1000: 2402.133337402344, + 50: 167.24639496106215, + 100: 285.229618722125, + 250: 403.21284662857124, + 500: 521.1960662442498, + 750: 591.986001329964, + 1000: 662.7759447064464, + 5000: 757.1625220571423, }, Beetle: { 0: 0, - 50: 1647.9999694824216, - 100: 2367.9999389648438, - 250: 3088, - 500: 3807.9998779296875, - 750: 4239.9998779296875, - 1000: 4672.000061035156, + 50: 853.9206973770688, + 100: 1428.2624411541383, + 250: 2002.6042084571436, + 500: 2576.9459287082755, + 750: 2921.550979679705, + 1000: 3266.1560777030063, + 5000: 3725.629463314286, }, Locust: { 0: 0, - 50: 1647.9999694824216, - 100: 2367.9999389648438, - 250: 3088, - 500: 3807.9998779296875, - 750: 4239.9998779296875, - 1000: 4672.000061035156, + 50: 593.1620207157785, + 100: 1049.2292862315571, + 250: 1505.2965677714292, + 500: 1961.3638172631108, + 750: 2235.004179777403, + 1000: 2508.6445743398726, + 5000: 2873.4983803428586, }, Rat: { 0: 0, - 50: 922.6666564941406, - 100: 1429.333312988281, - 250: 1936, - 500: 2442.6666259765625, - 750: 2746.6666259765625, - 1000: 3050.6666870117188, + 50: 14.107772226298493, + 100: 24.060037252596885, + 250: 34.01230262857098, + 500: 43.96456730519367, + 750: 49.93592639090821, + 1000: 55.90728617597506, + 5000: 63.869098057142764, }, Mosquito: { 0: 0, - 50: 1285.333312988281, - 100: 1898.6666259765625, - 250: 2512, - 500: 3125.333251953125, - 750: 3493.333251953125, - 1000: 3861.3333740234375, - }, - Fly: { - 0: 0, - 50: 7179.839925842285, - 100: 11197.43985168457, - 250: 15215.04, - 500: 19232.63970336914, - 750: 21643.19970336914, - 1000: 24053.76014831543, + 50: 20.584146115646945, + 100: 35.10514023129508, + 250: 49.62613485714246, + 500: 64.14712846258954, + 750: 72.85972503401717, + 1000: 81.57232262585057, + 5000: 93.18911771428247, }, + Fly: { 0: 0, 50: 0, 100: 0, 250: 0, 500: 0, 750: 0, 1000: 0, 5000: 0 }, }; const crops = { CACTUS: { name: "Cactus", - weight: 177_254.45, + weight: 178_730.65, }, CARROT_ITEM: { name: "Carrot", - weight: 302_061.86, + weight: 300_000, }, "INK_SACK:3": { name: "Cocoa Bean", - weight: 267_174.04, + weight: 276_733.75, }, MELON: { name: "Melon", - weight: 485_308.47, + weight: 488_435.47, }, MUSHROOM_COLLECTION: { name: "Mushroom", - weight: 90_178.06, + weight: 90_944.27, }, NETHER_STALK: { name: "Nether Wart", - weight: 250_000, + weight: 248_606.81, }, POTATO_ITEM: { name: "Potato", - weight: 300_000, + weight: 298_328.17, }, PUMPKIN: { name: "Pumpkin", - weight: 98_284.71, + weight: 99_236.12, }, SUGAR_CANE: { name: "Sugar Cane", - weight: 200_000, + weight: 198_885.45, }, WHEAT: { name: "Wheat",