Merge pull request #10969 from Seris02/crowbarcrate

allows you to wirecutters the manifests off crates without opening them
This commit is contained in:
Ghom
2020-02-13 09:41:10 +01:00
committed by GitHub

View File

@@ -47,6 +47,12 @@
if(manifest)
tear_manifest(user)
/obj/structure/closet/crate/tool_interact(obj/item/W, mob/user)
if(W.tool_behaviour == TOOL_WIRECUTTER && manifest)
tear_manifest(user)
return TRUE
return ..()
/obj/structure/closet/crate/open(mob/living/user)
. = ..()
if(. && manifest)