Pressure-Plate
About
Adds a pressure plate, which opens and closes doors within a range if a player stands on it.
- Wooden pressure plate: 3 wood, 1 surtling core with the hammer. Requires a workbench in range
- Stone pressure plate: 3 stone, 1 surtling core with the hammer. Requires a stonecutter in range
Triggering range is configurable.
Installation
Extract the content of Pressure-Plate into the BepInEx/plugins folder.
Developer
Inside the repo are two folders, PressurePlate for the mod and UnityAssets for the unity files.
Place all Unity, Valheim and dependencies assemblies in the PressurePlate/libs folder (create the folder if it doesn't exist) and add them as references to the visual studio project.
Place the same assemblies in UnityAssets/Assets/Assemblies (create the folder if it doesn't exist) if you want to edit the AssetBundle.
Build the AssetBundle with the Unity toolbar "Assets/Build AssetBundles" to automatically copy the resulting file to the mod folder.
Changelog
0.0.6
- Added configuration: PressurePlateRadiusHorizontal
- Added configuration: PressurePlateRadiusVertical
- Added configuration: PressurePlatePlayerRadiusHorizontal
- Added configuration: PressurePlatePlayerRadiusVertical
- Added configuration: PressurePlateOpenDelay
0.0.5
- Added stone pressure plate
- Updated wood pressure plate icon
- Changed Language tokens: $pressure_plate -> $pressure_plate_wood, added $pressure_plate_stone
0.0.4
- Updated ValheimLib to 0.0.15
- Reverted last fix as it was fixed in ValheimLib
- Removed unnecessary 'valheim.exe' restriction
- Removed HookGenPatcher dependency
0.0.3
- Fixed "Destroyed invalid prefab ZDO..."-bug when moving through portals
0.0.2
- Added sound effects for pressing and releasing pressure plate
0.0.1
Credits