Mods / Thrifty Smithing

Category: #Crafting #Tweak
Author: Foxcapades
Side: Both
Created: Aug 21st at 4:03 PM
Last modified: Aug 27th at 9:49 PM
Downloads: 1278
Follow Unfollow 36

Latest file for v1.19.8:
thrifty-smithing-1.1.0.zip 1-click install


Gives back scrap metal split off of items being crafted on an anvil.

Once a smithing work is completed, the player who completed it will be given the amount of whole bits that could be formed from the material removed from the work while it was being crafted.

If a smithing work is completed by a helve hammer, the scrap bits will be dropped to the floor at the base of the anvil.

Configuration

The following configuration options are provided in the thrifty-smithing.json file, with default values based on the base VintageStory experience. Most of these should not be changed unless necessitated by changes from other mods.

{
  "voxelsPerIngot": 42,
  "voxelsPerPlate": 81,
  "materialUnitsPerIngot": 100,
  "materialUnitsPerBit": 5,
  "materialUnitsRecoveredModifier": 1.0,
  "disallowedRecipes": []
}
Option Type Description

voxelsPerIngot

int

The number of voxels a single ingot should be worth.

Valid value range: [1..255]

voxelsPerPlate

int

The number of voxels a single metal plate should be worth.

Valid value range: [1..255]

materialUnitsPerIngot

int

The amount of material required to craft an ingot.

Valid value range: [1..65535]

materialUnitsPerBit

int

The amount of material represented by a single metal bit.

Valid value range: [1..255]

materialUnitsRecoveredModifier

float

Percentage multiplier used to modify the amount of scrap material returned on completion of a smithing work.

The default value of 1.0 represents 100%, a value of 0.75 would represent 75%, 0.5 for 50% and so on.

Valid value range: [0.0..1.0] (max precision of ~4 digits)

disallowedRecipes

array of string

Asset locations for recipes that should not reward any scrap on completion.

For example setting this to ["game:knifeblade-copper"] would mean that players are not given any scrap metal back when crafting a copper knife blade.

Compatibility

  • Thrifty Smithing should be compatible with mod-based smithing recipes that use base game materials.
  • Thrifty Smithing may be compatible with mod-based metals, assuming they provide metal bit items with asset locations matching the base game's metalbit-{material} scheme.
  • Thrifty Smithing is not likely compatible with mods that overhaul or make significant changes to the smithing system, especially with regard to anvils.
  • Thrifty Smithing is not compatible with mods that allow smithing items without the use of anvils at all (it shouldn't cause a problem, it just won't give back scrap without an anvil).

Known Compatibilities

💚 Knapster v2.x.x No issues!
💚 Ancient Armory v1.x.x Works fine!
👾 Anvil Metal Recovery Might work but seems silly.

Version For Game version Downloads Release date Changelog Download 1-click mod install*
v1.1.0 819 Aug 27th at 9:49 PM Show thrifty-smithing-1.1.0.zip Install now
v1.0.1 108 Aug 26th at 10:06 PM Show thrifty-smithing-1.0.1.zip Install now
v1.0.0 351 Aug 21st at 6:32 PM Show thrifty-smithing-1.0.0.zip Install now

10 Comments (oldest first | newest first)

💬 Briccars, Aug 29th at 7:23 PM

Came here looking for the mod making my iron blooms disappear and found you already fixed it, great work!

💬 GodlyAnnihilator, Aug 27th at 3:38 PM

Thanks for the quick update! Really appreciate it! 

Foxcapades!

💬 FoxcapadesAuthor, Aug 27th at 1:26 AM

1stSlug, while it doesn't give back quite 100% for most recipes, it does presently try and get as close to 100% as it can, so having a general modifier like you suggest is a great idea! That will be going into the next update 👯

💬 1stSlug, Aug 27th at 12:48 AM

It really annoys me that base game wastes so much doubly so considering the effort we players have to go to find these resources, so this is a great mod! 💯

A possible mod branch could involve a config/setting where you only gain back 50-75%, or lower/high, of your waste instead off the full 100%. 🤔

💬 FoxcapadesAuthor, Aug 26th at 10:10 PM

Hunter118 GodlyAnnihilator

Thanks for the bug report!  I goofed up a string-splitting function, which threw an error for a handful of items, and had the end result you reported.  Should be resolved in v1.0.1

💬 GodlyAnnihilator, Aug 26th at 2:13 PM

Welp, I'm also having the same bug as Hunter118.

I tried going into Iron Age, and when I placed the bloom into the anvil it was invincible.

Disabled the mod and the bloom became visible again. 

💬 Hunter118, Aug 25th at 9:30 PM

Im having a bug that make iron blooms on anvils invisable and unworkable. Not sure if its just the mod or its conflicting with other mods, only that uninstalling it fixs the bug. Otherwise im quite injoying the mod. 

💬 GodlyAnnihilator, Aug 24th at 1:48 PM

Really cool mod. Some items need too little material and so much is lost, and it's frustrating, especially when that material is scarce.

This mod is totally worth it. No errors or mod compatibilities despite using a large amount of mods.

Great job Foxcapades

💬 FoxcapadesAuthor, Aug 21st at 9:17 PM

@NukoSan Effectively, yes.  AMR's smithing component does basically the same thing as this mod.  This mod does not presently return scrap for broken tools, so if that is a feature you want, AMR might be the way to go.

💬 NukoSan, Aug 21st at 8:39 PM

So either this mod or AMR?

(edit comment delete)