mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-25 21:19:00 +01:00
Examine now shows if a head has had it's organs removed (#18598)
* wow look at this head i found in maints! * i dont steal code I swear * oops totally meant to fix this in the last commit
This commit is contained in:
@@ -575,7 +575,7 @@ Note that amputating the affected organ does in fact remove the infection from t
|
||||
/obj/item/organ/external/attackby(obj/item/I, mob/user, params)
|
||||
if(I.sharp)
|
||||
add_fingerprint(user)
|
||||
if(!contents.len)
|
||||
if(!length(contents))
|
||||
to_chat(user, "<span class='warning'>There is nothing left inside [src]!</span>")
|
||||
return
|
||||
playsound(loc, 'sound/weapons/slice.ogg', 50, 1, -1)
|
||||
|
||||
@@ -228,6 +228,11 @@
|
||||
var/sec_facial_colour = "#000000"
|
||||
var/f_style = "Shaved"
|
||||
|
||||
/obj/item/organ/external/head/examine(mob/user)
|
||||
. = ..()
|
||||
if(!length(contents))
|
||||
. += "<span class='warning'>There is nothing left inside!</span>"
|
||||
|
||||
/obj/item/organ/external/head/remove()
|
||||
if(owner)
|
||||
if(!istype(dna))
|
||||
|
||||
Reference in New Issue
Block a user