Oxygen tank

From The Cataclysm: Dark Days Ahead Wiki
Jump to navigation Jump to search
; oxygen tank
General
Materials steel / plastic
Volume 1.5 liters
Weight 5 lbs or 2.268 kg
As a Tool
Function OXYGEN_BOTTLE
Ammo (start/max) (24 / 24)
Ammo Type 1
Duration 0 turns
Other
Price 60 $
As a Melee Weapon
Bash Dmg 10
Cut Dmg 0
To Hit -4
 A tool. 



 This is tank of compressed medical oxygen with a regulator and mask. Commonly used in emergency situations, it provides immediate relief for asthma attacks or smoke inhalation, and can provide a brief burst of energy. 

Notes

OXYGEN_BOTTLE iuse as of 02/09/2016 removes smoke, asthma, and winded effects while adding or increasing the stimulant effect:

int iuse::oxygen_bottle(player *p, item *it, bool, const tripoint& )
{
    p->moves -= 500;
    p->add_msg_if_player(m_neutral, _("You breathe deeply from the %s"), it->tname().c_str());
    if (p->has_effect( effect_smoke)) {
        p->remove_effect( effect_smoke);
    } else if (p->has_effect( effect_asthma)) {
        p->remove_effect( effect_asthma);
    } else if (p->stim < 16) {
        p->stim += 8;
        p->pkill += 2;
    }
    p->remove_effect( effect_winded);
    p->pkill += 2;
    return it->type->charges_to_use();
}

Changes