From 8e6c9b04fdb3c8b6ccb82ad9b98af179f2265497 Mon Sep 17 00:00:00 2001 From: Den109G <87372121+Den109G@users.noreply.github.com> Date: Fri, 28 Jun 2024 07:32:20 +0600 Subject: [PATCH] bugfix: Vampires has hungriness (#5297) * change to use proc Revert "change to use proc" This reverts commit bfaafe5d4531a00d9de9cfaf3dc52e82a9b3445a. back to the roots * vampire qol * Yeah, this make more sense Co-authored-by: Rerik007 <120549107+Rerik007@users.noreply.github.com> --------- Co-authored-by: Rerik007 <120549107+Rerik007@users.noreply.github.com> --- code/datums/diseases/critical.dm | 2 +- code/modules/mob/living/carbon/human/human.dm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/datums/diseases/critical.dm b/code/datums/diseases/critical.dm index 74831e95cc8..de49150e1a1 100644 --- a/code/datums/diseases/critical.dm +++ b/code/datums/diseases/critical.dm @@ -145,7 +145,7 @@ /datum/disease/critical/hypoglycemia/has_cure() if(ishuman(affected_mob)) var/mob/living/carbon/human/H = affected_mob - if(NO_HUNGER in H.dna.species.species_traits) + if((NO_HUNGER in H.dna.species.species_traits) && !isvampire(H)) return TRUE if(ismachineperson(H)) return TRUE diff --git a/code/modules/mob/living/carbon/human/human.dm b/code/modules/mob/living/carbon/human/human.dm index fca36c058c0..6185c81983b 100644 --- a/code/modules/mob/living/carbon/human/human.dm +++ b/code/modules/mob/living/carbon/human/human.dm @@ -1970,7 +1970,7 @@ Eyes need to have significantly high darksight to shine unless the mob has the X /mob/living/carbon/human/set_nutrition(change) - if(NO_HUNGER in dna.species.species_traits) + if((NO_HUNGER in dna.species.species_traits) && !isvampire(src)) return FALSE . = ..() update_hunger_slowdown()