ToolLock
Blocks the hammer, hoe, and cultivator independently when an enemy is nearby, sees the player, or hears the player. Each tool can be configured separately or disabled entirely.ToolLock
Prevents certain build tools from being used when an enemy is nearby, sees the player, or hears the player.
By default, all three tools are restricted by nearby detection and Seen detection.
This mod combines the functionality of ToolLockWhenSeen and ToolLockWhenEnemyNearby into a single mod, with additional configuration options.
Tools
- Hammer
- Hoe
- Cultivator
Each tool can be enabled or disabled separately.
Detection
- Nearby – an enemy is within the configured detection distance.
- Seen – player is sensed by an enemy.
- Heard – player is targeted by an enemy.
Each detection type can be enabled or disabled separately.
The default detection distance is 20 metres.
Config
Each tool has:
Enabled– turns the detection restrictions on or offNearbyBlockedMessage– message shown when blocked while an enemy is nearbySeenBlockedMessage– message shown when blocked while seenHeardBlockedMessage– message shown when blocked while heard
Detection settings:
DetectionDistance– distance at which enemies will prevent tool useRestrictWhenNearby– enables the Nearby restrictionRestrictWhenSeen– enables the Seen restrictionRestrictWhenHeard– enables the Heard restriction
Disable
Each tool can also be disabled entirely.
DisableHammerDisableHoeDisableCultivator
Each has its own customizable message.
Disabling a tool takes priority over all detection restrictions.
Feedback
For suggestions or issues, Discord: NxDimi
