Mods / Alloy Calculator [ABANDONED]

Tags:
Utility QoL
Author:
DanaCraluminum
Side:
Client
Created:
Aug 18th 2022 at 4:43 PM
Last modified:
Aug 18th 2022 at 11:01 PM
Downloads:
11765
Follow Unfollow 265
Latest release (for Vintage Story 1.17.0, 1.18.0, 1.19.0, 1.20.0 - 1.20.3 and 1.20.4, outdated):
AlloyCalculator-v1.0.0.zip  1-click install

[Discord]

I'm living in Ukraine and there is war happening right now. Most of my free time I spend on modding when I get a few hours between electricity blackouts.
If you love my work, you can support me on Patreon, I would greatly appreciate it ❤️. Donations keep me doing what I truly love - modding.


In-game alloy calculator. Calculates amount of needed nuggets by metal units.

Open/close alloy calculator by pressing down the HotKey (default U).

To change hotkey, look at Settings -> Controls -> User Interface

Note:

  • Opening/closing calculator will erase all previous values.
  • Some modded alloys may break sliders.
  • Values not dividable by 100 are experimental and can cause wrong calculations
Languages
Translated to Russian and Ukrainian.
Acknowledgements

Thank you to the following people:

  • Apache: Code consultation.
  • Xel: Code consultation.
    Novocain: Code consultation.
  • TeacupAngel: Code consultation.
  • DArkHekRoMaNT: Code consultation.
  • G3rste: Code consultation, formula.
  • Raccoon: Formula consultation.
  • ilm: Formula consultation.
  • twistr: Inspiration 

Calculator icon from cover image

Mod Version Mod IdentifierFor Game version Downloads Released Changelog Download 1-click mod install*
1.0.0 alloycalculator
1.20.0 - 1.20.3
11033 Aug 18th 2022 at 4:48 PM Empty AlloyCalculator-v1.0.0.zip 1-click install
0.0.1 alloycalculator
1.16.2 - 1.16.3
732 Aug 18th 2022 at 11:01 PM Empty AlloyCalculator-v1.16.0_v0.0.1.zip 1-click install

56 Comments (oldest first | newest first) (threaded | flat)

P_eaBean, Mar 14th at 1:27 PM
DilanRona, Dec 9th 2025 at 9:23 AM

Uploaded a version that works with 1.21.1, and 1.21.5. Its a temp release to give the mod author time to fix the official version. Enjoy.

 

https://mods.vintagestory.at/show/mod/36902

DilanRona, Dec 9th 2025 at 9:00 AM

Ok, I managed to get it working for 1.21.1. Will update my game to 1.21.5, and test it again, before uploading the equivalent of an emergency upload. This will give the original author time to fix the mod, and allow the users to keep using the jerryfixed version.

DilanRona, Dec 9th 2025 at 5:57 AM

DanaCraluminum What calculation logic problems did you have?

Krougal, Dec 4th 2025 at 11:38 AM

Yeah, that's too bad. It was great while it lasted.

Thanks for letting us know!

VaelophisNyx, Dec 2nd 2025 at 9:35 PM

sad to hear, this mod was potentially one of the biggest must-haves when working with vanilla's alloy ratios

DanaCraluminum , Dec 2nd 2025 at 12:01 PM (modified Dec 2nd 2025 at 12:01 PM)

Krougal I couldn't fix calculation logic in a few tries, so I don't think I will ever update it

Krougal, Dec 2nd 2025 at 5:06 AM

DanaCraluminum

Are you planning to update this or should we consider it abandoned?

Just updating my guides recommended mods section and wondering if I should remove the link or not.

Hope you and your family are well.

Rythillian, Nov 24th 2025 at 4:39 AM

sadly crashes in latest version when you open the menu

mj_outlaw, Oct 30th 2025 at 9:40 AM

update pls

Just_Morning, Oct 24th 2025 at 12:01 PM

Doesn't work in 1.21.5 ... Seems it's 1.21+ it crashes the game. Sad...

SoulReaperz, Oct 5th 2025 at 4:28 PM

does not work on 1.21.1
attempted to use just now and it threw a crash
was in game just fine until the needing to use it, that is what prompted the crash

MyuriC, Sep 21st 2025 at 3:29 PM

Krougal the thing is it's .ru. And nothing brings me close to any of that.

Berik01, Sep 14th 2025 at 6:36 PM

I really hope you can find the time to update this mod! There is really no replacement for it (the web version is great but I don't like alt-tabbing). Thanks for your effort!

Krougal, Sep 11th 2025 at 6:46 PM

BlackJackal84 Until this is updated, there is always the web version, https://art.twgserver.ru/vsalloys/

DanaCraluminum , Sep 7th 2025 at 1:32 PM

BlackJackal84 I'm trying to find time to update this mod, but I'm busy with other mods currently

BlackJackal84, Sep 7th 2025 at 1:23 PM

DanaCraluminum I figured so, sorry, I didn't mean to seem rude, I was just curious to understand if the mod was now being abandoned or will be updated in the future. :)

DanaCraluminum , Sep 6th 2025 at 10:21 PM

BlackJackal84 I have 100 other mods to maintain

BlackJackal84, Sep 6th 2025 at 9:39 PM

abandoned mod?

TheRealFlynn, Aug 28th 2025 at 3:15 PM (modified Aug 28th 2025 at 3:16 PM)

breaks in 1.21

crashed when i pressed U

extremely helpful mod. thanks for it!

CoffeeThunder, Jul 13th 2025 at 3:36 PM

Привіт)
Маю краш при відкритті меню. Ось лог:

Crash Report
Running on 64 bit Windows 10.0.19041.0 with 16316 MB RAM
Game Version: v1.21.0-pre.2 (Unstable)
13.07.2025 18:34:32: Critical error occurred in the following mod: alloycalculator@1.0.0
Loaded Mods: grasstoropes@1.1.5, game@1.21.0-pre.2, alloycalculator@1.0.0, egocaribautomapmarkers@4.0.2, firewoodtosticks@1.0.0, grasstoflax@1.0.1, creative@1.21.0-pre.2, survival@1.21.0-pre.2
System.MissingMethodException: Method not found: 'Vintagestory.API.Client.GuiComposer Vintagestory.API.Client.GuiComposerHelpers.AddDialogTitleBar(Vintagestory.API.Client.GuiComposer, System.String, System.Action, Vintagestory.API.Client.CairoFont, Vintagestory.API.Client.ElementBounds)'.
at AlloyCalculator.GuiDialogAlloyCalculator.ComposeDialog()
at AlloyCalculator.GuiDialogAlloyCalculator.TryOpen() in D:\VSCode\Repos\Modding_VintageStory\AlloyCalculator\src\GuiDialogAlloyCalculator.cs:line 337
at AlloyCalculator.AlloyCalculator.ToggleGui(KeyCombination keyCombination) in D:\VSCode\Repos\Modding_VintageStory\AlloyCalculator\src\AlloyCalculator.cs:line 33
at Vintagestory.Client.HotkeyManager.TriggerHotKey(KeyEvent keyEventargs, IWorldAccessor world, IPlayer player, Boolean allowCharacterControls, Boolean isGlobal, Boolean fallBack, Boolean keyup) in VintagestoryLib\Client\HotkeyManager.cs:line 424
at Vintagestory.Client.NoObf.ClientMain.OnKeyDown(KeyEvent args) in VintagestoryLib\Client\ClientMain.cs:line 1832
at Vintagestory.Client.NoObf.ClientPlatformWindows.game_KeyDown(KeyboardKeyEventArgs e) in VintagestoryLib\Client\ClientPlatform\Input.cs:line 249
at OpenTK.Windowing.Desktop.NativeWindow.KeyCallback(Window* window, Keys key, Int32 scancode, InputAction action, KeyModifiers mods)
--- End of stack trace from previous location ---
at OpenTK.Windowing.Desktop.NativeWindow.RethrowCallbackExceptionsIfNeeded()
at OpenTK.Windowing.Desktop.GameWindow.Run()
at Vintagestory.Client.ClientProgram.Start(ClientProgramArgs args, String[] rawArgs) in VintagestoryLib\Client\ClientProgram.cs:line 337
at Vintagestory.Client.ClientProgram.<>c__DisplayClass10_0.<.ctor>b__1() in VintagestoryLib\Client\ClientProgram.cs:line 133
at Vintagestory.ClientNative.CrashReporter.Start(ThreadStart start) in VintagestoryLib\Client\ClientPlatform\ClientNative\CrashReporter.cs:line 95
Zuul, May 11th 2025 at 12:30 PM

It continues to work, one of the most useful mods.
💜

DanaCraluminum , Mar 21st 2025 at 6:48 PM

Chrizzlybear If it works, then it works

Chrizzlybear, Mar 21st 2025 at 6:47 PM

Hi, there is an error in modinfo.json. The dependency from the game is wrong. One solution would be to use "*".

DanaCraluminum , Mar 7th 2025 at 9:53 AM

Madalovin Thank you

Madalovin, Mar 7th 2025 at 4:50 AM

This mod is fantastic, this'll save me a lot of time in the future, thank you.

Desolae, Jan 28th 2025 at 1:58 AM

DanaCraluminum yes, still happens on a fresh save with only this mod.

DanaCraluminum , Jan 27th 2025 at 11:32 PM

Desolae Does it happen without any mods but this one?

Desolae, Jan 27th 2025 at 11:31 PM

The interface is blank (not even showing the general alloy list) and doesn't change even if I choose difference alloys from the dropdown menu. The slider bars on the left are half missing and not interactable either. I'll submit a github ticket with more info/screenshot.

EDIT: Re-downloading the mod seems to have mostly fixed my problems, just seeing some cut-off text now.

DanaCraluminum , Jan 27th 2025 at 10:44 AM

Desolae Thank you. What is broken?

Desolae, Jan 27th 2025 at 1:48 AM

Broken in 1.20, and I see this one is on break sadly. But big thank you for all your other mods, you do so much for the community.

DanaCraluminum , Jan 26th 2025 at 10:57 AM

AngryOscar Still works

AngryOscar, Jan 26th 2025 at 2:05 AM

1.20?

Bulwar73, Feb 29th 2024 at 8:22 PM

@DanaCraluminum 

Thanks for the reply. 😁👍

DanaCraluminum , Feb 29th 2024 at 7:58 PM

Bulwar73 Ignore that triangle

Bulwar73, Feb 29th 2024 at 7:57 PM

I cannot load it in new 1.19.4. Gives warning triangle.

Asilar, Feb 4th 2024 at 11:47 PM

Thanks a lot !

DanaCraluminum , Feb 2nd 2024 at 6:01 PM

Asilar Yes

Asilar, Feb 2nd 2024 at 5:30 PM

Hi,

It says it's for 1.17 in mod manager, it's still ok for 1.19 right ?

Thanks.

SalazarWindriver, Dec 24th 2023 at 1:09 AM

The mod Xskills has a class feature that reduces the number of units needed for casting.  it has 3 levels 10%, 20% and I'm guessing 30%  for the top level.  It might be good to have the option to allow less than 100 units at least.

DanaCraluminum , Dec 23rd 2023 at 5:15 PM

3vilpcdiva Ingots are always 100 units

3vilpcdiva, Dec 23rd 2023 at 3:34 PM

DanaCraluminum,

Hey Excellent little mod you've got here, but by any chance could you add a drop down next to the units input box to allow users to change between units desired and ingots desired?  (I think solely in terms of ingots and would like to remove one more layer of math.)


Thanks!

VaelophisNyx, Oct 7th 2023 at 11:54 PM

600u black bronze was off by 1 nugget. Pretty good imo

DanaCraluminum , Jun 3rd 2023 at 6:58 PM

I will try to do input by Nuggets instead Units 

BlackJackal84, Jun 3rd 2023 at 1:39 PM

hello, with the latest release of the game the calculator seems to work, however the calculations on the Bronze in the Tin are almost always wrong, especially if you set the minimum number of cassiterite and the maximum number of copper.
By setting from 200 to 700 units, the values you receive are often incorrect and if you respect them, the crucible produces nothing, so you always have to correct the materials by sight, sometimes adding or subtracting materials from copper or cassiterite, or both.

I hope I was helpful :)

DanaCraluminum , May 9th 2023 at 5:44 PM

BlackJackal84 I just tested it on 1.18.2-rc.4, it works

BlackJackal84, May 9th 2023 at 5:00 PM

Hi, could someone tell me if the mod currently works with the latest release?
Or do we have to wait for some update on this?
Thank you :)

DanaCraluminum , Sep 13th 2022 at 10:15 PM

AQueerOddity

Honestly, I don't know how to do that, because some mods can change amount of fuel (it is not necessary directly modifiable, but still) needed for that

AQueerOddity, Sep 13th 2022 at 9:09 PM

I don't know if it's something that would be easy to do or not, but is there a way you could additionally include a listing of the minimum amount of any given type of fuel it would take to make the amount of alloy you punch into the calculator? I'm always worried about burning through too much fuel or leaving too little and ending up with no smelted metal, and I'd like it if I could just know exactly how much fuel to put in per given batch, and not need to babysit my smelting metal.

DanaCraluminum , Sep 9th 2022 at 10:06 AM

BlueFuryDragon

Yes, look at Settings -> Controls -> User Interface

BlueFuryDragon, Sep 9th 2022 at 2:08 AM

VSHUD uses U to turn off and on floating waypoints. Is there a way I can change the HotKey to something else?

DanaCraluminum , Aug 24th 2022 at 11:29 AM

If someone noticed that some metals aren't translated, they don't have a translation in the base game

DemonBigj781, Aug 18th 2022 at 7:22 PM

me. alot of mods do not work on 1.17 still

macoto_hino, Aug 18th 2022 at 5:07 PM

Thanks for a mod that would be handy to have!🤣

OriginlessGamer, Aug 18th 2022 at 5:01 PM

This is amazing! A much needed feature because I'm extremely bad at math :D 

DanaCraluminum , Aug 18th 2022 at 4:54 PM

If someone need 1.16.5 version, write about that in comments here and I will work on it