Beaver Dam Cleaner
Beaver Dam Cleaner automatically removes looted beaver dams after they have been accessed by a player.
The cleanup timer starts only when a player accesses a beaver dam. After the configured amount of time has passed, the mod checks the dam again and decides whether it should be destroyed.
Untouched beaver dams that have never been accessed by a player are not destroyed by this mod.
An optional resource check can protect accessed dams from being destroyed when they still contain a configured minimum amount of valuable resources.
The following resources can be checked separately:
- Rare Flowers
- Rare Mushrooms
- Cementing Paste
- Silica Pearls
If at least one enabled resource reaches its configured minimum amount, the beaver dam will not be destroyed. If none of the enabled resources reaches its minimum amount, the dam can be destroyed after the access timer has expired.
Configuration
Add the following settings to your GameUserSettings.ini:
[BeaverDamCleaner]
CheckIntervalSeconds=300.0
TimeSinceLastAccessSeconds=30.0
UseMinimumResourceCheck=True
CheckRareFlowers=True
MinimumRareFlowers=10
CheckRareMushrooms=True
MinimumRareMushrooms=10
CheckCementingPaste=True
MinimumCementingPaste=10
CheckSilicaPearls=True
MinimumSilicaPearls=10
Setting descriptions
CheckIntervalSeconds
Defines how often the mod checks accessed beaver dams.
The value is specified in seconds.
CheckIntervalSeconds=300.0
In this example, the mod performs a check every 300 seconds, which equals 5 minutes.
TimeSinceLastAccessSeconds
Defines how much time must pass after a player accesses a beaver dam before the dam can be destroyed.
The timer starts when a player accesses the dam. Untouched dams that have never been accessed are not affected.
TimeSinceLastAccessSeconds=30.0
In this example, the dam becomes eligible for cleanup 30.0 seconds, or 30 seconds, after it was accessed.
The actual cleanup may happen slightly later depending on the configured check interval.
UseMinimumResourceCheck
Enables or disables the minimum resource check.
UseMinimumResourceCheck=True
The mod checks the enabled resources before destroying the dam. The dam is protected if at least one enabled resource reaches its configured minimum amount.
UseMinimumResourceCheck=False
The remaining resources are ignored. An accessed dam can be destroyed after the configured time has passed.
CheckRareFlowers
Defines whether Rare Flowers are included in the resource check.
CheckRareFlowers=True
Rare Flowers are checked.
CheckRareFlowers=False
Rare Flowers are ignored.
MinimumRareFlowers
Defines the minimum number of Rare Flowers required to protect the dam.
MinimumRareFlowers=10
The dam is protected if it contains at least 10 Rare Flowers.
CheckRareMushrooms
Defines whether Rare Mushrooms are included in the resource check.
CheckRareMushrooms=True
Rare Mushrooms are checked.
CheckRareMushrooms=False
Rare Mushrooms are ignored.
MinimumRareMushrooms
Defines the minimum number of Rare Mushrooms required to protect the dam.
MinimumRareMushrooms=10
The dam is protected if it contains at least 10 Rare Mushrooms.
CheckCementingPaste
Defines whether Cementing Paste is included in the resource check.
CheckCementingPaste=True
Cementing Paste is checked.
CheckCementingPaste=False
Cementing Paste is ignored.
MinimumCementingPaste
Defines the minimum amount of Cementing Paste required to protect the dam.
MinimumCementingPaste=10
The dam is protected if it contains at least 100 Cementing Paste.
CheckSilicaPearls
Defines whether Silica Pearls are included in the resource check.
CheckSilicaPearls=True
Silica Pearls are checked.
CheckSilicaPearls=False
Silica Pearls are ignored.
MinimumSilicaPearls
Defines the minimum number of Silica Pearls required to protect the dam.
MinimumSilicaPearls=10
The dam is protected if it contains at least 50 Silica Pearls.
Cleanup logic
A beaver dam can only be destroyed when all of the following conditions are met:
- A player has accessed the beaver dam at least once.
- The configured time since that access has passed.
- The minimum resource check is disabled, or none of the enabled resources reaches its configured minimum amount.
Resource check example
UseMinimumResourceCheck=True
CheckCementingPaste=True
MinimumCementingPaste=100
CheckSilicaPearls=True
MinimumSilicaPearls=50
With these settings, the dam remains protected if it contains:
- At least 100 Cementing Paste, or
- At least 50 Silica Pearls.
If it contains less than 100 Cementing Paste and less than 50 Silica Pearls, it can be destroyed after the configured time has passed.
Resources with their Check... setting set to False do not affect the result.
- [list] [*] [/list]-

