Moved ruptured lung effects into lung processing

This commit is contained in:
Chinsky
2013-03-15 18:28:44 +04:00
parent 38a8246994
commit 8ec33904dc
2 changed files with 12 additions and 9 deletions
+9
View File
@@ -46,6 +46,15 @@
name = "lungs"
parent_organ = "chest"
process()
if(is_bruised())
if(prob(2))
spawn owner.emote("me", 1, "coughs up blood!")
owner.drip(10)
if(prob(4))
spawn owner.emote("me", 1, "gasps for air!")
owner.losebreath += 5
/datum/organ/internal/liver
name = "liver"
parent_organ = "chest"