Chistix-ForgeOdds icon

ForgeOdds

Forge Odds: at the Forge of Potential the crafting window shows the chance of each outcome, the item's stats before and after, and what comes back if it breaks. Game formulas; optional host-set odds.

Last updated 15 hours ago
Total downloads 44
Total rating 0 
Categories Mods Tweaks Client-side AI Generated
Dependency string Chistix-ForgeOdds-0.1.3
Dependants 0 other packages depend on this package

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2351 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.

Preferred version: 5.4.2351

README

Forge Odds - know the odds before the Forge of Potential takes your idol

At the Forge of Potential the crafting window shows, before you press the button, the chance of each outcome, what the item becomes on success (its stats before → after) and what comes back if it breaks. Worked out with the game's own formulas and the game's own tooltip lines; the forge's odds are not changed unless the world's host sets its own. The forge works twice as fast by default (adjustable, 100% = as in the game).

Client-side BepInEx mod for Valheim. Works alone in the game's own crafting window, and in CraftMenu's card if you use it.

What you see

Choose an item at the Forge of Potential, and its text starts with the forecast:

Forge of Potential: 3 » 4
Spent whatever the outcome: Idol x1

Success, becomes level 4: 65%
Quality: 3 » 4
Durability: 62% (155/250) » 100% (300/300)
Armor: 26 » 28

Break, the item is destroyed: 35%
Given back (of all it cost, levels 1-3): 35%
Iron: 12
Deer hide: 1
  • Odds of each outcome, from the idol the recipe uses.
  • Spent: the idol, whatever comes out (nothing in a world without crafting cost).
  • Success: only the stats that change, as the game's own tooltip shows them: level, durability (the item comes back repaired), armor, damage, block, set and status effects, crafter, world level.
  • Break: every resource that comes back, with its amount.
  • Lower level: shown only when an idol has that chance (the game's own idols do not; an idol of another mod may), with the stats before → after.
  • Above the item's usual top level the header says so.
  • A note when the item carries data of other mods: the game makes the upgraded item anew and does not carry that data over itself.

How the Forge of Potential works (game 1.0.32)

  • Every idol has a success chance and a break chance. In the game's data we read, its idols have 65% success, 35% break and never a lower level; the forecast always shows the numbers of the idol in your game. Your skills, the station and world modifiers do not change the odds.
  • The idol is spent whatever the outcome. On success the item is made anew one level higher: full durability, you as its crafter, the world's current level; its style and place in the inventory stay.
  • On a break the item is destroyed and 35% of all it cost up to its level come back, rounded to the nearest (iron armor at level 3: 35% of 20 + 5 + 10 iron = 12); the idol does not.
  • The game takes the roll from a seed kept in your character's save for each item and level (the first one from your profile's creation date), so reloading does not change it; there is no pity or streak - every roll is a fresh chance. Forge Odds shows the odds only and never looks ahead at the roll.

Your own odds (optional)

By default nothing changes: the forge rolls on the idol's own odds. In [Odds] the world's host can set its own:

  • SuccessPercent - the chance of success, 0-100.
  • BreakPercent - the chance of a break, 0-100. The game takes success first, so a break is at most what success leaves; the rest becomes a lower level. Success 80 with Break left alone: 80% success, 20% break.
  • ReturnPercent - the share of the resources given back on a break, 0-100.

-1 keeps the idol's own value. They count only on the host: playing alone, your own; on a server, the server's, sent to every player with the mod (also when changed while the game runs). Your own values never apply on someone else's server, and on a server without the mod the game's odds hold. The forge still rolls with the game's own code - only these three numbers of the idol are different, for that one roll. The forecast shows the odds in force and the idol's own beside them.

The forge rolls on the player's own game: for the same odds, every player needs the mod (a player without it rolls on the game's odds).

Installation

  1. Install BepInExPack Valheim.
  2. Put ForgeOdds.dll into Valheim/BepInEx/plugins/ (a mod manager does it for you).
  3. Go to a Forge of Potential and choose an item.

Compatibility

  • CraftMenu: the forecast is in its item card on the Upgrade tab. Neither mod needs the other.
  • Any crafting window that builds the recipe's text with the game's own tooltip gets the forecast too.
  • With [Odds] left at -1 the odds stay the game's: the forge's roll, costs and results are the game's, and the mod is needed only by the players who want the forecast.
  • Mods that change the forge's own rules (other odds, no breaking, levels from experience): leave [Odds] at -1; the forecast is right only while the forge rolls the game's way.
  • Valheim 1.0.32, BepInEx 5.4.23+. No known conflicts.

Note: a first release. It is built against Valheim 1.0.32 and checked offline: its formulas against the game's own code and classes. It has not yet been tried in the game itself - the forecast in the windows, the host's odds on a server and the faster forge. Please report anything that looks off.

Settings

BepInEx/config/chistix.forgeodds.cfg, also in the F1 window (Configuration Manager):

  • [General] Enabled (true) - the forecast at the Forge of Potential.
  • [General] AtTop (true) - at the top of the item's text (under its description); off - at the bottom.
  • [General] StatChanges (true) - the stats that change, before → after.
  • [General] Returns (true) - what comes back if the item breaks.
  • [General] ModDataNote (true) - the note about other mods' data on the item.
  • [Odds] SuccessPercent, BreakPercent, ReturnPercent (-1) - the host's own odds (see above); sliders from -1 to 100.
  • [Speed] UpgradeSpeedPercent (200) - how fast the Forge of Potential upgrades, 50-500% of the game's time (100 - as in the game: 8 s + 1 s a level; 200 - twice as fast). Each player's own.

Credits

Made by Chistix: idea, design, direction and testing. Code written with Claude Code (Anthropic) as an AI coding assistant, under Chistix's direction.

Uses BepInEx and Harmony. The texts are the game's own window and tooltip lines; no game files are included.

All rights reserved. You may use the mod, show it in videos and streams and list it as a dependency; re-uploading or changed versions need the author's permission.

Free and stays free. If you'd like to say thanks: PayPal

Links

My dev channel on YouTube

YouTube

My mods on Nexus Mods

Nexus Mods

Add me on Steam

Steam

Watch me on Twitch

Twitch