Configuration

Updated a year ago

Configuration

Otherwise a configuration file located at /BepInEx/config/com.midnightsfx.ValheimArmory.cfg contains all of the configuration.

Please note that basically ALL of the configuration is server sided. Which means that it requires a restart of your game to take effect. This allows me to ensure that the server and the client are always in sync with the details of everything- like how much damage you did to that greydwarf.

Current configuration options:

  • Damage
  • Recipe
  • Stamina cost
  • Block amount
  • Crafted amount (where applicable)

Crafting recipe configuration will provide warnings in the startup log if it is empty.

Example Item configuration.

[Atgeirs - Antler Atgeir]

## Enable/Disable the Antler Atgeir.
# Setting type: Boolean
# Default value: true
AntlerAtgeir-Enable = true

## Where the recipe is crafted at, valid values: 'forge', 'piece_workbench', 'blackforge', 'piece_artisanstation'.
# Setting type: String
# Default value: piece_workbench
AntlerAtgeir-CraftedAt = piece_workbench

## slash (0-200) Damage Value
# Setting type: Single
# Default value: 25
# Acceptable value range: From 0 to 90
AntlerAtgeir-slash = 25

## lightning (0-200) Damage Value
# Setting type: Single
# Default value: 5
# Acceptable value range: From 0 to 25
AntlerAtgeir-lightning = 5

## block (0-200) Value
# Setting type: Single
# Default value: 12
# Acceptable value range: From 0 to 60
AntlerAtgeir-block = 12

## primary_attack_stamina (0-200) Value
# Setting type: Single
# Default value: 7
# Acceptable value range: From 1 to 20
AntlerAtgeir-primary_attack_stamina = 7

## secondary_attack_stamina (0-200) Value
# Setting type: Single
# Default value: 14
# Acceptable value range: From 1 to 50
AntlerAtgeir-secondary_attack_stamina = 14

## Recipe to craft and upgrade costs. Find item ids: https://valheim.fandom.com/wiki/Item_IDs, at most 4 costs.
# Format: resouce_id,craft_cost,upgrade_cost eg: Wood,8,2|Iron,12,4|LeatherScraps,4,0
# Setting type: String
# Default value: Wood,24,8|HardAntler,4,2|Resin,4,2
AntlerAtgeir-recipe = Wood,24,8|HardAntler,4,2|Resin,4,2