described the odor problem

This commit is contained in:
AbsFree
2024-12-16 20:54:44 +01:00
parent 900f825272
commit 4ca74f5234
@@ -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, "<span class='notice'>You can smell lard.</span>")