Genetics, Wounds, & Diseases
Relevant source files
The following files were used as context for generating this wiki page:
- tgui/packages/tgui/interfaces/IDCBook.tsx
- tgui/packages/tgui/interfaces/InfuserBook.tsx
- tgui/packages/tgui/interfaces/DnaConsole/DnaConsoleEnzymes.jsx
- tgui/packages/tgui/interfaces/Pandemic/Virus.tsx
- tgui/packages/tgui/interfaces/MedicalKiosk.jsx
- tgui/packages/tgui/interfaces/DnaConsole/constants.ts
- html/changelogs/archive/2020-06.yml
- code/modules/mod/adding_new_mod.md
The Genetics, Wounds, and Diseases system manages biological modifications, physical trauma, and infectious agents. Genetics allows for the manipulation of DNA to grant mutations or infuse creature qualities into subjects. The disease system tracks viral and bacterial infections, their spread, and their symptoms. Wounds represent specific physical injuries to body parts that require specialized treatment beyond general damage healing.
Genetics and DNA Manipulation
Genetics centers on the modification of Unique Enzymes (UE) and Unique Identity (UI) through the DNA Console. Technicians use pulse emitters to modify gene blocks and store results in genetic makeup buffers.
DNA Infusion
DNA Infusion integrates dead creature DNA into a subject to mutate organs into a genetic slurry. This process grants new capabilities but causes side effects. The infusion source is destroyed during the procedure.
| Mutant Tier | Name | Description |
|---|---|---|
| Tier 0 | Lesser Mutant | Basic species and cosmetics; always available. |
| Tier 1 | Regular Mutant | Grants bonuses for DNA infusion; common in shifts. |
| Tier 2 | Greater Mutant | Stronger upsides/downsides; requires lower tier unlocks. |
| Tier 3 | Abberation | Vatgrown specimens with anomalous or deadly qualities. |
Sources: tgui/packages/tgui/interfaces/InfuserBook.tsx:39-74, tgui/packages/tgui/interfaces/InfuserBook.tsx:143-157
Genetic Console Operations
The DNA Console facilitates the transfer of enzymes, identity, and features. Users print these modifications into injectors or transfer them directly to a connected scanner.
The diagram shows the data flow from a subject in a scanner to modification and storage.
Sources: tgui/packages/tgui/interfaces/DnaConsole/DnaConsoleEnzymes.jsx:134-210, tgui/packages/tgui/interfaces/DnaConsole/DnaConsoleEnzymes.jsx:14-118
Diseases and Symptoms
Diseases are classified by their form, agent, and transmission method. The system tracks statistics like resistance and stealth to determine how a disease behaves and how easily medical equipment detects it.
Virus Statistics
Advanced viruses possess specific traits that define their danger level and progression speed.
| Trait | Description |
|---|---|
| Resistance | Protection from cures and natural recovery. |
| Stage Speed | The speed of symptomatic progression. |
| Stealth | Difficulty of detection by medical equipment. |
| Transmission | Determines the method of spread (e.g., Airborne, Contact). |
| Severity | The overall danger the disease poses. |
Sources: tgui/packages/tgui/interfaces/Pandemic/Virus.tsx:75-103, tgui/packages/tgui/interfaces/IDCBook.tsx:10-21
Symptom Classification
Symptoms are categorized by level, indicating their rarity. Each symptom can have specific thresholds that trigger effects and required cures for remedy.
The diagram represents the relationship between a virus and its component symptoms.
Sources: tgui/packages/tgui/interfaces/Pandemic/Symptom.tsx:13-75, tgui/packages/tgui/interfaces/IDCBook.tsx:112-148
Medical Diagnosis and Wounds
Medical kiosks and analyzers provide detailed scans of patient health, focusing on damage types, blood levels, and specific wounds.
Damage Types
Health is tracked across four primary damage categories:
- Brute: Physical trauma from impacts or sharp objects.
- Burn: Damage from heat, chemicals, or electricity.
- Oxygen: Suffocation damage.
- Toxin: Internal poisoning or organ failure.
Sources: tgui/packages/tgui/interfaces/MedicalKiosk.jsx:112-135, html/changelogs/archive/2020-06.yml:181-185
Wound Mechanics
Wounds are specific injuries to fleshy body parts occurring when they sustain high damage. Healing a wound often leaves a scar. Sharp weapons specifically cause cut wounds that lead to bleeding. Gauze is applied to specific limbs to staunch blood flow rather than stopping it entirely.
Sources: html/changelogs/archive/2020-06.yml:171-180, tgui/packages/tgui/interfaces/MedicalKiosk.jsx:153-157
Medical Scanning Flow
Medical kiosks provide multi-stage analysis for a fee (default 100 credits).
The sequence shows the interaction between a patient and the kiosk for health diagnostics.
Sources: tgui/packages/tgui/interfaces/MedicalKiosk.jsx:22-110
Specialized Pathologies
Certain conditions require specific diagnostic criteria and treatments.
Adrenal Crisis
An adrenal crisis is a specialized disease state. It is characterized by severe physiological stress and requires specific medical intervention to stabilize the patient.
Sources: code/datums/diseases/adrenal_crisis.dm
Neurological Health
Scanning focuses on brain damage, brain health status, and specific brain trauma. Hallucinogenic status and blood alcohol content are tracked via chemical analysis.
Sources: tgui/packages/tgui/interfaces/MedicalKiosk.jsx:172-186, tgui/packages/tgui/interfaces/MedicalKiosk.jsx:214-230
MODsuit Neuron Healer
Advanced medical modules in MODsuits, such as the Neuron Healer, can release waves that heal brain damage for all individuals within a 5-meter range.
Sources: code/modules/mod/adding_new_mod.md:143-176