Adds 2 item traits (heretic requirements) (#27680)

* skipping out on some work later

* update comment
This commit is contained in:
Qwertytoforty
2024-12-31 23:38:44 -05:00
committed by GitHub
parent 08c2af953a
commit d1409caaf2
5 changed files with 13 additions and 3 deletions
+1 -1
View File
@@ -981,7 +981,7 @@ GLOBAL_DATUM_INIT(welding_sparks, /mutable_appearance, mutable_appearance('icons
/obj/item/proc/canStrip(mob/stripper, mob/owner)
SHOULD_BE_PURE(TRUE)
return !(flags & NODROP) && !(flags & ABSTRACT)
return !(flags & NODROP) && !(flags & ABSTRACT) && !HAS_TRAIT(src, TRAIT_NO_STRIP)
/obj/item/proc/should_stack_with(obj/item/other)
return type == other.type && name == other.name