Diseases

Adds diseases, prescriptions and medicaments for them.

By Blt950

Modules

Hooks hooks
cwDiseases plugin

Commands

Registers the admin command /CharGetDisease of the Diseases plugin, which tells the player the disease stored in the target character's diseases character data.
Registers the admin command /CharSetDisease of the Diseases plugin, which sets the target character's diseases character data to one of the diseases in cwDiseases.stored, where none cures the character.

Items

Defines the Cough Syrup medical item (cough_syrup) of the Diseases plugin, which cures a cough when it is drunk or given to the player being looked at with its Give action.
Defines the Eye Surgery Kit medical item of the Diseases plugin, sold to holders of the Q heavy medicaments flag, which is applied to the player being looked at and cures their blindness or colour blindness.
Inhaler item
Defines the Inhaler medical item (ingall) of the Diseases plugin, which cures its user's pneumonia one to two minutes after use; its custom action for treating the player being looked at is listed under another name than the Give its handler reacts to, so only self-use has an effect.
Defines the Medical Penlight item of the Diseases plugin, a reusable diagnostic tool that tells its user whether the player being looked at is blind or colour blind.
Defines the Pack of Activated Charcoal medical item (activated_coal) of the Diseases plugin, which cures gastritis 30 to 60 seconds after it is swallowed or given to the player being looked at with its Give action.
Defines the Pack of Allergy Tablets medical item (allergy_tablet) of the Diseases plugin, which cures an allergy 30 to 60 seconds after it is given to the player being looked at with its Give action, while swallowing it oneself cures gastritis instead.
Defines the Pack of Antibiotics medical item (antibiotics) of the Diseases plugin, which cures fever, cough and pneumonia and restores health when it is swallowed or given to the player being looked at with its Give action.
Defines the Pack of Probiotics medical item (probiotics) of the Diseases plugin, which cures diarrhea when it is swallowed or given to the player being looked at with its Give action.
Defines the Pack of Sorbents medical item (sorbent) of the Diseases plugin, which cures diarrhea and restores health when it is swallowed or given to the player being looked at with its Give action.
Defines the Paracetamol medical item (paracetamol) of the Diseases plugin, which cures a fever when it is swallowed or given to the player being looked at with its Give action.
Defines the Potassium Cyanide item (fast_green_liquid) of the Diseases plugin, a fast-acting lethal poison sold to FACTION_MPF that gives its user, or the player being looked at through its Inject action, the fast_deathinjection disease.
Defines the Sleeping Pills (Non-prescription) medical item (snotbad) of the Diseases plugin, which sets the Fatigue character data to 100 and cures insomnia with a one in two chance of a relapse six minutes later, when it is swallowed or given to the player being looked at with its Give action.
Defines the Sleeping Pills (Prescription) medical item (snot) of the Diseases plugin, which cures insomnia and sets the Fatigue character data to 100 when swallowed, or to 0 when given to the player being looked at with its Give action.
Defines the Special Diet Ration medical item (special_ration) of the Diseases plugin, a food item with a hunger value of 40 that cures gastritis and restores health when it is eaten or given to the player being looked at with its Give action.
Defines the Syringe of Alomorphine item of the Diseases plugin, an antidote sold to FACTION_MPF that cures the slow lethal injection (slow_deathinjection) of its user, or of the player being looked at through its Inject action, but has no effect on the fast one.
Defines the Syringe of Strychnine item (green_liquid) of the Diseases plugin, a slow lethal poison sold to FACTION_MPF that gives its user, or the player being looked at through its Inject action, the slow_deathinjection disease.
Defines the Thermometer item of the Diseases plugin, a reusable diagnostic tool that tells its user the temperature of the player being looked at, which is high when they have a fever.