RedM documentation

Murphy's Doctor

Configuration

Nurse


This page covers shared/config_nurse.lua: the nurse NPC that treats light injuries for a fee when no doctor is around, and the dispensary treasury (Config.Nurse.Treasury) that collects the nurse's fees and the paid invoices.

How it works

  • Each dispensary can have a nurse NPC. A player who talks to the nurse is treated for every minor and moderate injury, for a price per injury.
  • Severe injuries and diseases are never treated by the nurse ("beyond my skills"): they need a real doctor.
  • If a doctor is within DoctorDetectionRadius of the nurse, the nurse refuses and points to the help call: the doctor running the practice comes first. With Config.Duty.GateServices = true, only a doctor on duty blocks the nurse (see Duty).
  • The player pays in cash. The fee goes to the dispensary treasury when it is enabled, otherwise it is simply removed from the economy.
  • The nurse spawns when a player comes within RenderDistance and despawns beyond.

Settings

Key Default Description
Config.Nurse.Enabled true Enables the nurse NPCs. Turning it off does not disable the treasury.
Config.Nurse.DoctorDetectionRadius 150.0 Metres around the nurse (the dispensary), not around the player. A doctor within this radius blocks the nurse. 0 = the nurse is always available.
Config.Nurse.RenderDistance 80.0 Metres. The NPC despawns beyond this distance.
Config.Nurse.InteractDistance 2.5 Metres from the nurse to show the prompt.
Config.Nurse.PromptType "auto" "murphy_interact", "native" or "auto" (murphy_interact when it runs, native prompts otherwise).
Config.Nurse.PromptKey nil Control hash of the native prompt. nil = Config.Interactions.PromptKey (E by default, see General).
Config.Nurse.PricePerSeverity.minor 2 Dollars per minor injury treated.
Config.Nurse.PricePerSeverity.moderate 5 Dollars per moderate injury treated. Do not add severe: the nurse never treats those.
Config.Nurse.Labels {} Optional text overrides. Empty = the texts of shared/locales/<lang>.lua (nurse.*). Keys: promptTitle, doctorNearby, noTreatableInjury, severeOnly, notEnoughMoney (with %d for the price), healSuccess (with %d for the price, then %d for the number of injuries).

Example: a patient with a moderate cut and a minor bruise pays $7 and both injuries are healed. If they also have a severe fracture, the fracture stays for the doctor.

Nurse NPCs

Config.Nurse.NPCs is a list, one nurse per dispensary. Each entry:

Field Description
id Unique id of the nurse.
dispensaryId id of the dispensary in Config.Dispensaries. The fees go to that dispensary's treasury.
label Optional name shown on the prompt. Default: nurse.npc_default in the locale.
model Ped model.
outfit Outfit variation of the model (a number). Optional.
coords Position of the NPC (vec3).
heading Orientation in degrees.

Shipped nurses:

id Dispensary Model Outfit
nurse_sd 1, Saint Denis Hospital cs_sddoctor_01 0
nurse_bw 2, Blackwater Clinic u_m_m_valdoctor_01 5
nurse_rh 3, Rhodes Clinic cs_creoledoctor 0
nurse_sb 4, Strawberry Clinic u_m_o_bht_docwormwood 0
nurse_va 5, Valentine Clinic a_m_m_uppertrainpassengers_01 3
lua
table.insert(Config.Nurse.NPCs, {
id = "nurse_an",
dispensaryId = 6,
label = "Nurse Mary",
model = "cs_sddoctor_01",
outfit = 0,
coords = vec3(0.0, 0.0, 0.0), -- stand on the spot in game and copy your position
heading = 90.0,
})

Dispensary treasury

Config.Nurse.Treasury enables a till per dispensary (murphy_doctor_treasury table, keyed by the dispensary id). It is filled by:

  • the nurse's fees,
  • paid invoices, after the municipal tax (see Billing).

It can pay the doctors' salary when Config.Duty.PaySource uses the treasury (see Duty).

Members check the balance at the dispensary's duty point (the archives point, or the board when there is none), and see the balance, the last movements and the unpaid invoices on the board. Money is withdrawn in cash:

  • at the duty point: by the chief only, or by any member when WithdrawChiefOnly = false;
  • at the board: by the chief only.

Each withdrawal can be logged to Discord (treasury log, see Metabolism).

Key Default Description
Config.Nurse.Treasury.Enabled true Enables the treasury. When false, nurse fees are removed from the economy and paid invoices go straight to the doctor.
Config.Nurse.Treasury.WithdrawChiefOnly true true = only a chief can withdraw at the duty point. false = any member can.
Config.Nurse.Treasury.MinWithdraw 1 Smallest withdrawal, in dollars.
Config.Nurse.Treasury.InteractDistance 3.0 Metres from the duty point to show the treasury option.
Config.Nurse.Treasury.PromptKey 0x84543902 (H) Key of the native treasury prompt, when murphy_interact is not used.
Config.Nurse.Treasury.PromptType nil "murphy_interact", "native" or "auto". nil = inherit Config.Duty.PromptType, then Config.Archives.PromptType, then Config.Dispensary.PromptType.

Related: Billing · Duty · Dispensaries · Help call · Database


Last updated: November 20, 2026