From 4ca74f52346d866e6d1bfac82fe84b8aa63bdbe7 Mon Sep 17 00:00:00 2001 From: AbsFree Date: Mon, 16 Dec 2024 20:54:44 +0100 Subject: [PATCH] described the odor problem --- GainStation13/code/mechanics/lipoifium.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/GainStation13/code/mechanics/lipoifium.dm b/GainStation13/code/mechanics/lipoifium.dm index aba3c24bcd..f376645b05 100644 --- a/GainStation13/code/mechanics/lipoifium.dm +++ b/GainStation13/code/mechanics/lipoifium.dm @@ -14,6 +14,10 @@ H.adjust_fatness(2 * gas_breathed, FATTENING_TYPE_ATMOS) breath.adjust_moles(GAS_FAT, -gas_breathed) // TODO: the entire code below is a workaround for default odor not working + // The problem seems to be auxmos'es get_gasses function not acknowledging that lipoifium exists + // which is strange, considering that everything else regarding this gas and auxmos works + // I do not know what kind of spaghetti coding must be going on there, but I pray god has in his + // care the poor sods who have to work on that var/smell_chance = min(lipoifium_moles * 100 / total_moles, 20) if(prob(smell_chance)) to_chat(owner, "You can smell lard.")