Grantapher / ValheimPlus

A HarmonyX Mod aimed at improving the gameplay and quality of life of the game Valheim.
GNU Affero General Public License v3.0
224 stars 24 forks source link

Ability to set precise [Gathering] and [Pickable] values #80

Closed IVovo closed 4 months ago

IVovo commented 4 months ago

This pull request brings possibility to set precise [Gathering] and [Pickable] values.

For example, if you want to increase all edibles overall drop chance by 10%, you just set "edibles = 10". You even can set more precise values like 37.65612 for some reason since all gathering and pickable properties are float type

Currently "edibles = 10" has no effect and drops items as "edibles = 0"

New function in Helper class can be used in other situations, but personally i didn't find them