prevents xenos catching thrown items they can't hold (#21766)

* prevents xenos catching thrown items they can't hold

* gogo gadget duplicate code

* trait solution
This commit is contained in:
GDN
2023-09-01 22:37:09 +01:00
committed by GitHub
parent acb7352265
commit e9acb9fde4
6 changed files with 10 additions and 7 deletions
+1 -1
View File
@@ -335,7 +335,7 @@ GLOBAL_DATUM_INIT(welding_sparks, /mutable_appearance, mutable_appearance('icons
/obj/item/attack_alien(mob/user)
var/mob/living/carbon/alien/A = user
if(!A.has_fine_manipulation)
if(!A.has_fine_manipulation && !HAS_TRAIT(src, TRAIT_XENO_INTERACTABLE))
if(src in A.contents) // To stop Aliens having items stuck in their pockets
A.unEquip(src)
to_chat(user, "<span class='warning'>Your claws aren't capable of such fine manipulation!</span>")