Oxygen tank

From The Cataclysm: Dark Days Ahead Wiki
Revision as of 04:25, 10 February 2016 by Mattamue (talk | contribs) (Created page with "{{Tool |name=oxygen tank |glyph=<nowiki>;</nowiki> |color=c_ltgray |volume=6 |weight=2268 |bash=10 |cut=0 |tohit=-4 |rarity= |price=6000 |mat1=steel |mat2=plastic...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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