banner
Rating
Voted0

Recipe configuration

1
Mod version:1
Game version:all
The mod has been successfully tested for the absence of viruses
721.46K104.24K

Report mod

  • image
modalImage

About This Mod

You can set the number of ingredients needed/received for all craft recipes in the game.

Description.


This mod creates a configuration file that allows you to change the number of materials needed to create an item and the number of items resulting from crafting. Currently, it only supports items created in craft stations (workbench, forge and boiler) and does not support items created in the construction menu (hammer).


We did this because we believe that grinding metal is too much (especially in a single game), and we wanted to reduce the amount of materials needed for some recipes.


This method should work well in future versions of the game if the recipe code is not changed much. If new recipes are added to the game, modify the configuration file to reflect the new recipes.

Configuration.


The recipe in the configuration file has the following format


NameOfItemToCraft A=B

s=NameOfCraftingStation

r=SourceName1 C +D

r=SourceName2 C +D


A is the number of items that resulted from the treatment of the original recipe. Do not replace

B - the number of new items you want to receive as a result of the recipe processing.

C represents the amount of previous resources originally needed to produce the item.

D - the amount of previous resources needed to improve the created item.



NameOfCraftingStation can be one of the following (always add $)


Piece_Workbench

Piece_Workbench

Piece_Cauldron

Piece_StoneCutter

None of them.


With none of them you will not be able to produce without a station.



B, C, and D are changeable; both C and D can be set to 0.


D changes with each upgrade So, the first upgrade (Lv 2) requires D resources, the second upgrade (Lv 3) requires D*2 resources and so on.

The formula is as follows:


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



Adding/removing resources from the recipe has no effect. Only value changes are supported. It is also not possible to add custom recipes.


History of Changes.


Version 1.0.1.

You can now change the production station used for each recipe.

When you upgrade to a new version, your cfg file is copied to CraftingRecipes.cfg.old and a new cfg is created.

 

Version 1.0.2.

Compatibility with other mods that add items and recipes has been improved.

When used with compatible recipe-adding mods, you can modify them in the same way.


Version 1.0.3

Fixed an issue where cfg files were not generated correctly when used with certain mods.

ExampleConfigFIle has been added as a download option just in case.


Notes.


Not tested in multiplayer, but should work in Valheim, since almost everything is on the client side.


The sources can be found here: (https://github.com/geophreexx/RecipeConfig))  

Similar Mods/Addons

Game Version *

all (RecipeConfig.dll-308-1-0-3-1615615329.7z)