Stardew Valley
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.5.6 on Linux/Mac/Windows.
    • Works with Generic Mod Info Menu 1.11.0
    • Works with Smapi 3.18


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 diggable field, artifact spots (worm)
  • 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
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.

Freeze bug
Sometimes when using tool you can be stuck in this tool animation. There is a workaround: take scythe or weapon to your hand and use it. Then you should be able to move again.

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

HoeSelect - true: mod will select hoe when you target ground. I recommend to set false.
IfNoneToolChooseWeapon - true: mod will select weapon/scythe when none tool was chosen. Works better with HoeSelect=false, 
RideHorseCursor - 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.
PickaxeOverWareringCan - true: mod will select pickaxe on hoed dirt, instead of watering can. Can be used to collect clay. Works better with HoeSelect=true. I recommend to set false.

My thoughts
I didn't tested it much in practice (just checked if it works as I programmed), but I think that it is more effective to not hold activation key all the time. More productive would be switching between tools after several seconds. It shouldn't be useful anywhere but on farm while clearing, digging and watering fields and in mines in levels with barrels or ice crystals. Default swapping into weapon might be very useful, since weapons is needed to fight with monsters in mines and holding it doesn't provide any energy downsides and it is better than bare hand that can be filled by random item.

Source code
My other mods