entire messed up branch in one commit (#30794)

Co-authored-by: Gatchapod <Gatchapod@users.noreply.github.com>
This commit is contained in:
Gatchapod
2025-10-31 22:56:33 +00:00
committed by GitHub
co-authored by Gatchapod
parent dd017e20cc
commit 9863606763
6 changed files with 162 additions and 0 deletions
+17
View File
@@ -656,6 +656,23 @@
if(dreamer.mind?.has_antag_datum(/datum/antagonist/vampire))
var/mob/living/carbon/human/V = owner
if(istype(V.loc, /obj/structure/closet/coffin/vampire))
var/obj/structure/closet/coffin/vampire/C = V.loc
if(C.vampire == V)
V.adjustBruteLoss(-3)
V.adjustFireLoss(-3)
V.adjustToxLoss(-3)
V.adjustOxyLoss(-3)
V.adjustCloneLoss(-1.5)
if(!isnull(V.viruses) && prob(25))
for(var/datum/disease/virus in V.viruses)
virus.cure()
for(var/obj/item/organ/external/E in V.bodyparts)
if(E.status & (ORGAN_INT_BLEEDING | ORGAN_BROKEN | ORGAN_SPLINTED | ORGAN_BURNT))
E.rejuvenate()
break // just one limb per sleep tick because vampires can just Rejuvenate out of sleep
for(var/obj/item/organ/internal/I in V.internal_organs)
I.heal_internal_damage(2, TRUE)
if(istype(V.loc, /obj/structure/closet/coffin))
V.adjustBruteLoss(-1)
V.adjustFireLoss(-1)