Other user's assetsAll the assets in this file belong to the author, or are from free-to-use modder's resources
Upload permissionYou can upload this file to other sites but you must credit me as the creator of the file
Modification permissionYou are allowed to modify my files and release bug fixes or improve on the features so long as you credit me as the original creator
Conversion permissionYou can convert this file to work with other games as long as you credit me as the creator of the file
Asset use permissionYou are allowed to use the assets in this file without permission or crediting me
Asset use permission in mods/files that are being soldYou are not allowed to use assets from this file in any mods/files that are being sold, for money, on Steam Workshop or other platforms
Asset use permission in mods/files that earn donation pointsYou must get permission to earn Donation Points for your mods if they use my assets
Author notes
This author has not provided any additional notes regarding file permissions
File credits
Some of the tool switch codes copied from Automate Tool Swap I Switch I Select (1.6) (https://www.nexusmods.com/stardewvalley/mods/21050). Some are not copied but used for reference. The main algorithm are not copied.
Donation Points system
Please log in to find out whether this mod is receiving Donation Points
Download this mod and unzip it into Stardew Valley/Mods.
Run the game using SMAPI.
How to use
Tool Assembly:
A wand can change to every tools
An integration of all tools
A Swiss Army Knife
Will get one for free when the save is created
The tools will be auto switched to the most suitable one when you use them.
For example, if you are holding a transformed hoe to cut a tree, it will be auto switched to an axe if any axe exists
You can disable this by editing config or use key binds.
Note that Tool Assembly CANNOT transform to any tool in the beginning. You need to use the Tool Configuration Table. Put the tools you want into the inventory via TCT. For other mods, like Tractor, you don't need to add any additional tools to their config. The transformed tool is identical to the original tool in code.
Tool Configuration Table:
A table to configure the Tool Assembly
Can be crafted using chest + wood + iron bar
Recipe unlocked in the beginning
Will get one for free when the save is created
Wand Crystal:
A magical wand crystal allows you to configure Tool Assembly anywhere anytime without the use of Tool Configuration Table!
To use it, place it in the Tool Assembly's inventory
Initially Tool Assembly is empty meaning it cannot change to anything. Hold a Tool Assembly and right-click a Tool Configuration Table (if no wand crystal) or some random tile (if has wand crystal) to open a chest-liked menu. (it actually is a chest menu, I reused the code). Put tools to the menu, and close it. Now you can use right arrow and left arrow to transform the tool. It can be transformed to all tools you put into the menu. This menu only accept tools, weapons, and wand crystal. Other mod may use API to add more acceptable non-tool items.
API
Compatibility
Works with Stardew Valley 1.6 on Linux/macOS/Windows.
Works in single player and theoretically in multiplayer, and split-screen mode
Fun Fact If you somehow look at my code, you will find that I added a...LOCATION! yes a location. You may think, huh, how is tool related to location? Well, in fact, tool IS related to location! And I think the location's name is very self-explanatory! By the way, the name of the location is------