ValheimStructureImmunity
Protect player-built structures, adjust structural support, extend crafting range and comfort/warmth, dismantle empty boats/carts, float dropped items, and enable tool durability/stamina options.Valheim Structure Immunity v0.3.9
A configurable quality-of-life mod for Valheim. This release uses the compiled DLL supplied by the author and reported as tested in-game.
Features
- Protect player-placed building pieces from external damage, with a configuration option to limit protection to player-placed pieces. Vanilla structural wear and unsupported-piece collapse are intended to remain possible.
- Configure structural integrity: disable it entirely or multiply support values.
- Use one shared crafting-station build range for all stations (default 50 metres; configurable from 1–100 metres).
- Configure comfort detection and warmth areas (default 20 metres; configurable from 10–30 metres).
- Optionally allow the Hammer's Remove mode to dismantle boats and carts. Boats with a player aboard, carts being pulled, and vehicles with items in storage are protected from removal. Special moving-base ships are excluded.
- Make dropped items float using Valheim's native buoyancy behavior. Existing floating items and living fish are left unchanged.
- Optionally disable durability drain and stamina costs for the Hammer, Hoe and Cultivator.
Installation
- Install BepInExPack for Valheim through your mod manager.
- Install this package through Thunderstore/r2modman, or extract the package into your Valheim
BepInExdirectory. - Launch the game once to generate the configuration file.
Configuration
Configuration is generated by BepInEx after first launch. The main settings include:
General:Enabled,ProtectPlayerPlacedPiecesStructural Integrity:DisableStructuralIntegrity,StructuralSupportMultiplierDebug:DebugLogCrafting Station Range v0.3.7:CraftingStationRangeMetres(1–100; default 50)Vehicle Dismantling:EnableBoatAndCartDismantlingItem Buoyancy:FloatDroppedItemsInWaterComfort and Warmth v0.3.6:ComfortAndWarmthRadiusMetres(10–30; default 20)Tool Quality of Life:UnlimitedToolDurability,UnlimitedToolStamina
Some changes are applied when objects initialize or when the game scene loads. Restarting the game may be necessary after changing certain settings.
Compatibility notes
- If testing floating dropped items, temporarily disable other mods that make all items float.
- If testing boat/cart dismantling, temporarily disable other mods that alter vehicle removal.
- Avoid running another mod that changes comfort radius while using this mod's comfort setting.
- Special moving-base ships are intentionally excluded from this mod's boat dismantling feature.
- Valheim updates and other mods may affect compatibility. If reporting an issue, include the game version, mod version, relevant configuration, and BepInEx log.
Development and testing disclosure
This mod was developed with assistance from AI tools. The maintainer reviews the generated code, builds the mod against their Valheim installation, and tests features in-game. Compatibility can vary with Valheim updates and other installed mods.
Third-party attribution
The boat/cart-removal behavior was informed by Goldenrevolver's Instantly Destroy Boats And Carts mod and its reference implementation (https://github.com/Goldenrevolver/ValheimMiniMods). See THIRD_PARTY_NOTICES.md for the MIT license notice.
