Hi Mori, thanks for Tweaks++, I use it all the time.
Bug report: "Auto-recover Stuck Vehicles" never recovers vehicles buried by a rockslide, even though the tooltip says it should. I always have to recover them by hand.
I think I found the cause. In TweaksPPManager.IsFullyBlocked(Vehicle v), the check starts with:
Option<VehiclePfNode> pfNodeAt = _pathability.GetPfNodeAt(..., v.GroundPositionTile2i, ...);
if (pfNodeAt.IsNone) return false;
A vehicle buried by a rockslide is standing on a tile that is no longer pathable, so there is no pathfinding node under it. GetPfNodeAt returns None and the method reports "not blocked". This is exactly the rockslide case, so these vehicles are always skipped.
Suggested fix: when there is no node under the vehicle, treat it as blocked if the game itself considers it stuck:
if (pfNodeAt.IsNone)
return !v.IsDrivingOnRoad && (v.IsStuck || v.IsFailingToNavigateRepeatedly);
Your existing 250-step delay and the CanRecoverVehicle check still apply afterwards, so vehicles that only cross a non-pathable tile for a moment are not affected.
I tested this as a small separate Harmony postfix on IsFullyBlocked for my own game, without modifying Tweaks++ itself, and buried vehicles are recovered as expected. It would be great to have it in the mod directly.
Thanks again for the great work!