From 1c497fec2e158bd60cb24e4e70c3fff5497862e7 Mon Sep 17 00:00:00 2001 From: carlarctg <53100513+carlarctg@users.noreply.github.com> Date: Thu, 24 Oct 2024 09:55:57 -0300 Subject: [PATCH] Silver extract food now transfers its slime trait to any processed slices (#87394) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit …ices ## About The Pull Request Closes #87123 When slicing food, it now checks if it has the yucky silver trait, and if so it adds the trait to the slices ## Why It's Good For The Game Bug thjere really should be a consistency tag btw. for stuff that isnt a fix but comes close, like adding moodlets to simple activities ## Changelog :cl: fix: Silver extract food now transfers its slime trait to any processed slices /:cl: --- code/game/atom/_atom.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/game/atom/_atom.dm b/code/game/atom/_atom.dm index 7f43cc2c6ee..473336b1ccc 100644 --- a/code/game/atom/_atom.dm +++ b/code/game/atom/_atom.dm @@ -700,6 +700,9 @@ /atom/proc/OnCreatedFromProcessing(mob/living/user, obj/item/work_tool, list/chosen_option, atom/original_atom) SHOULD_CALL_PARENT(TRUE) + if(HAS_TRAIT(original_atom, TRAIT_FOOD_SILVER)) + ADD_TRAIT(src, TRAIT_FOOD_SILVER, INNATE_TRAIT) // stinky food always stinky + SEND_SIGNAL(src, COMSIG_ATOM_CREATEDBY_PROCESSING, original_atom, chosen_option) if(user.mind) ADD_TRAIT(src, TRAIT_FOOD_CHEF_MADE, REF(user.mind))