
Literally just adds an item that repairs the max durability of weapons
Mk-18 picked up off a level 2 PMC
76/76 durability
flea blacklisted
who gunna use this.jpg
just repair it lol o wait thanks BSG we can’t
Obtaining
Spare Firearm Parts can be crafted at Workbench lvl 1 using a Toolset (keep), 1 #FireKlean gun lube and 1 Weapon Parts. They can also be purchased from Mechanic LL2 and Flea.
Usage
⚠️You must follow both steps below for the mod to function properly⚠️
-
Fully repair the weapon you want to fix using either traders or the vanilla Weapon Repair Kit. For example repair 51.2/87.7 -> 87.7/87.7 (minus random degradation)
-
Drag the Spare Firearm Parts onto your weapon. You should see a notification popup and hear a sound depending on if the repair was successful or a failure.
Configuration
All parameters (price, trader, loyalty level etc.) are configurable in the /egbog-RepairMaxDurability/config/config.json file
It is possible to add multiple trades and multiple crafts, all with adjustable parameters.
Multiple trades -
The default config includes two trades, one for Mechanic that is enabled and one for Prapor that is disabled. You can edit the Prapor trade directly and enable it or use it as a template to add more. Simply copy and paste the block, not forgetting to add a comma.
"Traders": [
{
"Name": "Mechanic",
"Enabled": true,
"Price": 100000,
"LoyaltyLevel": 2,
"BuyLimit": 5,
"Stock": 5
},
{
"Name": "Prapor",
"Enabled": false,
"Price": 100000,
"LoyaltyLevel": 1,
"BuyLimit": 50,
"Stock": 2000
}
]
Multiple crafts -
The default config only has one craft defined. Tool
is an optional item that is required but not consumed during the craft. Item
is the consumed ingredient and areaType: 10
refers to the workbench. You can make another craft like so:
"Crafts": [
{
"default craft here..."
},
{
"Enabled": true,
"CraftTime": 69420,
"AmountCrafted": 100,
"Requirements": [
{
"type": "Tool",
"templateId": "your_mongoid_here",
},
{
"type": "Item",
"templateId": "your_mongoid_here",
"isFunctional": false,
"count": 10
},
{
"type": "Area",
"areaType": 10,
"requiredLevel": 3
}
]
}
]
Known Issues
None so far
Installation
Installation directions: Extract using 7zip to the root of your SPT directory as shown below
Demonstration Video
(Yes, it’s SAIN, but the same concept applies to all of my mods, I’m not making mod-specific extraction example videos)
FIKA
Compatibility with FIKA is unknown pending testing. Feel free to try it. If you’re using a headless client, you should put the dll only on the client you play on, not the headless
Rant
Durability burn upon repair is a neglected feature in live EFT that only serves to artificially increase malfunction frequency. Aside from that, it has no other purpose or remedy.
This mod attempts to introduce a lore-friendly alternative to stripping attachments off of uselessly damaged weapons and vendoring the weapon, only to purchase the exact same weapon and put the same attachments on.
The simplest solution is to use the existing framework for weapon repairs and allow the repair to target the maximum durability instead. Lore-wise, a repair kit containing those crtical components that are then swapped out on the chosen weapon makes perfect sense and almost should be implemented in live EFT itself, albeit in a different fashion.
0.0 MB
373 Downloads
Compatible with SPT 4.0.0
- Fixed oversight in server injection order
0.0 MB
878 Downloads
Compatible with SPT 4.0.0
- 4.0.0 update
- Rewrote pretty much everything from scratch
- Better error logging
1.6K Downloads
Compatible with SPT 3.11
- Long overdue compatibility patch for ODT-ItemInfo
4.1K Downloads
Compatible with SPT 3.11
3.2K Downloads
Compatible with SPT 3.10
3.5K Downloads
Compatible with SPT 3.9.0-3.9.8
Details
-
GUID
com.egbog.repairmaxdurability
-
Category
-
License
-
Source Code
Client/Server: https://github.com/egbog/Repair-Max-Durability
-
Latest Version VirusTotal Result
https://www.virustotal.com/gui/file/393231ee09b5a6711fc28624917cc7c6ccfa7010a7a5e2fd6ee712fe96178714
@mod author i keep getting the error below in my server if I start it with one of the kits in my stash when I do the removeModItemsFromProfile thing only thing gone is the kit, done it twice so far to confirm i was correct. using 4.0 one
“Failed to load profile with ID ‘68ecd3da1f17a01dd46fa725’. The profile will be marked as invalid. SPTarkov.Server.Core.Exceptions.Items.InvalidModdedItemException: Item: 68f0a63a30840416d46bce1f found in profile that does not exist in items db. You WILL experience errors, this can be due to using an items mod and removing the mod without deleting the modded items from your inventory. DO NOT USE THIS PROFILE. Open SPT_Data\Server\configs\core.json, edit ‘removeModItemsFromProfile’ to be true. This will allow the server to edit your profile and hopefully remove the bad items”
Traders don’t fix up to 100% durability if the damaged gear and weapons have red mark in durability, only up to that mark! It doesn’t let me move the bar up to 100% to repair! Not even with repair kits!
Попробовал, работает но с ошибкой,баг инвентаря в убежище,придется ждать обновления до 3.11
Кто пробовал на 3.11.??
Good afternoon, is it possible to make a similar mod for repairing armor in the same way.
Hello.
In 3.9.0, when I used this mod to repair a weapon that lost its durability and restore it completely, it crashed and the game was terminated.
Do you know anyone who can tell me what is causing this?
Postscript.
I had other mods installed, so I deleted them all and installed this mod, but it crashed the same way.
TypeError: Cannot read properties of undefined (reading ‘Resource’)
TypeError: Cannot read properties of undefined (reading ‘Resource’)
at Repair.ambeeb (G:\SPTTarkov\user\mods\egbog-RepairMaxDurability\src\repair.ts:44:23)
at Object.action (G:\SPTTarkov\user\mods\egbog-RepairMaxDurability\src\mod.ts:46:66)
at DynamicRouterMod.handleDynamic (C:\snapshot\src\di\Router.ts:69:61)
at HttpRouter.handleRoute (C:\snapshot\src\routers\HttpRouter.ts:74:69)
at HttpRouter.getResponse (C:\snapshot\src\routers\HttpRouter.ts:46:24)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at SptHttpListener.getResponse (C:\snapshot\src\servers\http\SptHttpListener.ts:149:22)
at IncomingMessage.<anonymous> (C:\snapshot\src\servers\http\SptHttpListener.ts:74:38)
TypeError: Cannot read properties of undefined (reading ‘Resource’)
TypeError: Cannot read properties of undefined (reading ‘Resource’)
at Repair.ambeeb (G:\SPTTarkov\user\mods\egbog-RepairMaxDurability\src\repair.ts:44:23)
at Object.action (G:\SPTTarkov\user\mods\egbog-RepairMaxDurability\src\mod.ts:46:66)
at DynamicRouterMod.handleDynamic (C:\snapshot\src\di\Router.ts:69:61)
at HttpRouter.handleRoute (C:\snapshot\src\routers\HttpRouter.ts:74:69)
at HttpRouter.getResponse (C:\snapshot\src\routers\HttpRouter.ts:46:24)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at SptHttpListener.getResponse (C:\snapshot\src\servers\http\SptHttpListener.ts:149:22)
at IncomingMessage.<anonymous> (C:\snapshot\src\servers\http\SptHttpListener.ts:74:38)
@egbob, Hello. See the mod was updated to show support for SPT-AKI 3.8.3. On the [Versions] Download for 1.2.1 (Apr 17, 2024), you added “Compatible with AKI 3.8.3+”. Since the mod didn’t change since working on 3.8.0, does it no longer work on 3.8.0, and needs 3.8.3+, or should that comment say “Compatible with AKI 3.8.0+”? Love this mod. Thanks
не работает мод у меня. не с тем оружием что было, ни с тем что купил после установки и портил в рейде. жаль
Hello
Thank you for this great mod.
I have a question
That’s when i drag and drop spare weapon parts on bulletproof panels and all the durable equipment,
Change the maximum durability to 100 (good for me😂)
Is this usage intended?
Hello egbog. Loving the mod. Couple of questions.
1) Regarding your Known Issue in version 1.0.0. Not sure why it is an “issue”? From a damaged weapon 91.5/96.7 (100) choosing [REPAIR] I was able to choose the “Spare firearm parts” option (Along with options Weapon repair kit | Prapor | Skier | Mechanic) and have the weapon repaired to 100/100 (100) for the cost of 1 RP unit. This seems to make sense to me if I choose to use one of the 5 uses (I just paid 121,001 Roubles for) instead of either some of the 1000 RP from the Weapon repair kit or paying one of the 3 Traders.
Known Issues - Spare Firearm Parts are visible is the Repair window, letting you repair a gun for just the 5 resource points it contains. This will act like a regular repair kit and will waste your Parts. This will be fixed in the next update!
2) I see the Mechanic cost for a 5/5 RP “Spare firearm parts” is set at 121,001 Roubles. If we would like change that cost (or the Trader Level, or the Trader, or the number of allowed usages (i.e. /55), where would we do that? Edit which file(s)? Thanks