farming-weight 0.10.3 → 0.10.5

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.
Files changed (48) hide show
  1. package/dist/constants/crops.js +7 -6
  2. package/dist/constants/crops.js.map +1 -1
  3. package/dist/constants/enchants.d.ts +2 -0
  4. package/dist/constants/enchants.js +1 -0
  5. package/dist/constants/enchants.js.map +1 -1
  6. package/dist/constants/garden.d.ts +42 -0
  7. package/dist/constants/garden.js +666 -0
  8. package/dist/constants/garden.js.map +1 -1
  9. package/dist/constants/itemids.d.ts +22 -0
  10. package/dist/constants/itemids.js +23 -0
  11. package/dist/constants/itemids.js.map +1 -0
  12. package/dist/constants/specialcrops.d.ts +8 -1
  13. package/dist/constants/specialcrops.js +7 -0
  14. package/dist/constants/specialcrops.js.map +1 -1
  15. package/dist/constants/upgrades.d.ts +28 -1
  16. package/dist/constants/upgrades.js +35 -25
  17. package/dist/constants/upgrades.js.map +1 -1
  18. package/dist/features/composter/composter.d.ts +7 -0
  19. package/dist/features/composter/composter.js +9 -0
  20. package/dist/features/composter/composter.js.map +1 -0
  21. package/dist/features/composter/index.d.ts +3 -0
  22. package/dist/features/composter/index.js +4 -0
  23. package/dist/features/composter/index.js.map +1 -0
  24. package/dist/features/composter/progress.d.ts +15 -0
  25. package/dist/features/composter/progress.js +62 -0
  26. package/dist/features/composter/progress.js.map +1 -0
  27. package/dist/features/composter/upgrades.d.ts +11 -0
  28. package/dist/features/composter/upgrades.js +1014 -0
  29. package/dist/features/composter/upgrades.js.map +1 -0
  30. package/dist/features/index.d.ts +1 -0
  31. package/dist/features/index.js +2 -0
  32. package/dist/features/index.js.map +1 -0
  33. package/dist/index.d.ts +2 -0
  34. package/dist/index.js +2 -0
  35. package/dist/index.js.map +1 -1
  36. package/dist/items/pets.js +1 -1
  37. package/dist/upgrades/getsourceprogress.d.ts +2 -1
  38. package/dist/upgrades/getsourceprogress.js +56 -0
  39. package/dist/upgrades/getsourceprogress.js.map +1 -1
  40. package/dist/upgrades/sources/armorsetsources.js +2 -1
  41. package/dist/upgrades/sources/armorsetsources.js.map +1 -1
  42. package/dist/upgrades/sources/dynamicfortunesources.d.ts +45 -1
  43. package/dist/upgrades/sources/toolsources.js +1 -1
  44. package/dist/upgrades/sources/toolsources.js.map +1 -1
  45. package/dist/util/names.d.ts +5 -0
  46. package/dist/util/names.js +34 -0
  47. package/dist/util/names.js.map +1 -1
  48. package/package.json +1 -1
@@ -0,0 +1,1014 @@
1
+ import { ITEM_IDS } from '../../constants/itemids.js';
2
+ import { mergeCost } from '../../constants/upgrades.js';
3
+ import { ComposterUpgrade } from './composter.js';
4
+ export const COMPOSTER_UPGRADES = {
5
+ [ComposterUpgrade.Speed]: {
6
+ name: 'Composter Speed',
7
+ wiki: 'https://wiki.hypixel.net/Composter#Composter_Speed_',
8
+ current: (level) => (20 * level) / 100,
9
+ levels: [
10
+ {
11
+ // Level 1
12
+ items: {
13
+ [ITEM_IDS.EnchantedWheat]: 128,
14
+ },
15
+ copper: 100,
16
+ },
17
+ {
18
+ // Level 2
19
+ items: {
20
+ [ITEM_IDS.EnchantedGoldenCarrot]: 2,
21
+ },
22
+ copper: 150,
23
+ },
24
+ {
25
+ // Level 3
26
+ items: {
27
+ [ITEM_IDS.EnchantedWheat]: 256,
28
+ },
29
+ copper: 200,
30
+ },
31
+ {
32
+ // Level 4
33
+ items: {
34
+ [ITEM_IDS.EnchantedGoldenCarrot]: 4,
35
+ },
36
+ copper: 250,
37
+ },
38
+ {
39
+ // Level 5
40
+ items: {
41
+ [ITEM_IDS.EnchantedWheat]: 512,
42
+ },
43
+ copper: 300,
44
+ },
45
+ {
46
+ // Level 6
47
+ items: {
48
+ [ITEM_IDS.EnchantedGoldenCarrot]: 8,
49
+ },
50
+ copper: 350,
51
+ },
52
+ {
53
+ // Level 7
54
+ items: {
55
+ [ITEM_IDS.EnchantedHayBale]: 8,
56
+ },
57
+ copper: 400,
58
+ },
59
+ {
60
+ // Level 8
61
+ items: {
62
+ [ITEM_IDS.EnchantedGoldenCarrot]: 16,
63
+ [ITEM_IDS.Cropie]: 3,
64
+ },
65
+ copper: 500,
66
+ },
67
+ {
68
+ // Level 9
69
+ items: {
70
+ [ITEM_IDS.EnchantedHayBale]: 16,
71
+ [ITEM_IDS.Cropie]: 6,
72
+ },
73
+ copper: 600,
74
+ },
75
+ {
76
+ // Level 10
77
+ items: {
78
+ [ITEM_IDS.EnchantedGoldenCarrot]: 32,
79
+ [ITEM_IDS.Cropie]: 12,
80
+ },
81
+ copper: 700,
82
+ },
83
+ {
84
+ // Level 11
85
+ items: {
86
+ [ITEM_IDS.EnchantedHayBale]: 24,
87
+ [ITEM_IDS.Cropie]: 32,
88
+ },
89
+ copper: 800,
90
+ },
91
+ {
92
+ // Level 12
93
+ items: {
94
+ [ITEM_IDS.EnchantedGoldenCarrot]: 48,
95
+ [ITEM_IDS.Cropie]: 64,
96
+ },
97
+ copper: 900,
98
+ },
99
+ {
100
+ // Level 13
101
+ items: {
102
+ [ITEM_IDS.EnchantedHayBale]: 32,
103
+ [ITEM_IDS.Cropie]: 128,
104
+ },
105
+ copper: 1000,
106
+ },
107
+ {
108
+ // Level 14
109
+ items: {
110
+ [ITEM_IDS.EnchantedGoldenCarrot]: 64,
111
+ [ITEM_IDS.Squash]: 3,
112
+ },
113
+ copper: 1200,
114
+ },
115
+ {
116
+ // Level 15
117
+ items: {
118
+ [ITEM_IDS.EnchantedHayBale]: 48,
119
+ [ITEM_IDS.Squash]: 6,
120
+ },
121
+ copper: 1400,
122
+ },
123
+ {
124
+ // Level 16
125
+ items: {
126
+ [ITEM_IDS.EnchantedGoldenCarrot]: 96,
127
+ [ITEM_IDS.Squash]: 12,
128
+ },
129
+ copper: 1600,
130
+ },
131
+ {
132
+ // Level 17
133
+ items: {
134
+ [ITEM_IDS.EnchantedHayBale]: 64,
135
+ [ITEM_IDS.Squash]: 32,
136
+ },
137
+ copper: 1800,
138
+ },
139
+ {
140
+ // Level 18
141
+ items: {
142
+ [ITEM_IDS.EnchantedGoldenCarrot]: 128,
143
+ [ITEM_IDS.Squash]: 64,
144
+ },
145
+ copper: 2000,
146
+ },
147
+ {
148
+ // Level 19
149
+ items: {
150
+ [ITEM_IDS.EnchantedHayBale]: 80,
151
+ [ITEM_IDS.Squash]: 128,
152
+ },
153
+ copper: 2250,
154
+ },
155
+ {
156
+ // Level 20
157
+ items: {
158
+ [ITEM_IDS.EnchantedGoldenCarrot]: 192,
159
+ [ITEM_IDS.Fermento]: 3,
160
+ },
161
+ copper: 2500,
162
+ },
163
+ {
164
+ // Level 21
165
+ items: {
166
+ [ITEM_IDS.EnchantedHayBale]: 104,
167
+ [ITEM_IDS.Fermento]: 6,
168
+ },
169
+ copper: 2750,
170
+ },
171
+ {
172
+ // Level 22
173
+ items: {
174
+ [ITEM_IDS.EnchantedGoldenCarrot]: 256,
175
+ [ITEM_IDS.Fermento]: 12,
176
+ },
177
+ copper: 3000,
178
+ },
179
+ {
180
+ // Level 23
181
+ items: {
182
+ [ITEM_IDS.EnchantedHayBale]: 128,
183
+ [ITEM_IDS.CondensedFermento]: 4,
184
+ },
185
+ copper: 3300,
186
+ },
187
+ {
188
+ // Level 24
189
+ items: {
190
+ [ITEM_IDS.EnchantedGoldenCarrot]: 320,
191
+ [ITEM_IDS.CondensedFermento]: 7,
192
+ },
193
+ copper: 3600,
194
+ },
195
+ {
196
+ // Level 25
197
+ items: {
198
+ [ITEM_IDS.EnchantedHayBale]: 160,
199
+ [ITEM_IDS.CondensedFermento]: 14,
200
+ },
201
+ copper: 4000,
202
+ },
203
+ ],
204
+ totalCost: {},
205
+ },
206
+ [ComposterUpgrade.MultiDrop]: {
207
+ name: 'Multi Drop',
208
+ wiki: 'https://wiki.hypixel.net/Composter#Multi_Drop_',
209
+ current: (level) => (3 * level) / 100,
210
+ levels: [
211
+ {
212
+ // Level 1
213
+ items: {
214
+ [ITEM_IDS.EnchantedBakedPotato]: 1,
215
+ },
216
+ copper: 100,
217
+ },
218
+ {
219
+ // Level 2
220
+ items: {
221
+ [ITEM_IDS.EnchantedPumpkin]: 64,
222
+ },
223
+ copper: 150,
224
+ },
225
+ {
226
+ // Level 3
227
+ items: {
228
+ [ITEM_IDS.EnchantedBakedPotato]: 2,
229
+ },
230
+ copper: 200,
231
+ },
232
+ {
233
+ // Level 4
234
+ items: {
235
+ [ITEM_IDS.PolishedPumpkin]: 1,
236
+ },
237
+ copper: 250,
238
+ },
239
+ {
240
+ // Level 5
241
+ items: {
242
+ [ITEM_IDS.EnchantedBakedPotato]: 4,
243
+ },
244
+ copper: 300,
245
+ },
246
+ {
247
+ // Level 6
248
+ items: {
249
+ [ITEM_IDS.PolishedPumpkin]: 2,
250
+ },
251
+ copper: 350,
252
+ },
253
+ {
254
+ // Level 7
255
+ items: {
256
+ [ITEM_IDS.EnchantedBakedPotato]: 8,
257
+ },
258
+ copper: 400,
259
+ },
260
+ {
261
+ // Level 8
262
+ items: {
263
+ [ITEM_IDS.PolishedPumpkin]: 4,
264
+ [ITEM_IDS.Cropie]: 3,
265
+ },
266
+ copper: 500,
267
+ },
268
+ {
269
+ // Level 9
270
+ items: {
271
+ [ITEM_IDS.EnchantedBakedPotato]: 16,
272
+ [ITEM_IDS.Cropie]: 6,
273
+ },
274
+ copper: 600,
275
+ },
276
+ {
277
+ // Level 10
278
+ items: {
279
+ [ITEM_IDS.PolishedPumpkin]: 8,
280
+ [ITEM_IDS.Cropie]: 12,
281
+ },
282
+ copper: 700,
283
+ },
284
+ {
285
+ // Level 11
286
+ items: {
287
+ [ITEM_IDS.EnchantedBakedPotato]: 32,
288
+ [ITEM_IDS.Cropie]: 32,
289
+ },
290
+ copper: 800,
291
+ },
292
+ {
293
+ // Level 12
294
+ items: {
295
+ [ITEM_IDS.PolishedPumpkin]: 16,
296
+ [ITEM_IDS.Cropie]: 64,
297
+ },
298
+ copper: 900,
299
+ },
300
+ {
301
+ // Level 13
302
+ items: {
303
+ [ITEM_IDS.EnchantedBakedPotato]: 48,
304
+ [ITEM_IDS.Cropie]: 128,
305
+ },
306
+ copper: 1000,
307
+ },
308
+ {
309
+ // Level 14
310
+ items: {
311
+ [ITEM_IDS.PolishedPumpkin]: 32,
312
+ [ITEM_IDS.Squash]: 3,
313
+ },
314
+ copper: 1200,
315
+ },
316
+ {
317
+ // Level 15
318
+ items: {
319
+ [ITEM_IDS.EnchantedBakedPotato]: 64,
320
+ [ITEM_IDS.Squash]: 6,
321
+ },
322
+ copper: 1400,
323
+ },
324
+ {
325
+ // Level 16
326
+ items: {
327
+ [ITEM_IDS.PolishedPumpkin]: 48,
328
+ [ITEM_IDS.Squash]: 12,
329
+ },
330
+ copper: 1600,
331
+ },
332
+ {
333
+ // Level 17
334
+ items: {
335
+ [ITEM_IDS.EnchantedBakedPotato]: 96,
336
+ [ITEM_IDS.Squash]: 32,
337
+ },
338
+ copper: 1800,
339
+ },
340
+ {
341
+ // Level 18
342
+ items: {
343
+ [ITEM_IDS.PolishedPumpkin]: 64,
344
+ [ITEM_IDS.Squash]: 64,
345
+ },
346
+ copper: 2000,
347
+ },
348
+ {
349
+ // Level 19
350
+ items: {
351
+ [ITEM_IDS.EnchantedBakedPotato]: 128,
352
+ [ITEM_IDS.Squash]: 128,
353
+ },
354
+ copper: 2250,
355
+ },
356
+ {
357
+ // Level 20
358
+ items: {
359
+ [ITEM_IDS.PolishedPumpkin]: 96,
360
+ [ITEM_IDS.Fermento]: 3,
361
+ },
362
+ copper: 2500,
363
+ },
364
+ {
365
+ // Level 21
366
+ items: {
367
+ [ITEM_IDS.EnchantedBakedPotato]: 192,
368
+ [ITEM_IDS.Fermento]: 6,
369
+ },
370
+ copper: 2750,
371
+ },
372
+ {
373
+ // Level 22
374
+ items: {
375
+ [ITEM_IDS.PolishedPumpkin]: 128,
376
+ [ITEM_IDS.Fermento]: 12,
377
+ },
378
+ copper: 3000,
379
+ },
380
+ {
381
+ // Level 23
382
+ items: {
383
+ [ITEM_IDS.EnchantedBakedPotato]: 256,
384
+ [ITEM_IDS.CondensedFermento]: 4,
385
+ },
386
+ copper: 3300,
387
+ },
388
+ {
389
+ // Level 24
390
+ items: {
391
+ [ITEM_IDS.PolishedPumpkin]: 192,
392
+ [ITEM_IDS.CondensedFermento]: 7,
393
+ },
394
+ copper: 3600,
395
+ },
396
+ {
397
+ // Level 25
398
+ items: {
399
+ [ITEM_IDS.EnchantedBakedPotato]: 320,
400
+ [ITEM_IDS.CondensedFermento]: 14,
401
+ },
402
+ copper: 4000,
403
+ },
404
+ ],
405
+ totalCost: {},
406
+ },
407
+ [ComposterUpgrade.FuelCap]: {
408
+ name: 'Fuel Cap',
409
+ wiki: 'https://wiki.hypixel.net/Composter#Fuel_Cap_',
410
+ current: (level) => 30_000 * level + 100_000,
411
+ levels: [
412
+ {
413
+ // Level 1
414
+ items: {
415
+ [ITEM_IDS.EnchantedSugarCane]: 1,
416
+ },
417
+ copper: 100,
418
+ },
419
+ {
420
+ // Level 2
421
+ items: {
422
+ [ITEM_IDS.EnchantedMelonBlock]: 4,
423
+ },
424
+ copper: 150,
425
+ },
426
+ {
427
+ // Level 3
428
+ items: {
429
+ [ITEM_IDS.EnchantedSugarCane]: 2,
430
+ },
431
+ copper: 200,
432
+ },
433
+ {
434
+ // Level 4
435
+ items: {
436
+ [ITEM_IDS.EnchantedMelonBlock]: 8,
437
+ },
438
+ copper: 250,
439
+ },
440
+ {
441
+ // Level 5
442
+ items: {
443
+ [ITEM_IDS.EnchantedSugarCane]: 4,
444
+ },
445
+ copper: 300,
446
+ },
447
+ {
448
+ // Level 6
449
+ items: {
450
+ [ITEM_IDS.EnchantedMelonBlock]: 16,
451
+ },
452
+ copper: 350,
453
+ },
454
+ {
455
+ // Level 7
456
+ items: {
457
+ [ITEM_IDS.EnchantedSugarCane]: 8,
458
+ },
459
+ copper: 400,
460
+ },
461
+ {
462
+ // Level 8
463
+ items: {
464
+ [ITEM_IDS.EnchantedMelonBlock]: 32,
465
+ [ITEM_IDS.Cropie]: 3,
466
+ },
467
+ copper: 500,
468
+ },
469
+ {
470
+ // Level 9
471
+ items: {
472
+ [ITEM_IDS.EnchantedSugarCane]: 16,
473
+ [ITEM_IDS.Cropie]: 6,
474
+ },
475
+ copper: 600,
476
+ },
477
+ {
478
+ // Level 10
479
+ items: {
480
+ [ITEM_IDS.EnchantedMelonBlock]: 48,
481
+ [ITEM_IDS.Cropie]: 12,
482
+ },
483
+ copper: 700,
484
+ },
485
+ {
486
+ // Level 11
487
+ items: {
488
+ [ITEM_IDS.EnchantedSugarCane]: 32,
489
+ [ITEM_IDS.Cropie]: 32,
490
+ },
491
+ copper: 800,
492
+ },
493
+ {
494
+ // Level 12
495
+ items: {
496
+ [ITEM_IDS.EnchantedMelonBlock]: 64,
497
+ [ITEM_IDS.Cropie]: 64,
498
+ },
499
+ copper: 900,
500
+ },
501
+ {
502
+ // Level 13
503
+ items: {
504
+ [ITEM_IDS.EnchantedSugarCane]: 48,
505
+ [ITEM_IDS.Cropie]: 128,
506
+ },
507
+ copper: 1000,
508
+ },
509
+ {
510
+ // Level 14
511
+ items: {
512
+ [ITEM_IDS.EnchantedMelonBlock]: 96,
513
+ [ITEM_IDS.Squash]: 3,
514
+ },
515
+ copper: 1200,
516
+ },
517
+ {
518
+ // Level 15
519
+ items: {
520
+ [ITEM_IDS.EnchantedSugarCane]: 64,
521
+ [ITEM_IDS.Squash]: 6,
522
+ },
523
+ copper: 1400,
524
+ },
525
+ {
526
+ // Level 16
527
+ items: {
528
+ [ITEM_IDS.EnchantedMelonBlock]: 128,
529
+ [ITEM_IDS.Squash]: 12,
530
+ },
531
+ copper: 1600,
532
+ },
533
+ {
534
+ // Level 17
535
+ items: {
536
+ [ITEM_IDS.EnchantedSugarCane]: 96,
537
+ [ITEM_IDS.Squash]: 32,
538
+ },
539
+ copper: 1800,
540
+ },
541
+ {
542
+ // Level 18
543
+ items: {
544
+ [ITEM_IDS.EnchantedMelonBlock]: 192,
545
+ [ITEM_IDS.Squash]: 64,
546
+ },
547
+ copper: 2000,
548
+ },
549
+ {
550
+ // Level 19
551
+ items: {
552
+ [ITEM_IDS.EnchantedSugarCane]: 128,
553
+ [ITEM_IDS.Squash]: 128,
554
+ },
555
+ copper: 2250,
556
+ },
557
+ {
558
+ // Level 20
559
+ items: {
560
+ [ITEM_IDS.EnchantedMelonBlock]: 256,
561
+ [ITEM_IDS.Fermento]: 3,
562
+ },
563
+ copper: 2500,
564
+ },
565
+ {
566
+ // Level 21
567
+ items: {
568
+ [ITEM_IDS.EnchantedSugarCane]: 192,
569
+ [ITEM_IDS.Fermento]: 6,
570
+ },
571
+ copper: 2750,
572
+ },
573
+ {
574
+ // Level 22
575
+ items: {
576
+ [ITEM_IDS.EnchantedMelonBlock]: 384,
577
+ [ITEM_IDS.Fermento]: 12,
578
+ },
579
+ copper: 3000,
580
+ },
581
+ {
582
+ // Level 23
583
+ items: {
584
+ [ITEM_IDS.EnchantedSugarCane]: 256,
585
+ [ITEM_IDS.CondensedFermento]: 4,
586
+ },
587
+ copper: 3300,
588
+ },
589
+ {
590
+ // Level 24
591
+ items: {
592
+ [ITEM_IDS.EnchantedMelonBlock]: 512,
593
+ [ITEM_IDS.CondensedFermento]: 7,
594
+ },
595
+ copper: 3600,
596
+ },
597
+ {
598
+ // Level 25
599
+ items: {
600
+ [ITEM_IDS.EnchantedSugarCane]: 320,
601
+ [ITEM_IDS.CondensedFermento]: 14,
602
+ },
603
+ copper: 4000,
604
+ },
605
+ ],
606
+ totalCost: {},
607
+ },
608
+ [ComposterUpgrade.OrganicMatterCap]: {
609
+ name: 'Organic Matter Cap',
610
+ wiki: 'https://wiki.hypixel.net/Composter#Organic_Matter_Cap_',
611
+ current: (level) => 20_000 * level + 40_000,
612
+ levels: [
613
+ {
614
+ // Level 1
615
+ items: {
616
+ [ITEM_IDS.EnchantedCactus]: 1,
617
+ },
618
+ copper: 100,
619
+ },
620
+ {
621
+ // Level 2
622
+ items: {
623
+ [ITEM_IDS.EnchantedCookie]: 3,
624
+ },
625
+ copper: 150,
626
+ },
627
+ {
628
+ // Level 3
629
+ items: {
630
+ [ITEM_IDS.EnchantedCactus]: 2,
631
+ },
632
+ copper: 200,
633
+ },
634
+ {
635
+ // Level 4
636
+ items: {
637
+ [ITEM_IDS.EnchantedCookie]: 6,
638
+ },
639
+ copper: 250,
640
+ },
641
+ {
642
+ // Level 5
643
+ items: {
644
+ [ITEM_IDS.EnchantedCactus]: 4,
645
+ },
646
+ copper: 300,
647
+ },
648
+ {
649
+ // Level 6
650
+ items: {
651
+ [ITEM_IDS.EnchantedCookie]: 12,
652
+ },
653
+ copper: 350,
654
+ },
655
+ {
656
+ // Level 7
657
+ items: {
658
+ [ITEM_IDS.EnchantedCactus]: 7,
659
+ },
660
+ copper: 400,
661
+ },
662
+ {
663
+ // Level 8
664
+ items: {
665
+ [ITEM_IDS.EnchantedCookie]: 24,
666
+ [ITEM_IDS.Cropie]: 3,
667
+ },
668
+ copper: 500,
669
+ },
670
+ {
671
+ // Level 9
672
+ items: {
673
+ [ITEM_IDS.EnchantedCactus]: 10,
674
+ [ITEM_IDS.Cropie]: 6,
675
+ },
676
+ copper: 600,
677
+ },
678
+ {
679
+ // Level 10
680
+ items: {
681
+ [ITEM_IDS.EnchantedCookie]: 48,
682
+ [ITEM_IDS.Cropie]: 12,
683
+ },
684
+ copper: 700,
685
+ },
686
+ {
687
+ // Level 11
688
+ items: {
689
+ [ITEM_IDS.EnchantedCactus]: 16,
690
+ [ITEM_IDS.Cropie]: 32,
691
+ },
692
+ copper: 800,
693
+ },
694
+ {
695
+ // Level 12
696
+ items: {
697
+ [ITEM_IDS.EnchantedCookie]: 72,
698
+ [ITEM_IDS.Cropie]: 64,
699
+ },
700
+ copper: 900,
701
+ },
702
+ {
703
+ // Level 13
704
+ items: {
705
+ [ITEM_IDS.EnchantedCactus]: 24,
706
+ [ITEM_IDS.Cropie]: 128,
707
+ },
708
+ copper: 1000,
709
+ },
710
+ {
711
+ // Level 14
712
+ items: {
713
+ [ITEM_IDS.EnchantedCookie]: 96,
714
+ [ITEM_IDS.Squash]: 3,
715
+ },
716
+ copper: 1200,
717
+ },
718
+ {
719
+ // Level 15
720
+ items: {
721
+ [ITEM_IDS.EnchantedCactus]: 32,
722
+ [ITEM_IDS.Squash]: 6,
723
+ },
724
+ copper: 1400,
725
+ },
726
+ {
727
+ // Level 16
728
+ items: {
729
+ [ITEM_IDS.EnchantedCookie]: 244,
730
+ [ITEM_IDS.Squash]: 12,
731
+ },
732
+ copper: 1600,
733
+ },
734
+ {
735
+ // Level 17
736
+ items: {
737
+ [ITEM_IDS.EnchantedCactus]: 48,
738
+ [ITEM_IDS.Squash]: 32,
739
+ },
740
+ copper: 1800,
741
+ },
742
+ {
743
+ // Level 18
744
+ items: {
745
+ [ITEM_IDS.EnchantedCookie]: 192,
746
+ [ITEM_IDS.Squash]: 64,
747
+ },
748
+ copper: 2000,
749
+ },
750
+ {
751
+ // Level 19
752
+ items: {
753
+ [ITEM_IDS.EnchantedCactus]: 64,
754
+ [ITEM_IDS.Squash]: 128,
755
+ },
756
+ copper: 2250,
757
+ },
758
+ {
759
+ // Level 20
760
+ items: {
761
+ [ITEM_IDS.EnchantedCookie]: 256,
762
+ [ITEM_IDS.Fermento]: 3,
763
+ },
764
+ copper: 2500,
765
+ },
766
+ {
767
+ // Level 21
768
+ items: {
769
+ [ITEM_IDS.EnchantedCactus]: 96,
770
+ [ITEM_IDS.Fermento]: 6,
771
+ },
772
+ copper: 2750,
773
+ },
774
+ {
775
+ // Level 22
776
+ items: {
777
+ [ITEM_IDS.EnchantedCookie]: 352,
778
+ [ITEM_IDS.Fermento]: 12,
779
+ },
780
+ copper: 3000,
781
+ },
782
+ {
783
+ // Level 23
784
+ items: {
785
+ [ITEM_IDS.EnchantedCactus]: 128,
786
+ [ITEM_IDS.CondensedFermento]: 4,
787
+ },
788
+ copper: 3300,
789
+ },
790
+ {
791
+ // Level 24
792
+ items: {
793
+ [ITEM_IDS.EnchantedCookie]: 448,
794
+ [ITEM_IDS.CondensedFermento]: 7,
795
+ },
796
+ copper: 3600,
797
+ },
798
+ {
799
+ // Level 25
800
+ items: {
801
+ [ITEM_IDS.EnchantedCactus]: 160,
802
+ [ITEM_IDS.CondensedFermento]: 14,
803
+ },
804
+ copper: 4000,
805
+ },
806
+ ],
807
+ totalCost: {},
808
+ },
809
+ [ComposterUpgrade.CostReduction]: {
810
+ name: 'Cost Reduction',
811
+ wiki: 'https://wiki.hypixel.net/Composter#Cost_Reduction_',
812
+ current: (level) => level / 100,
813
+ levels: [
814
+ {
815
+ // Level 1
816
+ items: {
817
+ [ITEM_IDS.EnchantedBrownMushroom]: 32,
818
+ },
819
+ copper: 100,
820
+ },
821
+ {
822
+ // Level 2
823
+ items: {
824
+ [ITEM_IDS.MutantNetherWart]: 1,
825
+ },
826
+ copper: 150,
827
+ },
828
+ {
829
+ // Level 3
830
+ items: {
831
+ [ITEM_IDS.EnchantedRedMushroomBlock]: 2,
832
+ },
833
+ copper: 200,
834
+ },
835
+ {
836
+ // Level 4
837
+ items: {
838
+ [ITEM_IDS.MutantNetherWart]: 2,
839
+ },
840
+ copper: 250,
841
+ },
842
+ {
843
+ // Level 5
844
+ items: {
845
+ [ITEM_IDS.EnchantedBrownMushroomBlock]: 4,
846
+ },
847
+ copper: 300,
848
+ },
849
+ {
850
+ // Level 6
851
+ items: {
852
+ [ITEM_IDS.MutantNetherWart]: 4,
853
+ },
854
+ copper: 350,
855
+ },
856
+ {
857
+ // Level 7
858
+ items: {
859
+ [ITEM_IDS.EnchantedRedMushroomBlock]: 16,
860
+ },
861
+ copper: 400,
862
+ },
863
+ {
864
+ // Level 8
865
+ items: {
866
+ [ITEM_IDS.MutantNetherWart]: 8,
867
+ [ITEM_IDS.Cropie]: 3,
868
+ },
869
+ copper: 500,
870
+ },
871
+ {
872
+ // Level 9
873
+ items: {
874
+ [ITEM_IDS.EnchantedBrownMushroomBlock]: 32,
875
+ [ITEM_IDS.Cropie]: 6,
876
+ },
877
+ copper: 600,
878
+ },
879
+ {
880
+ // Level 10
881
+ items: {
882
+ [ITEM_IDS.MutantNetherWart]: 16,
883
+ [ITEM_IDS.Cropie]: 12,
884
+ },
885
+ copper: 700,
886
+ },
887
+ {
888
+ // Level 11
889
+ items: {
890
+ [ITEM_IDS.EnchantedRedMushroomBlock]: 64,
891
+ [ITEM_IDS.Cropie]: 32,
892
+ },
893
+ copper: 800,
894
+ },
895
+ {
896
+ // Level 12
897
+ items: {
898
+ [ITEM_IDS.MutantNetherWart]: 32,
899
+ [ITEM_IDS.Cropie]: 64,
900
+ },
901
+ copper: 900,
902
+ },
903
+ {
904
+ // Level 13
905
+ items: {
906
+ [ITEM_IDS.EnchantedBrownMushroomBlock]: 128,
907
+ [ITEM_IDS.Cropie]: 128,
908
+ },
909
+ copper: 1000,
910
+ },
911
+ {
912
+ // Level 14
913
+ items: {
914
+ [ITEM_IDS.MutantNetherWart]: 48,
915
+ [ITEM_IDS.Squash]: 3,
916
+ },
917
+ copper: 1200,
918
+ },
919
+ {
920
+ // Level 15
921
+ items: {
922
+ [ITEM_IDS.EnchantedRedMushroomBlock]: 256,
923
+ [ITEM_IDS.Squash]: 6,
924
+ },
925
+ copper: 1400,
926
+ },
927
+ {
928
+ // Level 16
929
+ items: {
930
+ [ITEM_IDS.MutantNetherWart]: 64,
931
+ [ITEM_IDS.Squash]: 12,
932
+ },
933
+ copper: 1600,
934
+ },
935
+ {
936
+ // Level 17
937
+ items: {
938
+ [ITEM_IDS.EnchantedBrownMushroomBlock]: 448,
939
+ [ITEM_IDS.Squash]: 32,
940
+ },
941
+ copper: 1800,
942
+ },
943
+ {
944
+ // Level 18
945
+ items: {
946
+ [ITEM_IDS.MutantNetherWart]: 96,
947
+ [ITEM_IDS.Squash]: 64,
948
+ },
949
+ copper: 2000,
950
+ },
951
+ {
952
+ // Level 19
953
+ items: {
954
+ [ITEM_IDS.EnchantedRedMushroomBlock]: 640,
955
+ [ITEM_IDS.Squash]: 128,
956
+ },
957
+ copper: 2250,
958
+ },
959
+ {
960
+ // Level 20
961
+ items: {
962
+ [ITEM_IDS.MutantNetherWart]: 160,
963
+ [ITEM_IDS.Fermento]: 3,
964
+ },
965
+ copper: 2500,
966
+ },
967
+ {
968
+ // Level 21
969
+ items: {
970
+ [ITEM_IDS.EnchantedBrownMushroomBlock]: 832,
971
+ [ITEM_IDS.Fermento]: 6,
972
+ },
973
+ copper: 2750,
974
+ },
975
+ {
976
+ // Level 22
977
+ items: {
978
+ [ITEM_IDS.MutantNetherWart]: 224,
979
+ [ITEM_IDS.Fermento]: 12,
980
+ },
981
+ copper: 3000,
982
+ },
983
+ {
984
+ // Level 23
985
+ items: {
986
+ [ITEM_IDS.EnchantedRedMushroomBlock]: 1024,
987
+ [ITEM_IDS.CondensedFermento]: 4,
988
+ },
989
+ copper: 3300,
990
+ },
991
+ {
992
+ // Level 24
993
+ items: {
994
+ [ITEM_IDS.MutantNetherWart]: 228,
995
+ [ITEM_IDS.CondensedFermento]: 7,
996
+ },
997
+ copper: 3600,
998
+ },
999
+ {
1000
+ // Level 25
1001
+ items: {
1002
+ [ITEM_IDS.EnchantedBrownMushroomBlock]: 1216,
1003
+ [ITEM_IDS.CondensedFermento]: 14,
1004
+ },
1005
+ copper: 4000,
1006
+ },
1007
+ ],
1008
+ totalCost: {},
1009
+ },
1010
+ };
1011
+ for (const upgrade of Object.values(COMPOSTER_UPGRADES)) {
1012
+ upgrade.totalCost = mergeCost(...upgrade.levels);
1013
+ }
1014
+ //# sourceMappingURL=upgrades.js.map