About Thrifty Smithing
From Vintage Story ModDBMinimize smithing waste!
<section>
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.
</section> <section>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": [] }</pre> <table> <thead> <tr> <th style="border-right: 1px black solid; padding: 5px;">Option</th> <th style="border-right: 1px black solid; padding: 5px;">Type</th> <th style="padding: 5px;">Description</th> </tr> </thead> <tbody> <tr> <td style="border-right: 1px black solid; padding: 5px;"> 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.
Programmatic Extensibility
ThriftySmithing currently offers a limited mechanism through which other mods may alter the inputs used by ThriftySmithing to calculate metal bits returned as scrap after smithing an item.
ThriftySmithing looks for ITreeAttribute instances in an anvil's work item (BlockEntityAnvil.WorkItemStack) attributes whose names are prefixed with the string ef:ts:workData:. These ITreeAttribute instances may contain sub-attribute integer values under the keys voxels, ingots, and/or plates which may contain positive or negative values that will be applied to the scrap bit calculation.
Scrap Calculation
ThriftySmithing calculates the amount of scrap metal to give back to a player based on the number of voxels removed from a smithing work. By default this is determined by subtracting the number of voxels required by a recipe from the voxels granted based on the number of ingots or metal plates placed onto the anvil.
Example Extension
<pre>// Add a bunch of extra voxels to the scrap bit calculation void SetThriftySmithingVoxels(BlockEntityAnvil anvil) { anvil.WorkItemStack.Attributes["ef:ts:workData:myMod"] = new TreeAttribute { ["voxels"] = new IntAttribute(36), } }</pre>Attributes
<table style="border-spacing: 5px;"><caption class="title">Root Level (directly on the anvil's work item stack)</caption> <thead> <tr> <th style="border-right: 1px black solid; padding: 5px;">Key</th> <th style="border-right: 1px black solid; padding: 5px;">Type</th> <th style="padding: 5px;">Notes</th> </tr> </thead> <tbody> <tr> <td style="border-right: 1px black solid; padding: 5px;">ef:ts:workData:*
ITreeAttribute
A tree attribute that may contain the sub-attributes voxels, ingots, plates.
<table style="border-spacing: 5px;"><caption class="title">Sub Attributes (under the rootITreeAttribute)</caption> <thead> <tr>Highlights
From source dataGame versions
Built for Vintage Story 1.19.8.
Footprint
Rated a light load on a server.
Thrifty Smithing on Nxeon
From our catalogue- One-click install
- Supported on Nxeon Vintage Story servers. We download it from Vintage Story ModDB, place it, and restart the server.
- Server side
- Required on the server
- Server load
- light
- Smallest plan we suggest
- Vintage Story — 1 GB (1 GB RAM). This follows our own load rating above, not a benchmark.
Run Thrifty Smithing on a Vintage Story server
Pick a server or deploy a new one above; it is installed in one click.
What kind of mod it is
From the catalogWeapons, items & crafting
New weapons, gear, items and the recipes to make them.
Runs on your server
From source side supportVintage Story ModDB lists Thrifty Smithing as required on the server. Check its Vintage Story ModDB page to see whether players need it too.
Compatibility
- Game
- Vintage Story
- Runs on
- Serverrequired on the server
- Game versions
- 1.19.8
Verified at the source
- ✓Vintage Story ModDBOfficial listing, checked 2026-09-24Open ↗
- ✓AuthorFoxcapades, as published on Vintage Story ModDB
- ✓LicenseNot published by the sourceFree













