diff --git a/code/modules/mob/living/simple_animal/hostile/ordeal/indigo.dm b/code/modules/mob/living/simple_animal/hostile/ordeal/indigo.dm index 70306dfc6083..ad53fcb2a79e 100644 --- a/code/modules/mob/living/simple_animal/hostile/ordeal/indigo.dm +++ b/code/modules/mob/living/simple_animal/hostile/ordeal/indigo.dm @@ -1,3 +1,5 @@ +#define SWEEPER_TYPES /mob/living/simple_animal/hostile/ordeal/indigo_dawn || /mob/living/simple_animal/hostile/ordeal/indigo_noon || /mob/living/simple_animal/hostile/ordeal/indigo_dusk || /mob/living/simple_animal/hostile/ordeal/indigo_midnight + /mob/living/simple_animal/hostile/ordeal/indigo_dawn name = "unknown scout" desc = "A tall humanoid with a walking cane. It's wearing indigo armor." @@ -38,8 +40,11 @@ visible_message( "[src] devours [L]!", "You feast on [L], restoring your health!") + if(istype(L, SWEEPER_TYPES)) + adjustBruteLoss(-20) + return TRUE adjustBruteLoss(-(maxHealth/2)) - L.gib() + L.gib(TRUE, TRUE, TRUE) return TRUE /mob/living/simple_animal/hostile/ordeal/indigo_noon @@ -98,8 +103,11 @@ visible_message( "[src] devours [L]!", "You feast on [L], restoring your health!") + if(istype(L, SWEEPER_TYPES)) + adjustBruteLoss(-20) + return TRUE adjustBruteLoss(-(maxHealth/2)) - L.gib() + L.gib(TRUE, TRUE, TRUE) return TRUE /mob/living/simple_animal/hostile/ordeal/indigo_noon/PickTarget(list/Targets) @@ -263,8 +271,11 @@ visible_message( "[src] devours [L]!", "You feast on [L], restoring your health!") + if(istype(L, SWEEPER_TYPES)) + adjustBruteLoss(-20) + return TRUE adjustBruteLoss(-(maxHealth/2)) - L.gib() + L.gib(TRUE, TRUE, TRUE) return TRUE @@ -424,8 +435,11 @@ visible_message( "[src] devours [L]!", "You feast on [L], restoring your health!") + if(istype(L, SWEEPER_TYPES)) + adjustBruteLoss(-20) + return TRUE adjustBruteLoss(-(maxHealth*0.3)) - L.gib() + L.gib(TRUE, TRUE, TRUE) //Increase the Vore counter by 1 belly += 1 pulse_damage += 2 @@ -534,6 +548,8 @@ sleep(delay) slamming = FALSE +#undef SWEEPER_TYPES + /obj/effect/sweeperspawn name = "bloodpool" desc = "A target warning you of incoming pain"