Mod Details

INFMEDS-Update BY WispsFlame

INFMEDS-Update BY WispsFlame 2.0.1

Created by WispsFlame

5.9K Downloads

SPT 4.0.6 Compatible

COMPATIBLEVERSION

Latest Version 2.0.1
SPT 4.0.6

Updated Nov 2, 6:50 AM

9.32 KB

Version Notes

Fix me too dummy to forgot put the file on the path :/ Fix the stim multiply not apply

This download is externally hosted.
Always scan for viruses.

Need InfineMeds? Here it is!

This is an updated version of the “INFMEDS” mod by sunglasses, compatible with SPT 3.10.0.

Version 2.0.1
Download Mod Version
SPT 4.0.6 +6 more
All Compatible SPT Versions:
4.0.6 4.0.5 4.0.4 4.0.3 4.0.2 4.0.1 4.0.0

9.32 KB

1.7K Downloads

Fix me too dummy to forgot put the file on the path :/ Fix the stim multiply not apply

Version 2.0.0
Download Mod Version
SPT 4.0.6 +6 more
All Compatible SPT Versions:
4.0.6 4.0.5 4.0.4 4.0.3 4.0.2 4.0.1 4.0.0

9.07 KB

183 Downloads

update to the 4.0.3 version(SPT keep fixing i just want upload the mod :/

Add Mutiplymode Make the blacklist config just use one of then

just want make the mod better can comment for me :D

Version 1.2.0
Download Mod Version
SPT 3.11.4 +4 more
All Compatible SPT Versions:
3.11.4 3.11.3 3.11.2 3.11.1 3.11.0

4.0K Downloads

Released Mar 16, 12:54 PM

Fika Compatibility Unknown

Update ~3.11

No Addons Yet

This mod doesn't have any addons yet.

IHateChoosing *

Noticed 2 things

1: Even when set to true, server says [WispsInfMeds] medkit Was Been Disabled On Inf!

2: Multiply Stims does not work, stims remain single use. StimUses works though.

Can anyone else confirm they have the same issue?

Thanks for the mod!

0 Likes

oh!? thanks for reply! i’ll find check it out!

0 Likes

i just seen the you say first question that thing you say “medkit was been disabled” is the AI-2 medkit got disabled (I suck at it can’t find how the hell to use the shortname :/) you can go config to remove that blacklist to watch :D

0 Likes
ThatDesGuy

I think you forgot to make a folder in /mods for the config folder and dll file.

1 Like

oh shoot maybe in that time i’m too tried :/ put in wrong file path…..

0 Likes
Mooshel

idk if i am doing something wrong but the mods not working

0 Likes

oh! Really i’ll check it out :ㄥ

0 Likes
Cas

The version 1.1.0 link is broken

0 Likes

every new version i always remove the old version link so sorry :ㄥ

0 Likes
Haltzman

Thank you for this mod

0 Likes
IdiotTurdle

Looks like this isn’t working on the morphine injector for some reason. All other injectors are working just fine I believe

0 Likes

morphine is kind of for single use pankiller so you maybe can change to use the Propital for the other choice

0 Likes

I was actually able to adjust the Mod,Js file to get morphine to work. Probably silly considering morphine isn’t super useful. But my tism forced me to try. Just added a new section based off of the other med types. and then adjusted the config file to only use morphine and not the other painkillers.

0 Likes
Noarch04

When I try to heal myself with stims or medkits, it does the animation and then gets stuck and won’t pull out a weapon and I have to restart the game to fix it. Is there a way to fix this?

0 Likes

i guess you install the “handnotbusy” this mod?
if that i guess right maybe it’s that mod make you stuck
i was play that many time not get stuck for

0 Likes

I tried removing the mod. It turned out that it was the dad gamers mod and not inf meds. My mistake

0 Likes

Ha Ha it’s fine glad you find the mod make you have troble

0 Likes
Bubblefarts

I don’t know much SPT modding but I added a few things and fixed the logs.

Added:

  • Ability to multiply the number of uses/hp of items so that medkits have different hp values and so on
  • Functionality with single use items, single use items have a value of 0 so multiplying by 0 is 0, so i fixed that
  • Server console log now is more readable and shows the changes to items.
  • Drug items are now also able to be multiplied

Changes:

  • Items are now multiplied instead of a set value
  • Config now sets multipliers

Tentative

  • Make price also multiplicative

“use strict”; var __createBinding = (this && this.__createBinding) || (Object.create ? (function (o, m, k, k2) { if (k2 === undefined) k2 = k; var desc = Object.getOwnPropertyDescriptor(m, k); if (!desc || (“get” in desc ? !m.__esModule : desc.writable || desc.configurable)) { desc = { enumerable: true, get: function () { return m[k]; } }; } Object.defineProperty(o, k2, desc); }) : (function (o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; })); var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function (o, v) { Object.defineProperty(o, “default”, { enumerable: true, value: v }); }) : function (o, v) { o[“default”] = v; }); var __importStar = (this && this.__importStar) || function (mod) { if (mod && mod.__esModule) return mod; var result = {}; if (mod != null) for (var k in mod) if (k !== “default” && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); __setModuleDefault(result, mod); return result; }; Object.defineProperty(exports, “__esModule”, { value: true }); // Generic const BaseClasses_1 = require(“C:/snapshot/project/obj/models/enums/BaseClasses”); const LogTextColor_1 = require(“C:/snapshot/project/obj/models/spt/logging/LogTextColor”); const config = __importStar(require(“../config/config.json“)); class Mod { mod; constructor() { this.mod = “Wisps-InfMeds-1.0.3”; } postDBLoad(container) { var stimMaxUses = 0; var medHp = 0; var medUsages = 0; var drugUsages = 0; const logger = container.resolve(“WinstonLogger”); const db = container.resolve(“DatabaseServer”); const tables = db.getTables(); const items = tables.templates.items; const locales = tables.locales.global; const random = Math.floor(Math.random() * 1000 + 1); // const random = 1000; if (random == 1000) logger.logWithColor(“[ InfMeds ] its a 1 in 1000 chance to get this message and since you recieved it that means your special“, LogTextColor_1.LogTextColor.MAGENTA); let loopedOverStims = 0; let loopedOverMedkits = 0; let loopedOverMedical = 0; let loopedOverDrugs = 0; logger.logWithColor(\[ InfMeds \] IMPROVING YOUR HEALTHCARE..., LogTextColor_1.LogTextColor.CYAN); for (const item in items) { const itemProps = items[item]._props; const itemId = items[item]._id; // STIMS CONFIG : SJ6s, Propitals etc if (config.changeStims) { if (items[item]._parent == BaseClasses_1.BaseClasses.STIMULATOR) { if (config.blacklisted_stims.includes(items[item]._id)) { logger.logWithColor(\[ InfMeds - Stims \] ${locales\["en"\]\[${itemId} ShortName\]} is blacklisted and will not get infinite uses, LogTextColor_1.LogTextColor.GRAY); continue; } if (config.infStims) itemProps.MaxHpResource = 999; else if (!config.infStims) { if (itemProps.MaxHpResource == 0) itemProps.MaxHpResource = 1; itemProps.MaxHpResource = itemProps.MaxHpResource * config.stimUsesMultiplier; stimMaxUses = itemProps.MaxHpResource; } if (config.logItemsWithModifiedUses) logger.logWithColor(\[ InfMeds - Stims \] ${locales\["en"\]\[${itemId} ShortName\]} now has ${stimMaxUses} uses, LogTextColor_1.LogTextColor.GRAY); loopedOverStims++; } } // MEDKIT CONFIG : Like Salewas etc if (config.changeMedkits) { if (items[item]._parent == BaseClasses_1.BaseClasses.MEDKIT) { if (config.blacklisted_medkits.includes(items[item]._id)) { logger.logWithColor(\[ InfMeds - Medkits \] ${locales\["en"\]\[${itemId} ShortName\]} is blacklisted and will not get infinite uses, LogTextColor_1.LogTextColor.RED); continue; } if (config.infMedkits) itemProps.MaxHpResource = 9999; else if (!config.infMedkits) { if (itemProps.MaxHpResource == 0) itemProps.MaxHpResource = 1; itemProps.MaxHpResource = itemProps.MaxHpResource * config.medkitHpMultiplier; medHp = itemProps.MaxHpResource; } if (config.logItemsWithModifiedUses) logger.logWithColor(\[ InfMeds - Medkits \] ${locales\["en"\]\[${itemId} ShortName\]} now has ${medHp} hp, LogTextColor_1.LogTextColor.GRAY); loopedOverMedkits++; } } // MEDs CONFIG : CMSs, Bandages etc if (config.changeMedical) { if (items[item]._parent == BaseClasses_1.BaseClasses.MEDICAL) { if (config.blacklisted_medkits.includes(items[item]._id)) { logger.logWithColor(\[ InfMeds - Medical \] ${locales\["en"\]\[${itemId} ShortName\]} is blacklisted and will not get infinite uses, LogTextColor_1.LogTextColor.RED); continue; } if (config.infMedical) itemProps.MaxHpResource = 999; else if (!config.infMedical) { if (itemProps.MaxHpResource == 0) itemProps.MaxHpResource = 1; itemProps.MaxHpResource = itemProps.MaxHpResource * config.medicalUsesMultiplier; medUsages = itemProps.MaxHpResource; } if (config.logItemsWithModifiedUses) logger.logWithColor(\[ InfMeds - Medical \] ${locales\["en"\]\[${itemId} ShortName\]} now has ${medUsages} uses, LogTextColor_1.LogTextColor.GRAY); loopedOverMedical++; } } // Drugs CONFIG : Analgin, Vaseline, etc if (config.changeDrugs) { if (items[item]._parent == BaseClasses_1.BaseClasses.DRUGS) { if (config.blacklisted_drugs.includes(items[item]._id)) { logger.logWithColor(\[ InfMeds - Medical \] ${locales\["en"\]\[${itemId} ShortName\]} is blacklisted and will not get infinite uses, LogTextColor_1.LogTextColor.RED); continue; } if (config.infMedical) itemProps.MaxHpResource = 999; else if (!config.infMedical) { if (itemProps.MaxHpResource == 0) itemProps.MaxHpResource = 1; itemProps.MaxHpResource = itemProps.MaxHpResource * config.drugUsesMultiplier; drugUsages = itemProps.MaxHpResource; } if (config.logItemsWithModifiedUses) logger.logWithColor(\[ InfMeds - Drug \] ${locales\["en"\]\[${itemId} ShortName\]} now has ${drugUsages} uses, LogTextColor_1.LogTextColor.GRAY); loopedOverDrugs++; } } } logger.logWithColor(\[ InfMeds \] FOUND AND MODDED THESE ITEMS, LogTextColor_1.LogTextColor.CYAN); logger.logWithColor(\[ InfMeds \] Modified ${loopedOverStims} stims to have x${config.stimUsesMultiplier} uses., LogTextColor_1.LogTextColor.CYAN); logger.logWithColor(\[ InfMeds \] Modified ${loopedOverMedkits} medkits to have x${config.medkitHpMultiplier} HP., LogTextColor_1.LogTextColor.CYAN); logger.logWithColor(\[ InfMeds \] Modified ${loopedOverMedical} medical items to have x${config.medicalUsesMultiplier} uses., LogTextColor_1.LogTextColor.CYAN); logger.logWithColor(\[ InfMeds \] Modified ${loopedOverDrugs} drug items to have x${config.drugUsesMultiplier} uses., LogTextColor_1.LogTextColor.CYAN); } } module.exports = { mod: new Mod() }; //# sourceMappingURL=mod.js.mapConfig.json

{ “changeStims”: true, “changeMedkits”: true, “changeMedical”: true, “changeDrugs”: true, “infStims”: false, “infMedkits”: false, “infMedical”: false, “infDrugs”: false, “stimUsesMultiplier”: 10, “medkitHpMultiplier”: 2, “medicalUsesMultiplier”: 2, “drugUsesMultiplier”: 2, “logItemsWithModifiedUses”: true, “blacklisted_stims”: [], “blacklisted_medkits”: [ “5755356824597772cb798962” ], “blacklisted_medical”: [], “blacklisted_drugs”: [] }Thank you for the great mod, these are just my edits and i figured people can use them if they want.

0 Likes

Oh God Thanks for Improve this Mod

Maybe One Day If They Comment they want
I will Update This Mod Make It Better

thanks for the reply

0 Likes
Lemon-Ru

А чё за мод что он делает?

0 Likes

Исходное сообщение InfMeds

0 Likes
Kaylightning

I would really like it if there was an option to multiply the price in addition to the uses… I would put 10 uses but they would be 10x more expensive too!

Thanks for the mod!

0 Likes

i just remake the mod to compatible the newer version

0 Likes

This was not a charge, it was just a tip for future updates if you want to implement it.

1 Like

Details