mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-12 23:53:47 +01:00
Buff to CPR:
- You can now heal someone with CPR who is has anywhere from -1 to -99 HP (was -1 to -40) - Doing CPR will now heal 7 HP per CPR instead of 5 - Doing CPR will now give the receiver a message that they're being helped - Putting someone into the cryo cell who is either asleep or has between -1 and -99 HP will give them a message. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1712 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -1445,7 +1445,7 @@
|
||||
src = null
|
||||
src = H.monkeyize()
|
||||
contract_disease(M.virus,1,0)
|
||||
|
||||
|
||||
return
|
||||
|
||||
/mob/living/carbon/human/attack_paw(mob/M as mob)
|
||||
@@ -2523,16 +2523,14 @@ It can still be worn/put on as normal.
|
||||
//SN src = null
|
||||
del(src)
|
||||
return
|
||||
if ((target.health >= -75.0 && target.health < 0))
|
||||
if ((target.health >= -99.0 && target.health < 0))
|
||||
target.cpr_time = world.time
|
||||
if (target.health >= -40.0)
|
||||
var/suff = min(target.oxyloss, 5)
|
||||
target.oxyloss -= suff
|
||||
target.updatehealth()
|
||||
if(target.reagents.get_reagent_amount("inaprovaline") < 10)
|
||||
target.reagents.add_reagent("inaprovaline", 10)
|
||||
var/suff = min(target.oxyloss, 7)
|
||||
target.oxyloss -= suff
|
||||
target.updatehealth()
|
||||
for(var/mob/O in viewers(source, null))
|
||||
O.show_message(text("\red [] performs CPR on []!", source, target), 1)
|
||||
target << "\blue <b>You feel a breath of fresh air enter your lungs. It feels good.</b>"
|
||||
source << "\red Repeat every 7 seconds AT LEAST."
|
||||
if("fuel")
|
||||
var/obj/item/weapon/fuel/S = item
|
||||
|
||||
Reference in New Issue
Block a user