Skip to content

Commit

Permalink
Fixes abstract items showing on mob examine (#27951)
Browse files Browse the repository at this point in the history
* fuck sorry

* Update code/modules/mob/living/carbon/examine.dm

Co-authored-by: DGamerL <[email protected]>
Signed-off-by: Qwertytoforty <[email protected]>

---------

Signed-off-by: Qwertytoforty <[email protected]>
Co-authored-by: DGamerL <[email protected]>
  • Loading branch information
Qwertytoforty and DGamerL authored Jan 12, 2025
1 parent bcc794e commit a4a92f7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions code/modules/mob/living/carbon/examine.dm
Original file line number Diff line number Diff line change
Expand Up @@ -143,12 +143,13 @@
accessories = parts[5]

if(item)
if(HAS_TRAIT(item, TRAIT_SKIP_EXAMINE))
continue
if(istype(item, /obj/item/grab))
grab_items |= item

if(item.flags & ABSTRACT)
abstract_items |= item
if(HAS_TRAIT(item, TRAIT_SKIP_EXAMINE))
continue
else
var/item_words = item.name
if(item.blood_DNA)
Expand Down

0 comments on commit a4a92f7

Please sign in to comment.