Mods / Metal Recycling
Author: ilan
Side: Server
Created: Jun 15th at 7:17 AM
Last modified: Jun 15th at 3:42 PM
Downloads: 2152
Follow Unfollow 73
Latest file for v1.19.8:
metalrecycling_1.1.0.zip
1-click install
Ever wish you could recycle those bits of metal you seem to "waste" when you make chisels or the like? Well, now you can!
Using the "split" ability on work items now has a chance of giving you a metal bit in return - by default this starts at 50%, but the chance goes down with every metal bit you successfully recover.
Smith away, and rejoice!
This mod is configurable using the MetalRecycling.json configuration file:
- MetalRecyclingChance - The chance that a metal bit will be returned when splitting metal on the anvil. Defaults to 0.5 (50%).
- MaxBitsPerWorkItem - How many metal bits you can get from a single work item. Defaults to 10.
- DiminishingReturnFactor - The "factor" of diminishing returns that affects the recycle chance on every successful bit recovery. Defaults to 0.85.
- RecycleIronBlooms - Whether you get iron bits from splitting iron blooms. Defaults to true.
Diminishing returns
The default factor for the diminishing returns is 0.85. That means that for every bit of metal you successfully recover, the chance to get another metal bit is multiplied by 0.85 (or 85% of 50%). For the default starting chance of 50%, this means:
- You have a 50% chance of getting the first metal bit
- Afterwards, you have a 50% * 0.85 = 42.5% chance of getting another metal bit
- After that, you have a 42.5% * 0.85 = 36.1% chance
- and so on, and so forth..
To make it easier to get metal bits, increase the value of the diminishing returns factor. To make it harder, lower the value.
Examples:
- For a factor of 0.9, the chances will go 50% -> 45% -> 40% -> 36%
- For a factor of 0.5, the changes will halve every time: 50% -> 25% -> 12.5% -> 6.25%
Version | For Game version | Downloads | Release date | Changelog | Download | 1-click mod install* |
---|---|---|---|---|---|---|
v1.1.0 | 2050 | Jun 15th at 3:42 PM | Show | metalrecycling_1.1.0.zip | Install now | |
v1.0.0 | 102 | Jun 15th at 8:59 AM | Show | metalrecycling_1.0.0.zip | Install now |
Anyone know if this still works in 1.20?
Thank you!
prototype464
Good question, I'll edit my original post to clarify.
How does the value for DiminishingReturnFactor work? Does lowering the value increase or decrease the rate?
😁 Glad you like it!
Man, this guy don't miss.