SANDBOX — this is a test environment. No servers are actually deployed and no real payments are charged.
Source-checkedWeapons, items & crafting

Thrifty Smithing

by Foxcapades · for Vintage Story

Minimize smithing waste!

12KDownloads
1.19.8Latest game version
Vintage Story ModDBSource

About Thrifty Smithing

From Vintage Story ModDB

Minimize 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.

<pre>{ "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

</td> <td style="border-right: 1px black solid; padding: 5px;">

int

</td> <td style="padding: 5px;">

The number of voxels a single ingot should be worth.

Valid value range: [1..255]

</td> </tr> <tr> <td style="border-right: 1px black solid; padding: 5px;">

voxelsPerPlate

</td> <td style="border-right: 1px black solid; padding: 5px;">

int

</td> <td style="padding: 5px;">

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

Valid value range: [1..255]

</td> </tr> <tr> <td style="border-right: 1px black solid; padding: 5px;">

materialUnitsPerIngot

</td> <td style="border-right: 1px black solid; padding: 5px;">

int

</td> <td style="padding: 5px;">

The amount of material required to craft an ingot.

Valid value range: [1..65535]

</td> </tr> <tr> <td style="border-right: 1px black solid; padding: 5px;">

materialUnitsPerBit

</td> <td style="border-right: 1px black solid; padding: 5px;">

int

</td> <td style="padding: 5px;">

The amount of material represented by a single metal bit.

Valid value range: [1..255]

</td> </tr> <tr> <td style="border-right: 1px black solid; padding: 5px;">

materialUnitsRecoveredModifier

</td> <td style="border-right: 1px black solid; padding: 5px;">

float

</td> <td style="padding: 5px;">

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)

</td> </tr> <tr> <td style="border-right: 1px black solid; padding: 5px;">

disallowedRecipes

</td> <td style="border-right: 1px black solid; padding: 5px;">

array of string

</td> <td style="padding: 5px;">

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.

</td> </tr> </tbody> </table> </section> <section>

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.&nbsp; 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:*

</td> <td style="border-right: 1px black solid; padding: 5px;">

ITreeAttribute

</td> <td style="padding: 5px;">

A tree attribute that may contain the sub-attributes voxels, ingots, plates.

</td> </tr> </tbody> </table>

&nbsp;

<table style="border-spacing: 5px;"><caption class="title">Sub Attributes (under the root ITreeAttribute)</caption> <thead> <tr>

Read the full description on Vintage Story ModDB →

Highlights

From source data

Game 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 catalog
Listed on Vintage Story ModDB as “Crafting”

Weapons, items & crafting

New weapons, gear, items and the recipes to make them.

Runs on your server

From source side support

Vintage 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

Thrifty Smithing, answered

Generated from the mod’s own source data.

Do my players need to install Thrifty Smithing?

Vintage Story ModDB lists Thrifty Smithing as required on the server. Check its Vintage Story ModDB page to see whether players need it too.

Is it free?

Yes. Thrifty Smithing is free to download from Vintage Story ModDB.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run Thrifty Smithing on a Vintage Story server.

Deploy in about a minute from $4.00 a month, then add Thrifty Smithing in one click.