From 90288b00e7fa89576bf152c28ec6f51190a58258 Mon Sep 17 00:00:00 2001 From: Putnam3145 Date: Wed, 30 Mar 2022 12:51:27 -0700 Subject: [PATCH] also removed silicons from the list, whoops --- code/datums/station_traits/negative_traits.dm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/code/datums/station_traits/negative_traits.dm b/code/datums/station_traits/negative_traits.dm index 4dd40e924d..c24d93865c 100644 --- a/code/datums/station_traits/negative_traits.dm +++ b/code/datums/station_traits/negative_traits.dm @@ -57,7 +57,13 @@ /datum/station_trait/hangover/proc/on_job_after_spawn(datum/source, datum/job/job, mob/living/spawned_mob) SIGNAL_HANDLER - if(prob(65) || HAS_TRAIT(spawned_mob, TRAIT_ROBOTIC_ORGANISM) || HAS_TRAIT(spawned_mob, TRAIT_TOXIC_ALCOHOL)) + if(prob(65)) // most aren't hungover + return + if(!iscarbon(spawned_mob)) // don't want silicons or similar to be counted here + return + if(HAS_TRAIT(spawned_mob, TRAIT_ROBOTIC_ORGANISM)) // robots can't get hungover + return + if(HAS_TRAIT(spawned_mob, TRAIT_TOXIC_ALCOHOL)) // people with alcohol intolerance also can't return var/obj/item/hat = pick( /obj/item/clothing/head/sombrero,