0 of 0

File information

Last updated

Original upload

Created by

lolmaj

Uploaded by

lolmaj

Virus scan

Safe to use

About this mod

Mod will automatically select right tool to interact with the object in your hit location.

Requirements
Permissions and credits
Changelogs
Donations
Mod will automatically select right tool to interact with the object in your hit location.
Install
  • Install the latest version of SMAPI.
  • Download this mod and unzip it into Stardew Valley/Mods.
  • Run the game using SMAPI.
  • Change config options. Config file will be created after opening the game.

    Compatibility
    • Works with Stardew Valley 1.6.8 on Linux/Mac/Windows.
    • Works with Generic Mod Info Menu 1.12.0
    • Works with Smapi 4.0.8
How it works
If player holds left Ctrl or toggles F5 is directed to the tile and hovers cursor over it, mod will choose the right tool from player's toolbox that can interact with it. Mod chooses :
  • Axe for stump, log, tree, twig or giant crop, twig bug
  • Pickaxe for stone, meteorite, 2x2 rock, rock crab
  • Melee Weapon for weeds, ice crystal, mine barrel, grass, crops harvestable only by scythe and dead crops (prioritizing scythe on farm and greenhouse)
  • Hoe for digable field, artifact spots (worm), garlic and seed spots
  • Watering can for water sources (including well) or hoed fields on farm and greenhouse and lava in Volcano Dungeon
  • Fishing rod for water outside farm
  • Pan if there is shimmering lights nearby
  • Shears for sheep that are ready to harvest
  • Milk pail for cows and goats ready to milk
  • When player hovers oven any machine that can process items mod will select item that can be put inside

Mod will prioritize first tool in toolbox, if you have multiple tools that can do the same (e.g. from another player). Scythe on farm is an exception.

Config options
Activation Key (LCtrl) - when hold, mod is activated
Toggle Key (F5) - press to turn on/off mod
Here is list of keys https://stardewvalleywiki.com/Modding:Player_Guide/Key_Bindings 

Hoe Select - true: mod will select hoe when you target ground. I recommend to set false
If None Tool Choose Weapon - true: mod will select weapon/scythe when none tool was chosen. Works better with Hoe Select=false
Ride Horse Cursor - true: mod will use cursor location to determine which tool should be chosen while riding horse (tractor), false: mod will use tool hit location to  determine which tool should be chosen while riding horse (tractor). I recommend to set true, but false might be useful for controller
Pickaxe Over Watering Can - true: mod will select pickaxe on hoed dirt, instead of watering can. Can be used to collect clay. Works better with Hoe Select=true. I recommend to set false
Cursor Over Tool Hit Location - Switches to use cursor location to determine which tool should be chosen. Set it true if you use Ranged Tools or Combat Controls mods
Check Whole Backpack - False - mod will check only toolbar for items to swap to. True - mod will check whole backpack instead


My thoughts
I didn't fully tested all the cases that I coded. I just checked if it works as I was programming. If you find any bug or edge case that I skipped please let me know :)

Source code
My other mods