Skip to content

Commit

Permalink
bugfix: Vampires has hungriness (ss220-space#5297)
Browse files Browse the repository at this point in the history
* change to use proc

Revert "change to use proc"

This reverts commit bfaafe5.

back to the roots

* vampire qol

* Yeah, this make more sense

Co-authored-by: Rerik007 <[email protected]>

---------

Co-authored-by: Rerik007 <[email protected]>
  • Loading branch information
Den109G and Rerik007 authored Jun 28, 2024
1 parent 61cc4f7 commit 8e6c9b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion code/datums/diseases/critical.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion code/modules/mob/living/carbon/human/human.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 8e6c9b0

Please sign in to comment.