Precise Shortfall Calculation
TBot2 doesn't use hero resources blindly. It calculates the exact difference between what your village currently has and what the upgrade costs. If you're short on a specific resource, it uses exactly that amount from your hero's inventory. No waste, every resource counts.
Automatic Inventory Navigation
When resources are needed, TBot2 navigates to your hero's inventory page, finds the correct resource items (Wood, Clay, Iron, or Crop), and transfers them to your village. The whole process happens automatically with no menu hunting required.
Modal Handling
After clicking on a resource item, a transfer dialog appears. TBot2 handles this interaction smoothly, clicking the transfer button and waiting for the action to complete before moving on.
State Refresh After Transfer
Once hero resources are used, TBot2 navigates back to your village and refreshes its understanding of your resource levels. Now it knows your updated totals and can proceed with the upgrade that was waiting.
Multi-Resource Support
Sometimes you're short on multiple resources at once, maybe wood and clay at the same time. TBot2 handles this gracefully, processing each shortfall in sequence during a single inventory visit. Complex situations, simple solution.

