Brute Damage for brain removal

Added 75 brute damage when head is sawed through + some new text for it, and 25 when brain is removed, this fixes an issue in which blood would not be tracked behind dead debrained bodies, and makes a little more sense
This commit is contained in:
golfer45
2013-06-17 08:11:56 -03:00
parent cf5e2aac90
commit 0a70ab9acb
+11 -2
View File
@@ -11,6 +11,14 @@
time = 64
var/obj/item/organ/brain/B = null
/datum/surgery_step/saw/success(mob/user, mob/living/carbon/target, target_zone, obj/item/tool, datum/surgery/surgery)
if(ishuman(target))
var/mob/living/carbon/human/H = target
H.apply_damage(75,"brute","head")
user.visible_message("<span class='notice'>[user] saws open [target]'s head!")
return 1
/datum/surgery_step/extract_brain/preop(mob/user, mob/living/carbon/target, target_zone, obj/item/tool, datum/surgery/surgery)
B = getbrain(target)
if(B)
@@ -25,8 +33,9 @@
B.transfer_identity(target)
target.internal_organs -= B
if(ishuman(target))
var/mob/living/carbon/human/H = target
var/mob/living/carbon/human/H = target
H.update_hair(0)
H.apply_damage(25,"brute","head")
user.attack_log += "\[[time_stamp()]\]<font color='red'> Debrained [target.name] ([target.ckey]) INTENT: [uppertext(user.a_intent)])</font>"
target.attack_log += "\[[time_stamp()]\]<font color='orange'> Debrained by [user.name] ([user.ckey]) (INTENT: [uppertext(user.a_intent)])</font>"
log_attack("<font color='red'>[user.name] ([user.ckey]) debrained [target.name] ([target.ckey]) (INTENT: [uppertext(user.a_intent)])</font>")
@@ -39,4 +48,4 @@
/datum/surgery/brain_removal/alien
name = "alien brain removal"
steps = list(/datum/surgery_step/saw, /datum/surgery_step/incise, /datum/surgery_step/retract_skin, /datum/surgery_step/saw, /datum/surgery_step/extract_brain)
species = list(/mob/living/carbon/alien/humanoid)
species = list(/mob/living/carbon/alien/humanoid)