Fixes lung rupturing

Adds changelog

Shamelessly steals HarpyEagle's code
This commit is contained in:
Yoshax
2016-08-08 15:47:53 +01:00
parent 9177ab31cc
commit 8e2edd03f7
6 changed files with 60 additions and 4 deletions

View File

@@ -23,4 +23,11 @@
owner.drip(10)
if(prob(4))
spawn owner.emote("me", 1, "gasps for air!")
owner.losebreath += 15
owner.losebreath += 15
/obj/item/organ/internal/lungs/proc/rupture()
var/obj/item/organ/external/parent = owner.get_organ(parent_organ)
if(istype(parent))
owner.custom_pain("You feel a stabbing pain in your [parent.name]!", 1)
parent.bruise()