mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-11 10:22:13 +00:00
Merge pull request #10969 from Seris02/crowbarcrate
allows you to wirecutters the manifests off crates without opening them
This commit is contained in:
@@ -47,6 +47,12 @@
|
|||||||
if(manifest)
|
if(manifest)
|
||||||
tear_manifest(user)
|
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)
|
/obj/structure/closet/crate/open(mob/living/user)
|
||||||
. = ..()
|
. = ..()
|
||||||
if(. && manifest)
|
if(. && manifest)
|
||||||
|
|||||||
Reference in New Issue
Block a user