From 780499fff6a2d58753ad8bb7b41042bb62dd69c7 Mon Sep 17 00:00:00 2001 From: Casey Date: Sat, 19 Feb 2022 20:35:55 -0500 Subject: [PATCH] Merge pull request #12295 from Very-Soft/stackpersist Item Bank - Do not store things crafted from material stacks --- code/game/objects/items/stacks/stack.dm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/code/game/objects/items/stacks/stack.dm b/code/game/objects/items/stacks/stack.dm index d41c98b83b..f4f6269231 100644 --- a/code/game/objects/items/stacks/stack.dm +++ b/code/game/objects/items/stacks/stack.dm @@ -212,7 +212,11 @@ O.set_dir(user.dir) O.add_fingerprint(user) - + //VOREStation Addition Start - Let's not store things that get crafted with materials like this, they won't spawn correctly when retrieved. + if (isobj(O)) + var/obj/P = O + P.persist_storable = FALSE + //VOREStation Addition End if (istype(O, /obj/item/stack)) var/obj/item/stack/S = O S.amount = produced