mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-18 18:44:48 +01:00
Showing brain part deux
This commit is contained in:
@@ -389,6 +389,10 @@
|
||||
if(display_gloves)
|
||||
msg += "<span class='warning'><b>[src] has blood running from under [t_his] gloves!</b></span>\n"
|
||||
|
||||
var/datum/organ/external/head/H = get_organ("head")
|
||||
if(H && H.brained)
|
||||
msg += "<span class='warning'><b>[src]'s skull is crushed and the brain is exposed to the air!</b></span>\n"
|
||||
|
||||
for(var/implant in get_visible_implants(1))
|
||||
msg += "<span class='warning'><b>[src] has \a [implant] sticking out of their flesh!</span>\n"
|
||||
if(digitalcamo)
|
||||
|
||||
@@ -1426,3 +1426,12 @@ mob/living/carbon/human/yank_out_object()
|
||||
var/obj/effect/decal/cleanable/blood/writing/W = new(T)
|
||||
W.message = message
|
||||
W.add_fingerprint(src)
|
||||
|
||||
/mob/living/carbon/human/proc/expose_brain()
|
||||
var/datum/organ/external/head/H = get_organ("head")
|
||||
if(H)
|
||||
H.brained=1
|
||||
h_style = "Bald"
|
||||
drop_from_inventory(head)
|
||||
update_hair()
|
||||
update_body()
|
||||
@@ -797,11 +797,7 @@ This function completely restores a damaged organ to perfect condition.
|
||||
owner.visible_message("\red The top of \the [owner]'s skull breaks, exposing the brain help within.", \
|
||||
"\red <b>Unbearable pain hits you as the top of your skull breaks and exposes your brain!</b>", \
|
||||
"\red You hear a sickening crack.")
|
||||
brained = 1
|
||||
owner.h_style = "Bald"
|
||||
owner.drop_from_inventory(owner.head)
|
||||
owner.update_hair()
|
||||
owner.update_body()
|
||||
owner.expose_brain()
|
||||
|
||||
/****************************************************
|
||||
EXTERNAL ORGAN ITEMS
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
user.visible_message("\blue [user] has cut through [target]'s skull open with \the [tool].", \
|
||||
"\blue You have cut through [target]'s skull open with \the [tool].")
|
||||
target.brain_op_stage = 2
|
||||
target.expose_brain()
|
||||
|
||||
fail_step(mob/living/user, mob/living/carbon/human/target, target_zone, obj/item/tool)
|
||||
user.visible_message("\red [user]'s hand slips, cracking [target]'s skull with \the [tool]!" , \
|
||||
|
||||
Reference in New Issue
Block a user