Repair Max Durability 1.2.2

Please do not ask when mod authors will update their mods to 3.9.X
Bothering mod authors will lead to warnings and repeat offenses will lead to eventual bans.

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 Leatherman Multitool 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

1) 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)


2) 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


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)

  • Version 1.2.2

    Compatible with SPT 3.9.0-3.9.4

  • Version 1.2.1

    Compatible with AKI 3.8.0+

    • Fixed armor plates being able to be repaired
  • Version 1.2.0

    • Added trader buy limit and stock to config file
    • Support for adding trades to multiple traders if desired
  • Version 1.1.0

    • Fix Repair window dropdown menu showing Spare firearm parts as a usable repair kit
    • Compatibility fix for ODT-ItemInfo
    • Add config file
      • All parameters (price, trader, loyalty level etc.) are configurable in the /egbog-RepairMaxDurability/config/config.json file
  • Version 1.0.0

  • Good afternoon, is it possible to make a similar mod for repairing armor in the same way.

    • Already replied to this question


      "i see why you would want it, however with armor plates being a thing I really don't see a justification for it. most plates are really not repairable irl and are meant to be a one time use thing. with guns there are many replaceable components that are meant to be common wear items replaced after a certain amount of time/rounds fired"

  • 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.


    • well I haven't been able to reproduce this. what version are you using? 1.2.2 on 3.9.0?


      I would wager it has to do with crafting the repair kit bc for whatever reason the property "Resource" as mentioned in your error log doesn't exist when you craft it. However I manually set that property as a failsafe so theoretically this error shouldn't be happening

    • Hi, thanks for your reply.


      I don't know the details, but it seems that the one I purchased from mod trader was the one that crashed.


      When I purchased it again from the mechanic, I found that it did not crash.


      I am very sorry for the trouble.

    • ohh i see, which mod trader was it? ill look into and see if i can add compatibility for modded traders

    • KOKO HEKMATYAR

      I used this mod.

  • @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

    • It works for any 3.8.x version so far, 3.8.0+ makes more sense so I changed it to that

  • не работает мод у меня. не с тем оружием что было, ни с тем что купил после установки и портил в рейде. жаль

  • 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?

    • Nope and should be fixed in the latest version

    • Tnx for fast fix

  • 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

    • 1) I'm not sure I understand what you mean. My mod only functions when you specifically drag and drop the repair kit onto a weapon. Using it as a kit in the Repair window treats it like the 1000rp Weapon Repair Kit and will repair it the same as every other time but causes some bugs like a 0 RP kit


      Furthermore the high trader cost is there to influence you to craft it instead of buy it. It is nearly half the cost to make it in the hideout. Also paying ~5-10RP (~500-1000 roubles) from the Weapon repair kit plus the 1 use from my kit is still significantly cheaper than re-buying the entire weapon itself.


      Initially the durability didn't matter prior to using the kit however I want the Weapon Repair Kits to retain their usefulness in tandem with my kit


      2) Currently it's all hardcoded but since you mention it, I'll add a config file for it

    • Hello egbog. Thanks for the explanation, and for creating a config file for the changes.

    • no worries

    • @egbog, Thanks for the config changes in v1.1.0. Tested and can now "easily" change the Trader, Loyalty Level, Item Price and usage amount. Works perfectly. Still can ONLY buy 5 from the trader, but that is fine. Thanks so much for adding this change.

  • Good day. Mod version 1.0.0 does not work as it should or I do not understand something: when dragging parts to the weapon on the bottom right of the error "Item not clean enough to install new parts". The repair window, fortunately, does not open.When dragged onto a weapon with 100% durability it writes "Item already at maximum durability", which does correspond to the state of the weapon.
    Could you please tell me what this could be related to? I'm assuming I'm using the spares on an insufficiently broken weapon (the maximum durability of the weapon I applied them to was in the 95-99 range)

    • 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.

      Thumbs Up 1
    • Oh, I apologize, I initially didn't fully understand exactly how this works. Yes, that's correct, the mod works as it should. Thank you very much!
      Should my earlier comment be deleted so as not to mislead people?

      Heart 1
    • no no, leave it. when people have the same issue hopefully they will see this before making another comment

      Thumbs Up 1
  • Liking it a lot, make one for armor if possible.

    • i see why you would want it, however with armor plates being a thing I really don't see a justification for it. most plates are really not repairable irl and are meant to be a one time use thing. with guns there are many replaceable components that are meant to be common wear items replaced after a certain amount of time/rounds fired

      Heart 1
  • SVM already has this, i'm always able to repair my weapons to 100%, armor however is the real problem.

    • the settings SVM change aren't related to this mod. this is for weapons that are already below 100 maximum durability. SVM prevents repair damage

  • this mod can't working for me.i don't know why , when i drag the kit onto my weapon,the repair window jist auto pop up,and unable to repiar it's max durability.

    • could be a mod conflict, can you post your modlist?

    • i have the same issue, dragging the repairkit on a weapon only pops up the repair window, no notification or sound, max dura isn't repaired


      Server mods



      Client mods



    • you're not dragging the Weapon Repair Kit, right?


      so far i've found no incompatibilities with the mods in your modlist

    • Did I misunderstand how to use it?
      Made a video to showcase the issue:

      https://streamable.com/k9rajl

    • ok, interesting. just double check you installed it correctly, your bepinex plugins folder has MaxDura.dll?


      Can you run it with no other mods just to test it works by itself on your system?


      Also post your server log pls

  • this is great, i personally hate weapon durability in EFT. but this isnt working for me. the repair kit has 5 durability/uses and when i drag it onto the weapon (88 durability) it says it already has full durability, even though its not. and it does this for every weapon

    • are you using any other mods? this mod explicitly checks if max durability is at 100.0 and returns that message if it is at 100

  • we horses need repeir animehappyhop

  • Great idea and good to see someone has made a mod to do this. I always would fix my guns back to max durability editing the profile directly, but this way is much nicer and allows some immersive way to do it through the hideout.


    Another odd design choice in BSGs quest for realism that your guns cannot ever be repaired back to good as new. :S

    Heart 1
  • MY MAN

    Heart 1