CleverRaven / CleverRaven/Cataclysm-DDA

Oxygen tank shouldn't stop asthma attack

Open
#32,273 2 comments 0 reactions 0 assignees View on GitHub
<Bug> Items / Item Actions / Item Qualities Mechanics: Effects / Skills / Stats
Dominant language
C++
Stars
13.1k
Forks
4.6k
Avg merge
2d 1h
Merged PRs (30d)
205

Description

# Describe the bug

It may not be a **bug** as is, but still - IRL oxygen can't be used to **stop** asthma attack.

There's already a nice issue about asthma - https://github.com/CleverRaven/Cataclysm-DDA/issues/31343 - I just want to throw my hat into a ring.

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC1120758/

>The British Thoracic Society's asthma guidelines advise oxygen as first line treatment in hospital for all patients in cases of acute severe asthma. Ideally oxygen should be given before and **concurrently with a nebulised bronchodilator** to maximise alveolar oxygenation in areas of poor ventilation and should then be continued after nebulisation

>The guidelines for treatment of acute severe asthma in general practice imply that general practitioners should be prepared to treat acute asthma of all severities but **do not advise the use of oxygen for children or insist on its use in adults**

And GINA guidelines (official guidelines, pocket version)

https://ginasthma.org/wp-content/uploads/2019/04/GINA-Severe-asthma-Pocket-Guide-v2.0-wms-1.pdf

Say the same. The main line of therapy of severe asthma includes inhaled corticosteroids, beta-2-agonists (i.e. salbutamol), etc etc.

National recommendations

https://health.gov.ie/wp-content/uploads/2016/01/Asthma_Summary_v3.pdf

>The primary therapies for the management of an attack to relieve airflow obstruction and hypoxemia include:
>Repetitive administration of rapid-acting inhaled β2 agonist bronchodilator via pMDI with
spacer or O2 driven nebuliser
>Early introduction of systemic glucocorticosteroids
>Oxygen supplementation

>Many patients with acute severe asthma are hypoxemic (low blood oxygen). Supplementary
oxygen should be given urgently to hypoxemic patients, using a face mask

So, IRL asthma attack (so severe it will be lethal if left utreated - the type we have in the game) cannot be **stopped** by oxygen inhaling. Sure, oxygen can be used and IS used as a **secondary** or **temporary** solution, but no way it _can stop an attack by itself_. Maybe in some cases, if we consider some attacks non-lethal, but nothing more.

# Steps To Reproduce

Steps to reproduce the behavior:
1. Have asthmatic trait and oxygen tank
2. Wait until asthma attacks
3. Character breathes oxygen and stops the attack.

# Expected behavior

Only Salbutamol or similar inhaler stops the attack. Breathing oxygen is a temporary solution with a severe debuff to stats and/or speed.

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue with the asthmatic trait and an oxygen tank, then trace the asthma-attack handling and oxygen-use entry points. Done means oxygen no longer ends an attack by itself, while the appropriate inhaler treatment still does; add or update coverage if the relevant tests are found.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
game-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.