SANDBOX — this is a test environment. No servers are actually deployed and no real payments are charged.
Back to NxLabs

NxLabs / Vintage Story

Metal Recycling

IBy ilan

Gain the ability to recycle those bits of metal you split off work items.

Metal Recycling

Description

<p>Ever wish you could recycle those bits of metal you seem to "waste" when you make chisels or the like? Well, now you can!</p> <p>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.</p> <p>&nbsp;</p> <p>Smith away, and rejoice!</p> <p>&nbsp;</p> <p>This mod is configurable using the MetalRecycling.json configuration file:</p> <ul> <li>MetalRecyclingChance - The chance that a metal bit will be returned when splitting metal on the anvil. Defaults to 0.5 (50%).</li> <li>MaxBitsPerWorkItem - How many metal bits you can get from a single work item. Defaults to 10.</li> <li>DiminishingReturnFactor - The "factor" of diminishing returns that affects the recycle chance on every successful bit recovery. Defaults to 0.85.</li> <li>RecycleIronBlooms - Whether you get iron bits from splitting iron blooms. Defaults to true.</li> <li>ReduceChiselingBits - Whether to reduce the amount of metal bits returned from chiseling unfinished work items by the number of metal bits you've recovered successfully. True by default. <ul> <li>For example: if you've recovered 5 metal bits while "splitting" the work item - chiseling the work item will return 15 metal bits</li> </ul> </li> <li>InheritWorkItemTemperature - Whether metal bits that you recover "inherit" the temperature of the work item. True by default.</li> </ul> <p>&nbsp;</p> <h3>Diminishing returns&nbsp;</h3> <p>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:</p> <ul> <li>You have a 50% chance of getting the first metal bit</li> <li>Afterwards, you have a 50% * 0.85 = 42.5% chance of getting another metal bit</li> <li>After that, you have a 42.5% * 0.85 = 36.1% chance</li> <li>and so on, and so forth..</li> </ul> <p>To make it easier to get metal bits, increase the value of the diminishing returns factor. To make it harder, lower the value.</p> <p>Examples:</p> <ul> <li>For a factor of 0.9, the chances will go 50% -&gt; 45% -&gt; 40% -&gt; 36%</li> <li>For a factor of 0.5, the changes will halve every time: 50% -&gt; 25% -&gt; 12.5% -&gt; 6.25%</li> </ul> <p>&nbsp;</p>

Ratings & reviews

No ratings yet

Sign in to leave a rating or comment.