Permanent brain exposure fix

A fix too the permanent brain exposure glitch, now brain exposure can be
fixed by setting the skull
This commit is contained in:
Bram961
2014-06-26 12:13:01 +02:00
parent 0210182cb2
commit 32db2665a4
3 changed files with 11 additions and 2 deletions
@@ -1480,6 +1480,14 @@
update_hair()
update_body()
/mob/living/carbon/human/proc/unexpose_brain()
var/datum/organ/external/head/H = get_organ("head")
if(H)
H.brained=0
update_hair()
update_body()
/mob/living/carbon/human/canSingulothPull(var/obj/machinery/singularity/singulo)
if(!..())
return 0
@@ -1665,4 +1673,4 @@
return threatcount
/mob/living/carbon/human/canBeHandcuffed()
return 1
return 1
@@ -262,7 +262,7 @@ proc/get_damage_icon_part(damage_state, body_part)
var/datum/organ/external/head/head = part
if(head.brained==1)
brain_showing = 1
else brain_showing = 0
if(part.status & ORGAN_DESTROYED)
icon_key = "[icon_key]0"
+1
View File
@@ -97,6 +97,7 @@
user.visible_message("\blue [user] sets [target]'s skull with \the [tool]." , \
"\blue You set [target]'s skull with \the [tool].")
affected.stage = 2
target.unexpose_brain()
fail_step(mob/living/user, mob/living/carbon/human/target, target_zone, obj/item/tool)
var/datum/organ/external/affected = target.get_organ(target_zone)