- Roof and fire checks disabled for crafting station
- Fire, exposure, and wet checks disabled for bed
- Carry all items through portal
- Start with base HP as 100
- BepInEx Pack Valheim- Inject and Run DLLs
- Harmony (incl. with BepInEx) - Patching methods at runtime
- ILSpy - Decompiling Unity Files
- MS Visual Studio - Code & Build C# (with .NET desktop environment)
- Create
Class Library (.NET Framework)
in Visual Studio - Copy all files from
BepInExPack_Valheim
to game folder's root - Copy below DLL files to
libs
folder in the project
Valheim\BepInEx\core\0Harmony.dll
Valheim\BepInEx\core\BepInEx.dll
Valheim\valheim_Data\Managed\assembly_valheim.dll
Valheim\valheim_Data\Managed\UnityEngine.dll
Valheim\valheim_Data\Managed\UnityEngine.CoreModule.dll
- Add references to above files in Visual Studio
- Rename
.cs
file to mod class name and patches go in here
- Copy DLL from
\bin\Debug
with the same name as the mod class - Paste in
Valheim\BepInEx\plugins
- Check if it's loaded during game startup in BepInEx console