farming-weight 0.2.12 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/classes/farmingaccessory.d.ts +15 -0
- package/dist/classes/farmingaccessory.js +42 -0
- package/dist/classes/farmingaccessory.js.map +1 -0
- package/dist/classes/farmingarmor.d.ts +6 -5
- package/dist/classes/farmingarmor.js +38 -36
- package/dist/classes/farmingarmor.js.map +1 -1
- package/dist/classes/farmingpet.d.ts +18 -3
- package/dist/classes/farmingpet.js +75 -9
- package/dist/classes/farmingpet.js.map +1 -1
- package/dist/classes/farmingtool.d.ts +13 -9
- package/dist/classes/farmingtool.js +51 -35
- package/dist/classes/farmingtool.js.map +1 -1
- package/dist/classes/item.d.ts +1 -1
- package/dist/classes/item.js +1 -2
- package/dist/classes/lotusgear.d.ts +5 -5
- package/dist/classes/lotusgear.js +19 -21
- package/dist/classes/lotusgear.js.map +1 -1
- package/dist/classes/player.d.ts +33 -9
- package/dist/classes/player.js +140 -28
- package/dist/classes/player.js.map +1 -1
- package/dist/classes/weightcalc.d.ts +1 -1
- package/dist/classes/weightcalc.js +27 -31
- package/dist/classes/weightcalc.js.map +1 -1
- package/dist/constants/accessories.d.ts +14 -0
- package/dist/constants/accessories.js +36 -0
- package/dist/constants/accessories.js.map +1 -0
- package/dist/constants/armor.js +125 -128
- package/dist/constants/armor.js.map +1 -1
- package/dist/constants/crops.d.ts +2 -0
- package/dist/constants/crops.js +31 -18
- package/dist/constants/crops.js.map +1 -1
- package/dist/constants/enchants.js +67 -70
- package/dist/constants/enchants.js.map +1 -1
- package/dist/constants/lotus.js +26 -29
- package/dist/constants/lotus.js.map +1 -1
- package/dist/constants/personalbests.d.ts +1 -1
- package/dist/constants/personalbests.js +17 -21
- package/dist/constants/personalbests.js.map +1 -1
- package/dist/constants/pests.d.ts +2 -2
- package/dist/constants/pests.js +10 -15
- package/dist/constants/pests.js.map +1 -1
- package/dist/constants/pets.d.ts +21 -3
- package/dist/constants/pets.js +37 -23
- package/dist/constants/pets.js.map +1 -1
- package/dist/constants/reforges.js +8 -11
- package/dist/constants/reforges.js.map +1 -1
- package/dist/constants/skills.js +2 -5
- package/dist/constants/skills.js.map +1 -1
- package/dist/constants/specialcrops.js +16 -19
- package/dist/constants/specialcrops.js.map +1 -1
- package/dist/constants/specific.d.ts +3 -0
- package/dist/constants/specific.js +5 -5
- package/dist/constants/specific.js.map +1 -1
- package/dist/constants/tools.d.ts +1 -0
- package/dist/constants/tools.js +122 -113
- package/dist/constants/tools.js.map +1 -1
- package/dist/constants/weight.js +15 -18
- package/dist/constants/weight.js.map +1 -1
- package/dist/crops/melon.d.ts +1 -1
- package/dist/crops/melon.js +3 -7
- package/dist/crops/melon.js.map +1 -1
- package/dist/crops/pumpkin.d.ts +1 -1
- package/dist/crops/pumpkin.js +3 -7
- package/dist/crops/pumpkin.js.map +1 -1
- package/dist/crops/special.d.ts +1 -1
- package/dist/crops/special.js +6 -10
- package/dist/crops/special.js.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.js +25 -38
- package/dist/index.js.map +1 -1
- package/dist/util/itemstats.d.ts +3 -3
- package/dist/util/itemstats.js +48 -53
- package/dist/util/itemstats.js.map +1 -1
- package/dist/util/jacob.d.ts +2 -2
- package/dist/util/jacob.js +3 -8
- package/dist/util/jacob.js.map +1 -1
- package/dist/util/lore.d.ts +1 -1
- package/dist/util/lore.js +1 -5
- package/dist/util/lore.js.map +1 -1
- package/dist/util/names.d.ts +5 -4
- package/dist/util/names.js +102 -78
- package/dist/util/names.js.map +1 -1
- package/dist/util/ratecalc.d.ts +7 -7
- package/dist/util/ratecalc.js +87 -75
- package/dist/util/ratecalc.js.map +1 -1
- package/dist/util/skyblocktime.d.ts +1 -0
- package/dist/util/skyblocktime.js +8 -5
- package/dist/util/skyblocktime.js.map +1 -1
- package/package.json +1 -1
package/dist/constants/tools.js
CHANGED
|
@@ -1,263 +1,272 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const crops_1 = require("./crops");
|
|
5
|
-
const reforges_1 = require("./reforges");
|
|
6
|
-
var FarmingToolType;
|
|
1
|
+
import { Crop } from './crops';
|
|
2
|
+
import { Rarity, ReforgeTarget, Stat } from './reforges';
|
|
3
|
+
export var FarmingToolType;
|
|
7
4
|
(function (FarmingToolType) {
|
|
8
5
|
FarmingToolType["Other"] = "Other";
|
|
9
6
|
FarmingToolType["Dicer"] = "Dicer";
|
|
10
7
|
FarmingToolType["MathematicalHoe"] = "Mathematical Hoe";
|
|
11
|
-
})(FarmingToolType || (
|
|
12
|
-
const
|
|
13
|
-
[
|
|
14
|
-
[
|
|
15
|
-
[
|
|
8
|
+
})(FarmingToolType || (FarmingToolType = {}));
|
|
9
|
+
const hoeStats = {
|
|
10
|
+
[Rarity.Uncommon]: {
|
|
11
|
+
[Stat.FarmingFortune]: 25,
|
|
12
|
+
[Stat.FarmingWisdom]: 2,
|
|
16
13
|
},
|
|
17
|
-
[
|
|
18
|
-
[
|
|
19
|
-
[
|
|
14
|
+
[Rarity.Rare]: {
|
|
15
|
+
[Stat.FarmingFortune]: 50,
|
|
16
|
+
[Stat.FarmingWisdom]: 3,
|
|
20
17
|
},
|
|
21
|
-
[
|
|
22
|
-
[
|
|
23
|
-
[
|
|
18
|
+
[Rarity.Epic]: {
|
|
19
|
+
[Stat.FarmingFortune]: 50,
|
|
20
|
+
[Stat.FarmingWisdom]: 5,
|
|
24
21
|
},
|
|
25
|
-
[
|
|
26
|
-
[
|
|
27
|
-
[
|
|
22
|
+
[Rarity.Legendary]: {
|
|
23
|
+
[Stat.FarmingFortune]: 50,
|
|
24
|
+
[Stat.FarmingWisdom]: 8,
|
|
28
25
|
},
|
|
29
|
-
[
|
|
30
|
-
[
|
|
31
|
-
[
|
|
26
|
+
[Rarity.Mythic]: {
|
|
27
|
+
[Stat.FarmingFortune]: 50,
|
|
28
|
+
[Stat.FarmingWisdom]: 12,
|
|
32
29
|
},
|
|
33
30
|
};
|
|
34
|
-
|
|
31
|
+
export const FARMING_TOOLS = {
|
|
35
32
|
CACTUS_KNIFE: {
|
|
36
|
-
crop:
|
|
37
|
-
maxRarity:
|
|
38
|
-
reforgeType:
|
|
33
|
+
crop: Crop.Cactus,
|
|
34
|
+
maxRarity: Rarity.Epic,
|
|
35
|
+
reforgeType: ReforgeTarget.Hoe,
|
|
39
36
|
type: FarmingToolType.Other,
|
|
40
37
|
name: 'Cactus Knife',
|
|
41
38
|
wiki: 'https://wiki.hypixel.net/Cactus_Knife',
|
|
42
39
|
},
|
|
43
40
|
COCO_CHOPPER: {
|
|
44
|
-
crop:
|
|
45
|
-
maxRarity:
|
|
46
|
-
reforgeType:
|
|
41
|
+
crop: Crop.CocoaBeans,
|
|
42
|
+
maxRarity: Rarity.Legendary,
|
|
43
|
+
reforgeType: ReforgeTarget.Axe,
|
|
47
44
|
type: FarmingToolType.Other,
|
|
48
45
|
name: 'Cocoa Chopper',
|
|
49
46
|
wiki: 'https://wiki.hypixel.net/Cocoa_Chopper',
|
|
50
47
|
baseStats: {
|
|
51
|
-
[
|
|
48
|
+
[Stat.FarmingFortune]: 20,
|
|
52
49
|
},
|
|
53
50
|
},
|
|
54
51
|
FUNGI_CUTTER: {
|
|
55
|
-
crop:
|
|
56
|
-
maxRarity:
|
|
57
|
-
reforgeType:
|
|
52
|
+
crop: Crop.Mushroom,
|
|
53
|
+
maxRarity: Rarity.Legendary,
|
|
54
|
+
reforgeType: ReforgeTarget.Hoe,
|
|
58
55
|
type: FarmingToolType.Other,
|
|
59
56
|
name: 'Fungi Cutter',
|
|
60
57
|
wiki: 'https://wiki.hypixel.net/Fungi_Cutter',
|
|
61
58
|
baseStats: {
|
|
62
|
-
[
|
|
59
|
+
[Stat.FarmingFortune]: 30,
|
|
63
60
|
},
|
|
64
61
|
},
|
|
65
62
|
MELON_DICER: {
|
|
66
|
-
crop:
|
|
67
|
-
maxRarity:
|
|
68
|
-
reforgeType:
|
|
63
|
+
crop: Crop.Melon,
|
|
64
|
+
maxRarity: Rarity.Epic,
|
|
65
|
+
reforgeType: ReforgeTarget.Axe,
|
|
69
66
|
type: FarmingToolType.Dicer,
|
|
70
67
|
upgrade: 'MELON_DICER_2',
|
|
71
68
|
name: 'Melon Dicer',
|
|
72
69
|
wiki: 'https://wiki.hypixel.net/Melon_Dicer',
|
|
73
70
|
},
|
|
74
71
|
MELON_DICER_2: {
|
|
75
|
-
crop:
|
|
76
|
-
maxRarity:
|
|
77
|
-
reforgeType:
|
|
72
|
+
crop: Crop.Melon,
|
|
73
|
+
maxRarity: Rarity.Legendary,
|
|
74
|
+
reforgeType: ReforgeTarget.Axe,
|
|
78
75
|
type: FarmingToolType.Dicer,
|
|
79
76
|
upgrade: 'MELON_DICER_3',
|
|
80
77
|
name: 'Melon Dicer 2.0',
|
|
81
78
|
wiki: 'https://wiki.hypixel.net/Melon_Dicer',
|
|
82
79
|
},
|
|
83
80
|
MELON_DICER_3: {
|
|
84
|
-
crop:
|
|
85
|
-
maxRarity:
|
|
86
|
-
reforgeType:
|
|
81
|
+
crop: Crop.Melon,
|
|
82
|
+
maxRarity: Rarity.Mythic,
|
|
83
|
+
reforgeType: ReforgeTarget.Axe,
|
|
87
84
|
type: FarmingToolType.Dicer,
|
|
88
85
|
name: 'Melon Dicer 3.0',
|
|
89
86
|
wiki: 'https://wiki.hypixel.net/Melon_Dicer',
|
|
90
87
|
},
|
|
91
88
|
PUMPKIN_DICER: {
|
|
92
|
-
crop:
|
|
93
|
-
maxRarity:
|
|
94
|
-
reforgeType:
|
|
89
|
+
crop: Crop.Pumpkin,
|
|
90
|
+
maxRarity: Rarity.Epic,
|
|
91
|
+
reforgeType: ReforgeTarget.Axe,
|
|
95
92
|
type: FarmingToolType.Dicer,
|
|
96
93
|
upgrade: 'PUMPKIN_DICER_2',
|
|
97
94
|
name: 'Pumpkin Dicer',
|
|
98
95
|
wiki: 'https://wiki.hypixel.net/Pumpkin_Dicer',
|
|
99
96
|
},
|
|
100
97
|
PUMPKIN_DICER_2: {
|
|
101
|
-
crop:
|
|
102
|
-
maxRarity:
|
|
103
|
-
reforgeType:
|
|
98
|
+
crop: Crop.Pumpkin,
|
|
99
|
+
maxRarity: Rarity.Legendary,
|
|
100
|
+
reforgeType: ReforgeTarget.Axe,
|
|
104
101
|
type: FarmingToolType.Dicer,
|
|
105
102
|
upgrade: 'PUMPKIN_DICER_3',
|
|
106
103
|
name: 'Pumpkin Dicer 2.0',
|
|
107
104
|
wiki: 'https://wiki.hypixel.net/Pumpkin_Dicer',
|
|
108
105
|
},
|
|
109
106
|
PUMPKIN_DICER_3: {
|
|
110
|
-
crop:
|
|
111
|
-
maxRarity:
|
|
112
|
-
reforgeType:
|
|
107
|
+
crop: Crop.Pumpkin,
|
|
108
|
+
maxRarity: Rarity.Mythic,
|
|
109
|
+
reforgeType: ReforgeTarget.Axe,
|
|
113
110
|
type: FarmingToolType.Dicer,
|
|
114
111
|
name: 'Pumpkin Dicer 3.0',
|
|
115
112
|
wiki: 'https://wiki.hypixel.net/Pumpkin_Dicer',
|
|
116
113
|
},
|
|
117
114
|
THEORETICAL_HOE_CARROT_1: {
|
|
118
|
-
crop:
|
|
119
|
-
maxRarity:
|
|
120
|
-
reforgeType:
|
|
115
|
+
crop: Crop.Carrot,
|
|
116
|
+
maxRarity: Rarity.Epic,
|
|
117
|
+
reforgeType: ReforgeTarget.Hoe,
|
|
121
118
|
type: FarmingToolType.MathematicalHoe,
|
|
122
119
|
upgrade: 'THEORETICAL_HOE_CARROT_2',
|
|
123
120
|
name: 'Gauss Carrot Hoe',
|
|
124
121
|
wiki: 'https://wiki.hypixel.net/Gauss_Carrot_Hoe',
|
|
125
|
-
stats:
|
|
122
|
+
stats: hoeStats,
|
|
126
123
|
},
|
|
127
124
|
THEORETICAL_HOE_CARROT_2: {
|
|
128
|
-
crop:
|
|
129
|
-
maxRarity:
|
|
130
|
-
reforgeType:
|
|
125
|
+
crop: Crop.Carrot,
|
|
126
|
+
maxRarity: Rarity.Legendary,
|
|
127
|
+
reforgeType: ReforgeTarget.Hoe,
|
|
131
128
|
type: FarmingToolType.MathematicalHoe,
|
|
132
129
|
upgrade: 'THEORETICAL_HOE_CARROT_3',
|
|
133
130
|
name: 'Gauss Carrot Hoe',
|
|
134
131
|
wiki: 'https://wiki.hypixel.net/Gauss_Carrot_Hoe',
|
|
135
|
-
stats:
|
|
132
|
+
stats: hoeStats,
|
|
136
133
|
},
|
|
137
134
|
THEORETICAL_HOE_CARROT_3: {
|
|
138
|
-
crop:
|
|
139
|
-
maxRarity:
|
|
140
|
-
reforgeType:
|
|
135
|
+
crop: Crop.Carrot,
|
|
136
|
+
maxRarity: Rarity.Mythic,
|
|
137
|
+
reforgeType: ReforgeTarget.Hoe,
|
|
141
138
|
type: FarmingToolType.MathematicalHoe,
|
|
142
139
|
name: 'Gauss Carrot Hoe',
|
|
143
140
|
wiki: 'https://wiki.hypixel.net/Gauss_Carrot_Hoe',
|
|
144
|
-
stats:
|
|
141
|
+
stats: hoeStats,
|
|
145
142
|
},
|
|
146
143
|
THEORETICAL_HOE_WARTS_1: {
|
|
147
|
-
crop:
|
|
148
|
-
maxRarity:
|
|
149
|
-
reforgeType:
|
|
144
|
+
crop: Crop.NetherWart,
|
|
145
|
+
maxRarity: Rarity.Epic,
|
|
146
|
+
reforgeType: ReforgeTarget.Hoe,
|
|
150
147
|
type: FarmingToolType.MathematicalHoe,
|
|
151
148
|
upgrade: 'THEORETICAL_HOE_WARTS_2',
|
|
152
149
|
name: 'Newton Nether Warts Hoe',
|
|
153
150
|
wiki: 'https://wiki.hypixel.net/Newton_Nether_Warts_Hoe',
|
|
154
|
-
stats:
|
|
151
|
+
stats: hoeStats,
|
|
155
152
|
},
|
|
156
153
|
THEORETICAL_HOE_WARTS_2: {
|
|
157
|
-
crop:
|
|
158
|
-
maxRarity:
|
|
159
|
-
reforgeType:
|
|
154
|
+
crop: Crop.NetherWart,
|
|
155
|
+
maxRarity: Rarity.Legendary,
|
|
156
|
+
reforgeType: ReforgeTarget.Hoe,
|
|
160
157
|
type: FarmingToolType.MathematicalHoe,
|
|
161
158
|
upgrade: 'THEORETICAL_HOE_WARTS_3',
|
|
162
159
|
name: 'Newton Nether Warts Hoe',
|
|
163
160
|
wiki: 'https://wiki.hypixel.net/Newton_Nether_Warts_Hoe',
|
|
164
|
-
stats:
|
|
161
|
+
stats: hoeStats,
|
|
165
162
|
},
|
|
166
163
|
THEORETICAL_HOE_WARTS_3: {
|
|
167
|
-
crop:
|
|
168
|
-
maxRarity:
|
|
169
|
-
reforgeType:
|
|
164
|
+
crop: Crop.NetherWart,
|
|
165
|
+
maxRarity: Rarity.Mythic,
|
|
166
|
+
reforgeType: ReforgeTarget.Hoe,
|
|
170
167
|
type: FarmingToolType.MathematicalHoe,
|
|
171
168
|
name: 'Newton Nether Warts Hoe',
|
|
172
169
|
wiki: 'https://wiki.hypixel.net/Newton_Nether_Warts_Hoe',
|
|
173
|
-
stats:
|
|
170
|
+
stats: hoeStats,
|
|
174
171
|
},
|
|
175
172
|
THEORETICAL_HOE_POTATO_1: {
|
|
176
|
-
crop:
|
|
177
|
-
maxRarity:
|
|
178
|
-
reforgeType:
|
|
173
|
+
crop: Crop.Potato,
|
|
174
|
+
maxRarity: Rarity.Epic,
|
|
175
|
+
reforgeType: ReforgeTarget.Hoe,
|
|
179
176
|
type: FarmingToolType.MathematicalHoe,
|
|
180
177
|
upgrade: 'THEORETICAL_HOE_POTATO_2',
|
|
181
178
|
name: 'Pythagorean Potato Hoe',
|
|
182
179
|
wiki: 'https://wiki.hypixel.net/Pythagorean_Potato_Hoe',
|
|
183
|
-
stats:
|
|
180
|
+
stats: hoeStats,
|
|
184
181
|
},
|
|
185
182
|
THEORETICAL_HOE_POTATO_2: {
|
|
186
|
-
crop:
|
|
187
|
-
maxRarity:
|
|
188
|
-
reforgeType:
|
|
183
|
+
crop: Crop.Potato,
|
|
184
|
+
maxRarity: Rarity.Legendary,
|
|
185
|
+
reforgeType: ReforgeTarget.Hoe,
|
|
189
186
|
type: FarmingToolType.MathematicalHoe,
|
|
190
187
|
upgrade: 'THEORETICAL_HOE_POTATO_3',
|
|
191
188
|
name: 'Pythagorean Potato Hoe',
|
|
192
189
|
wiki: 'https://wiki.hypixel.net/Pythagorean_Potato_Hoe',
|
|
193
|
-
stats:
|
|
190
|
+
stats: hoeStats,
|
|
194
191
|
},
|
|
195
192
|
THEORETICAL_HOE_POTATO_3: {
|
|
196
|
-
crop:
|
|
197
|
-
maxRarity:
|
|
198
|
-
reforgeType:
|
|
193
|
+
crop: Crop.Potato,
|
|
194
|
+
maxRarity: Rarity.Mythic,
|
|
195
|
+
reforgeType: ReforgeTarget.Hoe,
|
|
199
196
|
type: FarmingToolType.MathematicalHoe,
|
|
200
197
|
name: 'Pythagorean Potato Hoe',
|
|
201
198
|
wiki: 'https://wiki.hypixel.net/Pythagorean_Potato_Hoe',
|
|
202
|
-
stats:
|
|
199
|
+
stats: hoeStats,
|
|
203
200
|
},
|
|
204
201
|
THEORETICAL_HOE_CANE_1: {
|
|
205
|
-
crop:
|
|
206
|
-
maxRarity:
|
|
207
|
-
reforgeType:
|
|
202
|
+
crop: Crop.SugarCane,
|
|
203
|
+
maxRarity: Rarity.Epic,
|
|
204
|
+
reforgeType: ReforgeTarget.Hoe,
|
|
208
205
|
type: FarmingToolType.MathematicalHoe,
|
|
209
206
|
upgrade: 'THEORETICAL_HOE_CANE_2',
|
|
210
207
|
name: 'Turing Sugar Cane Hoe',
|
|
211
208
|
wiki: 'https://wiki.hypixel.net/Turing_Sugar_Cane_Hoe',
|
|
212
|
-
stats:
|
|
209
|
+
stats: hoeStats,
|
|
213
210
|
},
|
|
214
211
|
THEORETICAL_HOE_CANE_2: {
|
|
215
|
-
crop:
|
|
216
|
-
maxRarity:
|
|
217
|
-
reforgeType:
|
|
212
|
+
crop: Crop.SugarCane,
|
|
213
|
+
maxRarity: Rarity.Legendary,
|
|
214
|
+
reforgeType: ReforgeTarget.Hoe,
|
|
218
215
|
type: FarmingToolType.MathematicalHoe,
|
|
219
216
|
upgrade: 'THEORETICAL_HOE_CANE_3',
|
|
220
217
|
name: 'Turing Sugar Cane Hoe',
|
|
221
218
|
wiki: 'https://wiki.hypixel.net/Turing_Sugar_Cane_Hoe',
|
|
222
|
-
stats:
|
|
219
|
+
stats: hoeStats,
|
|
223
220
|
},
|
|
224
221
|
THEORETICAL_HOE_CANE_3: {
|
|
225
|
-
crop:
|
|
226
|
-
maxRarity:
|
|
227
|
-
reforgeType:
|
|
222
|
+
crop: Crop.SugarCane,
|
|
223
|
+
maxRarity: Rarity.Mythic,
|
|
224
|
+
reforgeType: ReforgeTarget.Hoe,
|
|
228
225
|
type: FarmingToolType.MathematicalHoe,
|
|
229
226
|
name: 'Turing Sugar Cane Hoe',
|
|
230
227
|
wiki: 'https://wiki.hypixel.net/Turing_Sugar_Cane_Hoe',
|
|
231
|
-
stats:
|
|
228
|
+
stats: hoeStats,
|
|
232
229
|
},
|
|
233
230
|
THEORETICAL_HOE_WHEAT_1: {
|
|
234
|
-
crop:
|
|
235
|
-
maxRarity:
|
|
236
|
-
reforgeType:
|
|
231
|
+
crop: Crop.Wheat,
|
|
232
|
+
maxRarity: Rarity.Epic,
|
|
233
|
+
reforgeType: ReforgeTarget.Hoe,
|
|
237
234
|
type: FarmingToolType.MathematicalHoe,
|
|
238
235
|
upgrade: 'THEORETICAL_HOE_WHEAT_2',
|
|
239
236
|
name: "Euclid's Wheat Hoe",
|
|
240
237
|
wiki: 'https://wiki.hypixel.net/Euclid%27s_Wheat_Hoe',
|
|
241
|
-
stats:
|
|
238
|
+
stats: hoeStats,
|
|
242
239
|
},
|
|
243
240
|
THEORETICAL_HOE_WHEAT_2: {
|
|
244
|
-
crop:
|
|
245
|
-
maxRarity:
|
|
246
|
-
reforgeType:
|
|
241
|
+
crop: Crop.Wheat,
|
|
242
|
+
maxRarity: Rarity.Legendary,
|
|
243
|
+
reforgeType: ReforgeTarget.Hoe,
|
|
247
244
|
type: FarmingToolType.MathematicalHoe,
|
|
248
245
|
upgrade: 'THEORETICAL_HOE_WHEAT_3',
|
|
249
246
|
name: "Euclid's Wheat Hoe",
|
|
250
247
|
wiki: 'https://wiki.hypixel.net/Euclid%27s_Wheat_Hoe',
|
|
251
|
-
stats:
|
|
248
|
+
stats: hoeStats,
|
|
252
249
|
},
|
|
253
250
|
THEORETICAL_HOE_WHEAT_3: {
|
|
254
|
-
crop:
|
|
255
|
-
maxRarity:
|
|
256
|
-
reforgeType:
|
|
251
|
+
crop: Crop.Wheat,
|
|
252
|
+
maxRarity: Rarity.Mythic,
|
|
253
|
+
reforgeType: ReforgeTarget.Hoe,
|
|
257
254
|
type: FarmingToolType.MathematicalHoe,
|
|
258
255
|
name: "Euclid's Wheat Hoe",
|
|
259
256
|
wiki: 'https://wiki.hypixel.net/Euclid%27s_Wheat_Hoe',
|
|
260
|
-
stats:
|
|
257
|
+
stats: hoeStats,
|
|
261
258
|
},
|
|
262
259
|
};
|
|
260
|
+
export const BEST_FARMING_TOOLS = {
|
|
261
|
+
[Crop.Cactus]: FARMING_TOOLS.CACTUS_KNIFE,
|
|
262
|
+
[Crop.CocoaBeans]: FARMING_TOOLS.COCO_CHOPPER,
|
|
263
|
+
[Crop.Mushroom]: FARMING_TOOLS.FUNGI_CUTTER,
|
|
264
|
+
[Crop.Melon]: FARMING_TOOLS.MELON_DICER_3,
|
|
265
|
+
[Crop.Pumpkin]: FARMING_TOOLS.PUMPKIN_DICER_3,
|
|
266
|
+
[Crop.Carrot]: FARMING_TOOLS.THEORETICAL_HOE_CARROT_3,
|
|
267
|
+
[Crop.NetherWart]: FARMING_TOOLS.THEORETICAL_HOE_WARTS_3,
|
|
268
|
+
[Crop.Potato]: FARMING_TOOLS.THEORETICAL_HOE_POTATO_3,
|
|
269
|
+
[Crop.SugarCane]: FARMING_TOOLS.THEORETICAL_HOE_CANE_3,
|
|
270
|
+
[Crop.Wheat]: FARMING_TOOLS.THEORETICAL_HOE_WHEAT_3,
|
|
271
|
+
};
|
|
263
272
|
//# sourceMappingURL=tools.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tools.js","sourceRoot":"","sources":["../../src/constants/tools.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tools.js","sourceRoot":"","sources":["../../src/constants/tools.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAC/B,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAEzD,MAAM,CAAN,IAAY,eAIX;AAJD,WAAY,eAAe;IAC1B,kCAAe,CAAA;IACf,kCAAe,CAAA;IACf,uDAAoC,CAAA;AACrC,CAAC,EAJW,eAAe,KAAf,eAAe,QAI1B;AAcD,MAAM,QAAQ,GAAG;IAChB,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE;QAClB,CAAC,IAAI,CAAC,cAAc,CAAC,EAAE,EAAE;QACzB,CAAC,IAAI,CAAC,aAAa,CAAC,EAAE,CAAC;KACvB;IACD,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE;QACd,CAAC,IAAI,CAAC,cAAc,CAAC,EAAE,EAAE;QACzB,CAAC,IAAI,CAAC,aAAa,CAAC,EAAE,CAAC;KACvB;IACD,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE;QACd,CAAC,IAAI,CAAC,cAAc,CAAC,EAAE,EAAE;QACzB,CAAC,IAAI,CAAC,aAAa,CAAC,EAAE,CAAC;KACvB;IACD,CAAC,MAAM,CAAC,SAAS,CAAC,EAAE;QACnB,CAAC,IAAI,CAAC,cAAc,CAAC,EAAE,EAAE;QACzB,CAAC,IAAI,CAAC,aAAa,CAAC,EAAE,CAAC;KACvB;IACD,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE;QAChB,CAAC,IAAI,CAAC,cAAc,CAAC,EAAE,EAAE;QACzB,CAAC,IAAI,CAAC,aAAa,CAAC,EAAE,EAAE;KACxB;CACQ,CAAC;AAEX,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C9B,IAAI,EAAE,eAAe,CAAC,eAAe;QACrC,IAAI,EAAE,oBAAoB;QAC1B,IAAI,EAAE,+CAA+C;QACrD,KAAK,EAAE,QAAQ;KACf;CACD,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAA2C;IACzE,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,aAAa,CAAC,YAAY;IACzC,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,aAAa,CAAC,YAAY;IAC7C,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,aAAa,CAAC,YAAY;IAC3C,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,aAAa,CAAC,aAAa;IACzC,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,aAAa,CAAC,eAAe;IAC7C,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,aAAa,CAAC,wBAAwB;IACrD,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,aAAa,CAAC,uBAAuB;IACxD,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,aAAa,CAAC,wBAAwB;IACrD,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,aAAa,CAAC,sBAAsB;IACtD,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,aAAa,CAAC,uBAAuB;CACnD,CAAC"}
|
package/dist/constants/weight.js
CHANGED
|
@@ -1,22 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BONUS_WEIGHT = exports.TIER_12_MINIONS = exports.CROP_WEIGHT = void 0;
|
|
4
|
-
const crops_1 = require("./crops");
|
|
1
|
+
import { Crop } from './crops';
|
|
5
2
|
// https://api.elitebot.dev/weights
|
|
6
|
-
|
|
7
|
-
[
|
|
8
|
-
[
|
|
9
|
-
[
|
|
10
|
-
[
|
|
11
|
-
[
|
|
12
|
-
[
|
|
13
|
-
[
|
|
14
|
-
[
|
|
15
|
-
[
|
|
16
|
-
[
|
|
17
|
-
[
|
|
3
|
+
export const CROP_WEIGHT = {
|
|
4
|
+
[Crop.Cactus]: 177_254.45,
|
|
5
|
+
[Crop.Carrot]: 302_061.86,
|
|
6
|
+
[Crop.CocoaBeans]: 267_174.04,
|
|
7
|
+
[Crop.Melon]: 485_308.47,
|
|
8
|
+
[Crop.Mushroom]: 90_178.06,
|
|
9
|
+
[Crop.NetherWart]: 250_000,
|
|
10
|
+
[Crop.Potato]: 300_000,
|
|
11
|
+
[Crop.Pumpkin]: 98_284.71,
|
|
12
|
+
[Crop.SugarCane]: 200_000,
|
|
13
|
+
[Crop.Wheat]: 100_000,
|
|
14
|
+
[Crop.Seeds]: 0, // Byproduct of wheat farming, not counted
|
|
18
15
|
};
|
|
19
|
-
|
|
16
|
+
export const TIER_12_MINIONS = [
|
|
20
17
|
'WHEAT_12',
|
|
21
18
|
'CARROT_12',
|
|
22
19
|
'POTATO_12',
|
|
@@ -28,7 +25,7 @@ exports.TIER_12_MINIONS = [
|
|
|
28
25
|
'SUGAR_CANE_12',
|
|
29
26
|
'NETHER_WARTS_12',
|
|
30
27
|
];
|
|
31
|
-
|
|
28
|
+
export const BONUS_WEIGHT = {
|
|
32
29
|
Farming60Bonus: 250,
|
|
33
30
|
Farming50Bonus: 100,
|
|
34
31
|
AnitaBuffBonusMultiplier: 2,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"weight.js","sourceRoot":"","sources":["../../src/constants/weight.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"weight.js","sourceRoot":"","sources":["../../src/constants/weight.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAE/B,mCAAmC;AACnC,MAAM,CAAC,MAAM,WAAW,GAAyB;IAChD,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,UAAU;IACzB,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,UAAU;IACzB,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,UAAU;IAC7B,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,UAAU;IACxB,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,SAAS;IAC1B,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,OAAO;IAC1B,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,OAAO;IACtB,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,SAAS;IACzB,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,OAAO;IACzB,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,OAAO;IACrB,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,EAAE,0CAA0C;CAC3D,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAsB;IACjD,UAAU;IACV,WAAW;IACX,WAAW;IACX,YAAY;IACZ,UAAU;IACV,aAAa;IACb,UAAU;IACV,WAAW;IACX,eAAe;IACf,iBAAiB;CACR,CAAC;AAEX,MAAM,CAAC,MAAM,YAAY,GAAG;IAC3B,cAAc,EAAE,GAAG;IACnB,cAAc,EAAE,GAAG;IACnB,wBAAwB,EAAE,CAAC;IAC3B,gBAAgB,EAAE,IAAI;IACtB,uBAAuB,EAAE,EAAE;IAC3B,kBAAkB,EAAE,GAAG;IACvB,gBAAgB,EAAE,EAAE;IACpB,kBAAkB,EAAE,CAAC;CACZ,CAAC"}
|
package/dist/crops/melon.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function
|
|
1
|
+
export declare function calculateMelonPerkBonus(blocksBroken: number, level?: 3): number;
|
package/dist/crops/melon.js
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CalculateMelonPerkBonus = void 0;
|
|
4
|
-
const MELON_DICER_ROLLEM = {
|
|
1
|
+
const melonDicerRollem = {
|
|
5
2
|
3: [
|
|
6
3
|
{
|
|
7
4
|
drops: 640,
|
|
@@ -21,12 +18,11 @@ const MELON_DICER_ROLLEM = {
|
|
|
21
18
|
},
|
|
22
19
|
],
|
|
23
20
|
};
|
|
24
|
-
function
|
|
21
|
+
export function calculateMelonPerkBonus(blocksBroken, level = 3) {
|
|
25
22
|
let total = 0;
|
|
26
|
-
for (const { drops, chance } of
|
|
23
|
+
for (const { drops, chance } of melonDicerRollem[level]) {
|
|
27
24
|
total += drops * chance * blocksBroken;
|
|
28
25
|
}
|
|
29
26
|
return total;
|
|
30
27
|
}
|
|
31
|
-
exports.CalculateMelonPerkBonus = CalculateMelonPerkBonus;
|
|
32
28
|
//# sourceMappingURL=melon.js.map
|
package/dist/crops/melon.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"melon.js","sourceRoot":"","sources":["../../src/crops/melon.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"melon.js","sourceRoot":"","sources":["../../src/crops/melon.ts"],"names":[],"mappings":"AAAA,MAAM,gBAAgB,GAAG;IACxB,CAAC,EAAE;QACF;YACC,KAAK,EAAE,GAAG;YACV,MAAM,EAAE,GAAG,GAAG,MAAM;SACpB;QACD;YACC,KAAK,EAAE,IAAI;YACX,MAAM,EAAE,EAAE,GAAG,MAAM;SACnB;QACD;YACC,KAAK,EAAE,KAAK;YACZ,MAAM,EAAE,CAAC,GAAG,MAAM;SAClB;QACD;YACC,KAAK,EAAE,MAAM;YACb,MAAM,EAAE,CAAC,GAAG,MAAM;SAClB;KACD;CACD,CAAC;AAEF,MAAM,UAAU,uBAAuB,CAAC,YAAoB,EAAE,QAAW,CAAC;IACzE,IAAI,KAAK,GAAG,CAAC,CAAC;IAEd,KAAK,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,gBAAgB,CAAC,KAAK,CAAC,EAAE;QACxD,KAAK,IAAI,KAAK,GAAG,MAAM,GAAG,YAAY,CAAC;KACvC;IAED,OAAO,KAAK,CAAC;AACd,CAAC"}
|
package/dist/crops/pumpkin.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function
|
|
1
|
+
export declare function calculatePumpkinPerkBonus(blocksBroken: number, level?: 3): number;
|
package/dist/crops/pumpkin.js
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CalculatePumpkinPerkBonus = void 0;
|
|
4
|
-
const PUMPKIN_DICER_ROLLEM = {
|
|
1
|
+
const pumkinDicerRollem = {
|
|
5
2
|
3: [
|
|
6
3
|
{
|
|
7
4
|
drops: 480,
|
|
@@ -21,12 +18,11 @@ const PUMPKIN_DICER_ROLLEM = {
|
|
|
21
18
|
},
|
|
22
19
|
],
|
|
23
20
|
};
|
|
24
|
-
function
|
|
21
|
+
export function calculatePumpkinPerkBonus(blocksBroken, level = 3) {
|
|
25
22
|
let total = 0;
|
|
26
|
-
for (const { drops, chance } of
|
|
23
|
+
for (const { drops, chance } of pumkinDicerRollem[level]) {
|
|
27
24
|
total += drops * chance * blocksBroken;
|
|
28
25
|
}
|
|
29
26
|
return total;
|
|
30
27
|
}
|
|
31
|
-
exports.CalculatePumpkinPerkBonus = CalculatePumpkinPerkBonus;
|
|
32
28
|
//# sourceMappingURL=pumpkin.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pumpkin.js","sourceRoot":"","sources":["../../src/crops/pumpkin.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pumpkin.js","sourceRoot":"","sources":["../../src/crops/pumpkin.ts"],"names":[],"mappings":"AAAA,MAAM,iBAAiB,GAAG;IACzB,CAAC,EAAE;QACF;YACC,KAAK,EAAE,GAAG;YACV,MAAM,EAAE,EAAE,GAAG,MAAM;SACnB;QACD;YACC,KAAK,EAAE,GAAG;YACV,MAAM,EAAE,EAAE,GAAG,MAAM;SACnB;QACD;YACC,KAAK,EAAE,IAAI;YACX,MAAM,EAAE,CAAC,GAAG,MAAM;SAClB;QACD;YACC,KAAK,EAAE,KAAK;YACZ,MAAM,EAAE,CAAC,GAAG,MAAM;SAClB;KACD;CACD,CAAC;AAEF,MAAM,UAAU,yBAAyB,CAAC,YAAoB,EAAE,QAAW,CAAC;IAC3E,IAAI,KAAK,GAAG,CAAC,CAAC;IAEd,KAAK,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,iBAAiB,CAAC,KAAK,CAAC,EAAE;QACzD,KAAK,IAAI,KAAK,GAAG,MAAM,GAAG,YAAY,CAAC;KACvC;IAED,OAAO,KAAK,CAAC;AACd,CAAC"}
|
package/dist/crops/special.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Crop } from '../constants/crops';
|
|
2
|
-
export declare function
|
|
2
|
+
export declare function calculateAverageSpecialCrops(blocksBroken: number, crop: Crop, armor: 1 | 2 | 3 | 4): {
|
|
3
3
|
type: import("../constants/specialcrops").SpecialCrop;
|
|
4
4
|
amount: number;
|
|
5
5
|
npc: number;
|
package/dist/crops/special.js
CHANGED
|
@@ -1,18 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
function CalculateAverageSpecialCrops(blocksBroken, crop, armor) {
|
|
7
|
-
const type = specialcrops_1.MATCHING_SPECIAL_CROP[crop];
|
|
8
|
-
const { rates, npc } = specialcrops_1.SPECIAL_CROP_INFO[type];
|
|
1
|
+
import { CROP_INFO } from '../constants/crops';
|
|
2
|
+
import { MATCHING_SPECIAL_CROP, SPECIAL_CROP_INFO } from '../constants/specialcrops';
|
|
3
|
+
export function calculateAverageSpecialCrops(blocksBroken, crop, armor) {
|
|
4
|
+
const type = MATCHING_SPECIAL_CROP[crop];
|
|
5
|
+
const { rates, npc } = SPECIAL_CROP_INFO[type];
|
|
9
6
|
const chance = rates[armor - 1] ?? 0;
|
|
10
|
-
const amount = blocksBroken * chance * (
|
|
7
|
+
const amount = blocksBroken * chance * (CROP_INFO[crop]?.breaks ?? 1);
|
|
11
8
|
return {
|
|
12
9
|
type,
|
|
13
10
|
amount: amount,
|
|
14
11
|
npc: npc * amount,
|
|
15
12
|
};
|
|
16
13
|
}
|
|
17
|
-
exports.CalculateAverageSpecialCrops = CalculateAverageSpecialCrops;
|
|
18
14
|
//# sourceMappingURL=special.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"special.js","sourceRoot":"","sources":["../../src/crops/special.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"special.js","sourceRoot":"","sources":["../../src/crops/special.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAQ,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAErF,MAAM,UAAU,4BAA4B,CAAC,YAAoB,EAAE,IAAU,EAAE,KAAoB;IAClG,MAAM,IAAI,GAAG,qBAAqB,CAAC,IAAI,CAAC,CAAC;IAEzC,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC,IAAI,CAAC,CAAC;IAC/C,MAAM,MAAM,GAAG,KAAK,CAAC,KAAK,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC;IACrC,MAAM,MAAM,GAAG,YAAY,GAAG,MAAM,GAAG,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,MAAM,IAAI,CAAC,CAAC,CAAC;IAEtE,OAAO;QACN,IAAI;QACJ,MAAM,EAAE,MAAM;QACd,GAAG,EAAE,GAAG,GAAG,MAAM;KACjB,CAAC;AACH,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
export * from './classes/farmingarmor.js';
|
|
2
2
|
export * from './classes/farmingtool.js';
|
|
3
|
+
export * from './classes/farmingpet.js';
|
|
4
|
+
export * from './classes/farmingaccessory.js';
|
|
3
5
|
export * from './classes/item.js';
|
|
4
6
|
export * from './classes/player.js';
|
|
5
7
|
export * from './classes/weightcalc.js';
|
|
8
|
+
export * from './classes/lotusgear.js';
|
|
6
9
|
export * from './constants/armor.js';
|
|
7
10
|
export * from './constants/crops.js';
|
|
8
11
|
export * from './constants/reforges.js';
|