This is a simple mod that increases the range of your crafting stations build ability depending on their levels. You can also set the default value for a level 1 crafting station (vanilla is 20). This also makes the secondary benches (Stonecutter or Artisans Table) to inherit the range of the parent stations (Workbench or Forge)
Other user's assetsAll the assets in this file belong to the author, or are from free-to-use modder's resources
Upload permissionYou are not allowed to upload this file to other sites under any circumstances
Modification permissionYou must get permission from me before you are allowed to modify my files to improve it
Conversion permissionYou are not allowed to convert this file to work on other games under any circumstances
Asset use permissionYou must get permission from me before you are allowed to use any of the assets in this file
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 are not allowed 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
This author has not credited anyone else in this file
Changed the event that's used to change the station size, this event doesn't require any specific tools to be equipped.
Version 1.4.1
Fixed an issue with getting the closest bench, was basing it on the player position instead of the benches position, this would cause child benches (Stonecutter or Artisans Table) range to break sometimes
Version 1.4
Fixed an error when you had 2 parent benches (Workbench or Forge) in range it would only upgrade 1 of the 2
Made it change the size of the net version of the staiton which means when 1 player upgrades the bench size it will do it for all players (MP friendly obviously)
Version 1.3.0
Fixed an error if you deleted the work bench while it was trying to apply the new distance
Made it so child benches (Stonecutter or Artisans Table) go back to the default range when the parent benches (Workbench or Forge) are destroyed
Code optimisations
Version 1.2.1
Made it so secondary stations (Stonercutter and Artisans Table) inherit the parent stations (Workbench and Forge) range due to these benches only having 1 level
Added config options for the inheritance
Version 1.1
Made it so crafting stations were searched for when you had a hammer out instead of having to be in range of the original stations build range
Added SearchRange config option
Added EnableMod config option
Version 1.0
Initial Release
Donations
No donations accepted
Crafting Stations Level Based Range This is a simple mod that increases the range of your crafting stations build ability depending on their levels. You can also set the default value for a level 1 crafting station (vanilla is 20). This also makes the secondary benches (Stonecutter or Artisans Table) to inherit the range of the parent stations (Workbench or Forge)
Manual Installation To install this mod, you need to have BepInEx. After installing BepInEx, extract CraftingStationLevelRange.dll into games install "\Valheim\BepInEx\plugins"
Config Before the config file is generated, you must run the game with the mod installed. The config file is located at "\Valheim\BepInEx\config\smallo.mods.craftingstationlevelrange.cfg"
There are serveral config options available;
EnableMod enables or disable the mod
DefaultRange is the range you can set for a level 1 crafting station (vanilla value is 20 and so is the default config option)
IncreaseAmount is the range at which you want the range to increase with each level (default is 10)
SearchRange is the range to search for crafting stations while holding a hammer. Warning: larger numbers may potentially cause lag, only increase the number if your stations will ever get above this build range.
ParentInheritance is to allow secondary Crafting Stations (Stonecutter or Artisans Table) to inherit the range of their parent stations (Workbench or Forge) if they are within range
InheritanceAmount is the amount to multiply the inheritance value by. You may want the secondary station to have a lesser value. (Example: 0.5 would be 50% the amount of the IncreaseAmount variable)
If you have any suggestions, feel free to let me know!