About this mod
A tiny mod that gives a player infinite stamina when using creative mode (debugmode) and removes resources drops from destroyed items when no placement cost (debugmode + B) is enabled.
- Permissions and credits
This mod will change the behavior of devcommands -> debugmode such that actions taken while debugmode is enabled do not drain a players stamina and durability of the hammer tool is not depleted. Additionally, any items destroyed when no placement cost is enabled (debugmode + B) will not refund the resources (no resource drops).
Usage
This mod works by augmenting the built in creative mode and cheat commands. There is no additional configuration. To enable the behaviors, use the console and type devcommands to enable cheats. Finally, type debugmode to enable creative mode. With debugmode enabled actions taken will not drain your stamina and the hammer tool will not lose durability. To disable, press F5 to bring up the console. Type debugmode again to disable creative mode.
With debugmode enabled, press B to toggle no placement cost. When no placement cost is enabled, destroying items will not drop the resources required to place the item. When no placement cost is disabled, resources will be refunded normally.
Requirements
This mod requires BepInEx and Harmony. These should be installed by default when using the nexus mod manager.
Versions
1.2.1 - Fixes a bug where the build menu will not display when debugmode is active in newer versions of the game.
1.2.0 - Removes hammer tool durability loss while debugmode is active.
1.1.0 - Adds infinite stamina while using debugmode. Removes resource drops from destroyed items when no placement cost is enabled.
Manual Installation
To install this mod place the ImprovedCreativeMode.dll file in your BepInEx/plugins directory within your Valheim game directory.
Disclaimer
Not tested in multiplayer.