BetterMeds Revised 2.3.6

Some modifications to meds

# BetterMedsRevised

This mod is based on an older version "BetterMeds" Better Meds => Thanks to DonutxLord for writing the previous version


Update the meds to have shorter use time and more capacity with modifications.


All the the items have 1 sec use time which can be configured in the config file if you don't want instant healing


Updated items:

  • Healing meds (AI2, Salewa, IFAK) has 4000hp => can be changed in config file
  • Splint and ALU Splint can be used 10 times => can be changed in config file
  • Bandage and Army bandage can be used 10 times => can be changed in config file
  • Hemostat, CAT, and Esmarch can be used 10 times => can be changed in config file
  • Survive surgery kit and CMS can be used 50 times => can be changed in config file
  • All painkiller meds (pills, stims, vaseline, golden star...):
  1. Can be used 20 times => can be changed in config file
  2. Duration is changed to 5000 sec for each use => can be changed in config file
  3. The Energy and Hydration consumption is lowered to -1 for both on each usage
  • Can you make every injector stim's duration and their uses configureable? Because adding the item ids to the itemid config doesn't work.

  • Compatible with boosted meds?

    • I checked that mod, it has similar functionality to this so pick either one cause one will override the other if you use them together

  • would it be possible to add the 4 main medkits to the item list? the Salewa, Ifak, Afak, cheese, and the car?

  • I've been trying to config the med items with my own values, but keep getting a syntax error when trying to launch the SPT server. It specifies that the error is located right at the closing bracket of the "salewa" edit. (line 49)

    Any help would be much appreciated

    I've added basically my entire config file down below.

    (and yes, I have added the item IDs to the itemIDs file)

    • The thing about json files in the config folder is that you can't add a comma on the last item in an object so for your edit for example you have to remove the "," from the "capacity": 300, and repeat the same for the other lines next as well

    • Thanks for the help.

      But when I remove the "," it gives me a TypeError saying that "capacity" isn't defined

    • can you show the new update config file

    • Of course, here you go.

  • How do i change the healing items config seperately? I want to make the salewa to 800 and the car to 400.. etc


    EDIT: i figured it out!!!

    Thumbs Up 1
    • how did you end up doing it? I was looking at it for a while and couldn't seem to figure it out

    • @Goopletss

      Not sure if there's an easier way but just real quick I added these lines to itemIds.json

      "544fb45d4bdc2dee738b4568": "salewa", - salewa obv

      "590c661e86f7741e566b646a": "item_meds_automedkit", - car

      "590c678286f77426c9660122": "item_meds_medkit_ifak", - ifak

      "60098ad7c2240c0fe85c570a": "item_meds_afak" - afak

      Then put these lines in config.json


      "salewa": {

      "capacity": 1000

      },

      "item_meds_automedkit": {

      "capacity": 300

      },

      "item_meds_medkit_ifak": {

      "capacity": 600

      },

      "item_meds_afak": {

      "capacity": 800

      }


      I set healingItemsCapacity to 200 so that it will set the cheese to 200 without having to add it to the json files

    • I couldnt figure out how to put the code in, it just kept creshing after i tried loading the server. how does it look on your end?

  • Will this be getting an update for 3.6 by chance?

  • I totally love the mod <3

    Will it be updated to 3.5.8?

    • It should be still working with latest version

    • Even if the console says that the mod is not compatible with the version and errors can occur?

      Sorry for asking...i'm quite new to SPT :S

    • I still use the same the mod even on my spt 3.5.8 and it's working.

      The compatibility warning is normal, you can ignore it


    • Okay, thanks!

  • Hi,


    First I gotta say I love your Mods and are some of the first I add, especially the food and drink one.


    Right, I want to learn how to create mods but it is thin on the ground and not a fast learner so I wanted to ask you ..... Is there a way of combining two semi used med kits ie two half used AFAKs to make a full one?


    Keep the awesome work up and please, as others have said, keep your mods updated as they are amongst some of the best on here..... atleast that is my opinion, bias maybe but still.


    Kind regards,


    Dave

    • Hello,


      Thanks for the nice words, I try to keep the mods updated for as long I as continue to play eft :)


      As for the request, I don't think it could be done the server side which means I have to modify the actual game to make it stack meds because that logic doesn't exist in the game so I have to write it myself. Unfortunately, I'm not sure how to do that, so I don't know how long it will take me or if I can even do it

  • Excellent mod, please always update your work.

    thanks.

    😎👍

    Thumbs Up 1
  • Can i add my own meds to the config, via the same method you used? Create them with the ID and name in the ID file, then call to them in the config? Is there a reason the Mule is in the config, and not in the itemid file? Not picking, honestly wondering, and want to add the couple stims I use most. Thank you for your work. Its greatly appreciated

    • The mule is there because someone here requested to add longer duration for it, so I only added that one.

      As for adding new items to the itemIds.json, you can add other meds and you need their ID and name from the items.json in the AKI item template database.

      If you can tell me what you wanna do, I can help you with it more

      Thanks 1
    • This doesn't work :( I wanted to add all injectors, except Obdolbos and Obdolbos2, but they keep their default time.

  • The best thank you!
    Just one help please.
    All the meds i got (spawn with it or get from looting) comes with defaults values, but the max was expanded. Like as it is already used. Only the meds i buy are coming with the max value.

    Could u fix it, please? Or is something am i missing?
    Ty!!!!

    • Hello,

      The issue of the meds on AI pmcs/raiders etc... is not coming from this mod.

      I'm trying to find out what is causing it and I'll try to fix as soon as possible

  • Would be awsome if not only the painkiller stat duration was extended on stims

  • Just so you are aware, your package.json still have the version showing as 1.4.0. Great mod though


    "name": "BetterMedsRevised",

    "author": "Revingly",

    "version": "1.4.0",

    "license": "NCSA",

    "main": "package.js",

    "akiVersion": "2.2.1"

  • Could you add the MULE stim to this, I tried and kept getting errors, also would be nice to have a version where the use time is set to default for all items, don't like that the Surv kit is near instant lol

  • Thanks for not mentioning my name anywhere.