GetOffMyLawn
Set the health of player-placed items in the game to a configurable health value.
CHANGELOG
Changelog
1.12.0
- Added new feature to show an optional
StatusEffectindicator withTargetPieceHealthvalue. - Added config-option
[Indicators] showStatusEffectIndicator(default off) for above feature.
1.11.0
- Updated for the
v0.221.4patch. - Pieces with
Characterwill now be ignored, fixes issue whereT.W.I.Gpiece cannot be removed when over-healthed. - Code clean-up and refactoring for improved performance.
1.10.0
- Fixed for the
v0.219.14patch.
1.9.0
- Updated for the
v0.218.15Ashlands patch.
1.8.1
- Fixed a bug where damage was not being applied correctly to non-over-healthed Pieces.
1.8.0
- Fixed for the
v0.218.9PTB patch. - Added new config option
Behaviour.repairPiecesOnWardActivation(default:true) for use withPrivateAreaPatch. - Modified the
Player.RemovePiece()transpiler patch to check if the Piece has aShiporVagoncomponent.
1.7.0
- Updated for the
v0.217.38patch. - Moved changelog into
CHANGELOG.md. - Bumped up
<LangVersion>to C# 10. - Removed custom config drawer as the functionality is now in
Configulamod. - Modified Piece repair logic to work with vanilla
WearNTearvisual updates and claim ZDO ownerhsip on repair. - Minor code clean-up and refactoring.
1.6.0
- Updated for
v0.216.5PTB patch.
1.5.0
- Modified TargetPieceHealth config setting to use FloatConfigEntry with custom text-to-float parsing/validation.
- Removed the ApplyDamageCount logging since it's no longer needed info.
- Minor code clean up.
1.4.1
- Repairs with negative damage should now take effect. Vanilla repair previously overwrote negative repair values.
1.4.0
- Moved all configuration code into new
PluginConfigclass. - Moved all Harmony-patching code into their own patch classes.
- Increased the default
PieceHealthvalue to1E+17. - Added
manifest.jsonand updated thisREADME.md. - Modified the project file to automatically create a versioned Thunderstore package.
1.3.1
- Destroy carts & boats with the Hammer like regular build pieces.
1.2.1
- Actually check the
enablePieceHealthDamageThresholdconfig value for the WearNTear.ApplyDamage() patch.
1.2.0
- Added new optimization/configuration option
enablePieceHealthDamageThreshold.- Pieces with health that exceed 100K will not execute
WearNTear.ApplyDamage()meaning they will not take any piece damage. Subsequently, they will not send aWNTHealthChangedmessage to the server. - This reduces the overall send and receive rates for every player on the server as they will no longer receive the message used only for syncing the visual condition of pieces across clients.
- Pieces with health that exceed 100K will not execute
1.0.1
- Added null-checks for Piece and Piece.ZNetView references in the ward-interaction method.
1.0.0
- Updated for Hearth & Home.