0 of 0

File information

Last updated

Original upload

Created by

Geophreex

Uploaded by

Geophreex

Virus scan

Safe to use

Tags for this mod

About this mod

Allows you to configure the amounts of materials required/received for every crafting recipe in the game.

Permissions and credits
Changelogs
Overview

This mod will create a configuration file that allows you to modify the number of materials required to craft an item, as well as the number of items received as a result of crafting. Currently only supports items created at a crafting station (workbench, forge, cauldron) and not items created through the build menu (hammer).

I created this because I believe that the grind for metal is a bit too much (especially in single player), and I wanted to be able to be able to reduce the number of materials required for certain recipes.

The way this was created, it should hopefully work for future versions of the game as well as long as the code around recipes does not change significantly. If new recipes are added to the game, you just need to re-generate the config file and it should be populated with the new recipes.

Installation

You should be able to easily install this through Vortex, or add it manually:

  • Make sure you have BepinEx installed.
  • Download this mod and drop the RecipeConfig.dll into 'Valheim\BepInEx\plugins'.

However you install, you need to do the following to modify recipes:

  • Run the game once to generate the config file ('Valheim\BepInEx\config\CraftingRecipes.cfg').
  • Modify any recipes you want in CraftingRecipes.cfg (close the game first).
  • Run the game again.

Configuration

Recipes in the configuration file will be of the following form:

NameOfItemToCraft A=B
s=NameOfCraftingStation
r=NameOfResource1 C +D
r=NameOfResource2 C +D

A represents the number of items that you will receive as a result of crafting THE ORIGINAL recipe. DO NOT MODIFY A.
B represents the NEW number of items that you wish to receive as a result of crafting the recipe.
C represents the number of the preceding resource required to craft the item the first time.
D represents the number of the preceding resource required to upgrade the crafted item.


NameOfCraftingStation can be any of the following (make sure to include the $):

  • $piece_workbench
  • $piece_forge
  • $piece_cauldron
  • $piece_stonecutter
  • $none

If $none is used, you will be able to craft it without a station.


B, C, and D can all be modified. C and/or D can be 0. 

The D value compounds for each upgrade. Meaning the first upgrade (lvl 2) requires D resources, the second upgrade (lvl 3) requires D*2 resources, etc.
The formula is as follows:

Resources required for upgrade = (LVL - 1) * D


Adding/removing resources from a recipe will have no effect. Only modifying the values is supported. You also can't add any custom recipes.

Changelog

Version 1.0.1
  • You can now change what crafting station is used for each recipe.
  • When upgrading to a new version, your cfg file will be copied to CraftingRecipes.cfg.old and a fresh cfg will be created.
 
Version 1.0.2
  • Should now *hopefully* be more compatible with other mods that add items/recipes.
  • If used with a compatible mod that adds recipes, you should be able to change them as well, just re-generate the config file to add them.

Version 1.0.3
  • Fixed issue with cfg file not generating correctly when used with certain mods.
  • Added ExampleConfigFIle as an optional download just in case.

Notes

I haven't tested this in multiplayer, but it should work because almost everything in Valheim is client side.

You can find the source here: (https://github.com/geophreexx/RecipeConfig)