Initial fixes

Changes interaction between stumps and items.

Conflicts:
	code/modules/organs/organ_stump.dm
This commit is contained in:
Kearel
2015-07-26 18:40:07 -05:00
committed by mwerezak
parent 77aab2ddc0
commit 4139a51946
2 changed files with 4 additions and 1 deletions

View File

@@ -41,7 +41,7 @@ This saves us from having to call add_fingerprint() any time something is put in
/mob/living/carbon/human/proc/has_organ(name)
var/obj/item/organ/external/O = organs_by_name[name]
return (O && !(O.status & ORGAN_DESTROYED) )
return (O && !(O.status & ORGAN_DESTROYED) && !O.is_stump())
/mob/living/carbon/human/proc/has_organ_for_slot(slot)
switch(slot)

View File

@@ -22,3 +22,6 @@
/obj/item/organ/external/stump/removed()
..()
qdel(src)
/obj/item/organ/external/stump/is_usable()
return 0