Elin
45 rating
HarvestingModifier
   
Penghargaan
Favorit
Difavoritkan
Batalkan favorit
Ukuran File
Diposting
Diperbarui
24.500 KB
13 Nov 2024 @ 6:56am
14 Nov 2024 @ 5:01am
4 Catatan Perubahan ( lihat )

Berlangganan untuk mengunduh
HarvestingModifier

Deskripsi
Ever wanted things that you mine and harvest to drop more than just 1 or 2?
Now you can!

You can customize how much you want to be dropped with the following settings:
  • DropMultiplier - Flat multiplier to dropped items
  • EnableHardness - Allows tool hardness to affect drop multiplier
  • HardnessScale - How much of an effect hardness has on multiplier
  • MaxDroppedItems - Cap for dropped items affected by multiplier
  • MinMultiplier - How low multiplier can drop when affected by hardness
  • MaxMultiplier - How high multiplier can drop when affected by hardness

Warning: Setting some of these values too high will cause problems. I don't recommend it.

《收获改良》
是否曾希望您开采和收获的物品掉落量不仅仅只有1或2个?现在可以实现了!

通过以下设置,您可以自定义想要掉落的物品数量:
  • 掉落倍数(DropMultiplier):直接乘以掉落物品的数量。例如2就是2倍掉落。
  • 启用工具硬度影响(EnableHardness):允许工具硬度影响掉落倍数。
  • 硬度系数(HardnessScale):工具硬度对倍数的影响程度。
  • 最大掉落物品数(MaxDroppedItems):受倍数影响的掉落物品数量的上限。
  • 最小倍数(MinMultiplier):硬度影响下,倍数可能下降到的最低值。
  • 最大倍数(MaxMultiplier):硬度影响下,倍数可能上升到的最高值。

警告:将这些值设置得过高可能会引发问题。不建议这样做。
配置文件地址:
\Steam\steamapps\common\Elin\BepInEx\config\elin.weaselofdeath.harvestingmod.cfg

^Translation provided by 心凉
27 Komentar
SirHumpsAlot 2 Jan @ 9:24am 
Mod worked fine up until I tried moving to Steel made tools. So far worked fine with tools made of Granite, Copper, Basalt and Iron for both Mining, Gathering and Harvesting.
Nanaya 23 Des 2024 @ 6:29am 
Tool hardness multiplier seen dont work with mining. harvest is work fine.
Weasel  [pembuat] 13 Des 2024 @ 7:01am 
Additionally from your settings it looks like the drops can only be multiplied by 10x, so you could have gotten just a single log that dropped which would have dropped 10 logs total.
Weasel  [pembuat] 13 Des 2024 @ 7:00am 
So the calculation is done based on the material of the tool versus the material of the object you are breaking. It could be you are chopping down a tree or something with a higher hardness.
LINX 13 Des 2024 @ 4:52am 
I need help for setting. Here is my setting now:

## Multiplier for drops from flooring and mining.
# Setting type: Int32
# Default value: 0
DropMultiplier = 2

## Hardness of Tool affects droprate.
# Setting type: Boolean
# Default value: false
EnableHardness = true

[HardnessSettings]

## How low can the multiplier go with hardness?
# Setting type: Int32
# Default value: 1
MinMultiplier = 1

## How high can the multiplier get with hardness?
# Setting type: Int32
# Default value: 10
MaxMultiplier = 10

## How much of an effect hardness has on multiplier
# Setting type: Double
# Default value: 1.05
HardnessScale = 2

It is working. But if I use the iron axe to to chop down an oak tree, I get 16 oak wood logs.
If I use Ether axe to chop down the same tree, I only get 10 oak wood logs. Harder material should get more wood right? What is wrong here?
Weasel  [pembuat] 11 Des 2024 @ 3:31am 
Yeah, I don't have it distinguish between tools at the moment. If I come back to this, I may fix that.
LINX 10 Des 2024 @ 2:32am 
One problem, hammer are multiplying materials when it breaks thing.
ShiaP 24 Nov 2024 @ 3:54pm 
Thank you!
Weasel  [pembuat] 24 Nov 2024 @ 7:48am 
No problem, here's how hardness works:
Math.Floor(multiplier * Math.Pow(HardnessScale.Value, (toolhardness / blockhardness)))

Basically the harder your tool is compared to what you are mining, you get a higher multiplier.
ShiaP 24 Nov 2024 @ 1:58am 
@Weasel , Thank you for the great mod. Could you clarify how does HardnessScale affect stuff? Is the the hardness of the tool used? or Hardness of the material harvested and how does the default 1.05 scale to it. Thanks In advance.