Selects the correct tool or item for you whenever you click something that requires it.
(Has Controller Support)
PLEASE READ THE CONFIG OPTIONS!!!
How it works: Just click whatever you want and it will select the correct item for it, the action will be performed at the same time as your click, like you were holding that item from the beggining, if the item is not found nothing happens. The items dont need to be on your hotbar, if it is in your inventory, it will work.
[size=4]Mod Config Options: (You can change it with the GenericModConfigMenu (RECOMMENDED) or manually in the config.json file)
underlined is default
- "Toggle On/Off Keybind" - CapsLock (Enable/Disable the mod)
- "Swap Tools Keybind" - LeftMouseButton (What keybind you will use to swap tools (Recommended: Key you use to break things))
- "Return to last item used" - MiddleMouseButton
- "Detection Method" - KBM/Controller) (KBM: will swap tool based on the object the cursor is pointing to; Controller: will swap tool based on where the player is looking at
- "Auto switch to last tool" - true/false (Whenever the mod swaps tools, after the action is completed, swaps back to previous item)
- "Switch to Hoe" - true/false (Selects the hoe when interacting with empty soil)
- "Prioritize Pickaxes Over WaterCan" - true/false (If true, when you are holding a pickaxe and use it on a dry planted soil, the mod wont swap for WaterCan)
- "Pickaxe Instead Of Scythe" - true/false (If true, when you try to break weeds(fiber) it will swap to your pickaxe instead of your Scythe)
- "Scythe for Grass" - true/false (If true, when you click on grass, it will switch to Scythe)
Items and things that makes the mod swap to them
- Axe- Any wood; Giant Crops
- Pickaxe- Any stone; Non-moving Crabs
- Hoe- Empty soil; Dig spots; Supply Crates
- Scythe- Weeds; Crops; Wilted Crops; Barrels
- WateringCan- Any water source; Unwatered Crops; Pet Bowls
- FishingRod- Any water outside of farm
- Milk Pail- Cows; Goats;
- Shear- Sheep; Rabbit
- MeleeWeapons- Monsters; Weeds; Barrels
- Ores- Furnaces
- Milk- Cheese Press
- Eggs- Mayonnaise Machine
- Trash- Recycling Machine
- Hay- Feeding Benchs in barns and coops
- Bait- Crab Pots
- Bone Fragments- Bone Mill Machine
[/size]
I just started playing the game and wanted a mod like this but i didnt found any, so i made it ?.
There is probably some things i havent gotten to yet, but when i do i will add them
Source code