Mod Details

Medical Attention

Medical Attention 4.0.3

Created by jbs4bmx

609 Downloads

SPT 4.0.11 Compatible

"He's dead, Jim!" is no longer part of your vocabulary.

Latest Version 4.0.3
SPT 4.0.11

Updated Jan 4, 4:43 PM

25.95 KB

Version Notes

Changes

This release includes a major internal refactor of MedicalAttention, focused on stability, consistency, and long‑term maintainability. Several long‑standing issues reported by users have been resolved as a result of this rewrite.

✨ Major Improvements

  • Fully modularized medical item logic using dedicated helper classes.
  • Unified and consistent handling of medkits, pills, bandages, splints, topicals, surgical kits, tourniquets, and stimulators.
  • Greatly improved maintainability, auditability, and future‑proofing.

⚡ Dynamic Stimulator Handling

  • Replaced hard‑coded stim lists with automatic detection based on the Stimulator parent category.
  • Morphine (the only stim under the Drugs parent) is now explicitly included.
  • Removed per‑stim MaxHpResource assignments — all stims now use the global AllInjectors.Uses value.
  • Fully supports modded stimulators without requiring manual TPL updates.

🩹 Corrected Medical Effect Logic

  • Standardized application of:
    • Light bleeding fixes
    • Heavy bleeding fixes
    • Fracture fixes
    • Destroyed limb fixes
  • Ensures consistent behavior across all medkits and surgical kits.

🧼 Config Cleanup & Validation

  • Removed unused config sections (Ebudal, ModInjectors).
  • Added missing config fields (e.g., AddFixFracture for Surv12 surgical kit).
  • Ensured all config options map directly to helper methods.

🔧 Helper Method Fixes

  • Added missing helper methods:
    • ApplyFractureFix
    • ApplyDestroyedPartFix
    • ItemResizeHelper.ResizeItem
  • Eliminated all missing‑method errors and restored intended functionality.

🛠 Stability & Predictability

  • Fixed several silent failure points from previous versions.
  • Improved null‑safety and item property validation.
  • Ensured all item modifications only occur when explicitly enabled in config.

📜 Logging & Diagnostics

  • Added clear logging for every item type updated.
  • Improved visibility into stim detection and configuration application.

🔮 Future‑Proofing

  • Dynamic detection ensures compatibility with:
    • New SPT medical items
    • Modded stimulators
    • Database changes in future SPT releases

Virus Total Results

Link: Results Page

This download is externally hosted.
Always scan for viruses.

Details