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 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 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
AutoRepairBench - a simple mod for Car Mechanic Simulator 2021. Copyright (C) 2021 jeikobu__
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
File credits
This mod uses the library MelonLoader (https://melonwiki.xyz/#/). This library is available under the Apache 2.0 license, which can be obtained from http://www.apache.org/licenses/LICENSE-2.0.
Donation Points system
This mod is opted-in to receive Donation Points
Changelogs
Version 0.1.0
(This release changes the config file. Make sure to delete the old file before installing.)
Fixed: - issue where body repair did not work. Added: - automatic part scrapping. After pressing the hotkey, all of the scrappable parts will be turned into scraps with big bonus. By default, parts that can be repaired will not be scrapped; you can turn that off by setting "ShouldScrapRepairables" to true. You can also fine-tune which parts should be scrapped by changing "MinScrapPartCondition" and "MaxScrapPartCondition" values. - automatic part upgrade with scrap. By default, scraps are not taken from your account; you can turn upgrade costs by switching "ShouldTakeScraps" to true. - repair costs being handled. This is turned off by default; you can turn that on by setting "ShouldTakeMoney" to true. If you cannot afford repairing everything, the mod will attempt at fixing as much parts as possible. To avoid getting your repairable parts scrapped when you cannot afford the repair, make sure to keep "ShouldScrapRepairables" set to false (its default value).
Version 0.0.2
Fixed an issue where body repair notification popup said "Fixed parts". Signed the binary with a strong name.
Version 0.0.1
Initial version.
Requires MelonLoader (version 0.5.7) to function correctly. Follow the instructions on the website to install it before installing this mod. Make sure you are using MelonLoader v0.5.7 - versions 0.6 and newer are incompatible! If you are upgrading from 0.0.x, make sure to delete the old config file (AutoRepairBench.cfg) as the structure has changed!
Are you bored with the new repair bench minigame? ...Well, I was, and I had to do something about it, and this mod is the result.
This fully configurable MelonLoader mod allows you to:
fix all of the car and body parts,
lathe all of the brake discs,
balance all of the unbalanced wheels,
scrap all of the broken parts,
upgrade all of the parts to three stars
with just one key press (F7 by default).
Since 0.1.0, you can decide if you want to be billed for the actions that cost money or scraps in the vanilla game. Since 0.2.0, you can configure keys for scrapping, repairing and upgrading separately. Additionally, you can now repair all items, also the ones that are unrepairable by default. If you have any 1% bugged items in your inventory, this version will fix it after the first run. Please save your game right after you fix your items for the first time.
Installation: After MelonLoader is installed, copy the DLL file to <CMS2021_Dir>/Mods, where <CMS2021_Dir> is the directory you have your game installed at. Configuration: After your first start, a config file will appear in the Mods folder:
[Config] # This will be false after your first run. If you encounter 1% bugged items again, set this to True, restart your game and fix your items. ShouldFixDentBug = false
[Repair] # Defines the bind key for part repairs. F7 by default. See Unity - Scripting API: KeyCode (unity3d.com) for more details. RepairBindKey = "F7" # If true, all car parts will be fixed after pressing the BindKey. ShouldFixItems = true # If true, all body parts will be fixed. ShouldFixBodyParts = true # If true, all brake discs will be lathed. ShouldLatheBrakeDiscs = true # If true, all unbalanced wheels will be balanced. ShouldBalanceWheels = true # If true, money will be taken for repairing parts. ShouldTakeMoney = false # If true, only the items that are fixable in regular benches will be fixed. If false, the rules below will apply. VanillaBenchRules = true # Defines the minimum car part condition for repair. MinFixCarPartCondition = -1 # Defines the maximum car part condition for repair. MaxFixCarPartCondition = 99 # Defines the comma-delimited blacklist of car part IDs that should not be repaired. Note that these have to be the original, in-game IDs (like license_plate_rear or czapkaAmorPrzod_1). FixCarPartBlacklist = [
] # Defines the minimum body part condition for repair. MinFixBodyPartCondition = -1 # Defines the maximum body part condition for repair. MaxFixBodyPartCondition = 99 # Defines the comma-delimited blacklist of body part IDs that should not be repaired. Note that these have to be the original, in-game IDs (like car_atom330-engine_cover). FixBodyPartBlacklist = [ ]
[Scrapping] # Defines the bind key for scrapping. F7 by default. See Unity - Scripting API: KeyCode (unity3d.com) for more details. ScrappingBindKey = "F7" # If true, all parts that can be scrapped will be scrapped with big bonus. ShouldScrapParts = true # If false, only parts that cannot be repaired will be scrapped. If true, all parts that are scrappable will be scrapped. ShouldScrapRepairables = false # Defines minimum condition for the part to be scrapped. MinScrapPartCondition = -1 # Defines maximum condition for the part to be scrapped. MaxScrapPartCondition = 65
[Upgrade] # Defines the bind key for upgrading. F7 by default. See Unity - Scripting API: KeyCode (unity3d.com) for more details. UpgradeBindKey = "F7" # If true, all upgradeable parts in your inventory will be upgraded to maximum level (three stars). ShouldUpgradeParts = true # If true, scrap will be deducted from your account for the upgrades. ShouldTakeScraps = false Source Code @ Github.com