Mod Details

Pharmacist

Pharmacist 1.0.2

Created by Bubblefarts

259 Downloads

SPT 3.11.4 Compatible

Upgrade your pharmaceutical needs

Latest Version 1.0.2
SPT 3.11.4

Updated Oct 7, 2:37 AM

138.83 KB

Version Notes

Fixed handling Items with multiple categories, new and modded items should now be supported and multiplied by one category only. Fixed Blacklist to work as intended and as a pseudo category choice for items with multiple categories.

This download is externally hosted.
Always scan for viruses.

This mod is based off of INFMEDS-Update BY WispsFlame 1.2.0.

Bubble-Pharmacist — Configuration Reference

This document describes the configuration keys and defaults used by the mod.

Purpose

  • The mod changes item uses/HP, updates prices when applicable, scales trader barter requirement counts, and updates hideout crafting recipe requirements.

Current config (values from config/config.json)

  • logItemsWithModifiedUses (boolean)

    • Example value: true
    • When true the mod prints verbose logs about which items, traders, and recipes were modified.
  • barterScaleMode (string — “both” | “currency” | “items”)

    • Example value: "both"
    • Controls the barter mode, it affects the offers you see in the trader’s inventory:
      • "both" — scale both currency-type and item-type barter requirements (subject to currencyTpls / itemTpls whitelists).
      • "currency" — only scale currency-type requirements. Dollars, Roubles, Euros, Bitcoins and Gpcoins.
      • "items" — only scale item-type requirements.
  • changeCrafts (boolean)

    • Example value: true
    • When true the mod updates hideout recipes for items whose uses were changed.
  • changeStims / changeMedkits / changeMedical / changeDrugs (boolean)

    • Example values: all true
    • Enable modifications for each item category. When enabled, items with that category uses/HP scaled according to the corresponding multiplier (unless they are blacklisted or inf* is enabled).
  • infDrugs / infStims / infMedkits / infMedical (boolean)

    • Example values: all false
    • When true, that category of items will receive a large use/HP value (effectively infinite uses) instead of being multiplied by a configured multiplier.
  • stimUsesMultiplier (number)

    • Example value: 10
    • The multiplier applied to stimulators when enabled.
  • medkitHpMultiplier (number)

    • Example value: 2
    • The multiplier applied to medkits when enabled.
  • medicalUsesMultiplier (number)

    • Example value: 2
    • The multiplier applied to medical items when enabled.
  • drugUsesMultiplier (number)

    • Example value: 2
    • The multiplier applied to drugs’ when enabled.
  • blacklisted_stims / blacklisted_medkits / blacklisted_medical / blacklisted_drugs

    • Items with more than one category will choose one category based on my whims. If you want to manually chose a category for an item, just blacklist the itemId on the corresponding blacklist
    • Morphine is “544fb3f34bdc2d03748b456a” and it is considered both a stim and a medical item. Adding “544fb3f34bdc2d03748b456a” to blacklisted_stims will now make Morphine be considered a medical item.
    • To fully blacklist an item with multiple categories it must be added to all categories, IE adding Morphine to both stims and medical blacklist will fully blacklist Morphine.
    • Example values (from config):
      • blacklisted_stims: ["648c1a965043c4052a4f8505"]
      • blacklisted_medkits: ["5755356824597772cb798962","5e99711486f7744bfc4af328","5e99735686f7744bfc4af32c"]
      • blacklisted_medical: []
      • blacklisted_drugs: []
    • These are tpl ids that the mod will skip when applying use/HP adjustments (typically quest or special-case items).
  • currencyTpls (string[])

    • Example value: [ "5449016a4bdc2d6f028b456f", "569668774bdc2da2298b4568", "5696686a4bdc2da3298b456a", "59faff1d86f7746c51718c9c", "5d235b4d86f7742e017bc88a" ]
    • A whitelist of currency tpl ids used to detect currency-type barter requirements. When empty, the mod treats currency detection more generically depending on barterScaleMode.
  • itemTpls (string[])

    • Example value: [] (empty)
    • A whitelist of item tpl ids used to detect item-type barter requirements. When empty, the mod treats non-currency barter entries as items by default (depending on barterScaleMode).

Troubleshooting

  • If you don’t see the mod’s logs when SPT starts, confirm that logItemsWithModifiedUses is true in the config.
Version 1.0.2
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

138.83 KB

136 Downloads

Fixed handling Items with multiple categories, new and modded items should now be supported and multiplied by one category only. Fixed Blacklist to work as intended and as a pseudo category choice for items with multiple categories.

Version 1.0.1
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

17.24 KB

33 Downloads

Barter recipes are now affected by the corresponding multiplier. Hideout recipes are now affected by the corresponding multiplier. Better logging

Version 1.0.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

13.31 KB

90 Downloads

Initial release

No Addons Yet

This mod doesn't have any addons yet.

hellchickens *

Fun point: Morphine injector is a “drug” and “syringe”, so it has x10 as syringe and then x2 as drug. Also same for glucose injector from Consumables galore mod (which is drug and syringe too). So I suppose you need to check that each ID isn’t processed more than one time or smth like that. At least for syringes. Also would be nice if u add option for different multiplier for prices per category, disjointed from uses

1 Like

“blacklisted_drugs”: [ “544fb3f34bdc2d03748b456a”, “683288d79ddbff8c2519a49e” ], isn’t working as expected from category blacklist as it doing global blacklist and that 2 syringes are not processed in any category and have default stats

1 Like

I made a special case for morphine and it should only consider the stim multiplier. Next update I’ll try to add a check for any other drug and arbitrary assing only one category. And I’ll double-check the blacklist so that they work as intended.

0 Likes
hellchickens *

Sup bro, good mod, though there is a little logic hole: there is no multiplier for barter. As it was 5 juice boxes for propital - so it is regardless chosen multiplier. For craft is the same, though I suppose it’s kinda ok…

1 Like

I ran out of time and left barters and crafts untouched. Maybe for an update I’ll look into it,

0 Likes
Notice: This mod may make permanent changes to your profile, and may not be removable without starting a new profile. More information.

Details