Skip to content

Commit

Permalink
Update indigo.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
InsightfulParasite committed Sep 16, 2023
1 parent 74491dc commit 6d40bbd
Showing 1 changed file with 20 additions and 4 deletions.
24 changes: 20 additions & 4 deletions code/modules/mob/living/simple_animal/hostile/ordeal/indigo.dm
Original file line number Diff line number Diff line change
@@ -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."
Expand Down Expand Up @@ -38,8 +40,11 @@
visible_message(
"<span class='danger'>[src] devours [L]!</span>",
"<span class='userdanger'>You feast on [L], restoring your health!</span>")
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
Expand Down Expand Up @@ -98,8 +103,11 @@
visible_message(
"<span class='danger'>[src] devours [L]!</span>",
"<span class='userdanger'>You feast on [L], restoring your health!</span>")
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)
Expand Down Expand Up @@ -263,8 +271,11 @@
visible_message(
"<span class='danger'>[src] devours [L]!</span>",
"<span class='userdanger'>You feast on [L], restoring your health!</span>")
if(istype(L, SWEEPER_TYPES))
adjustBruteLoss(-20)
return TRUE
adjustBruteLoss(-(maxHealth/2))
L.gib()
L.gib(TRUE, TRUE, TRUE)
return TRUE


Expand Down Expand Up @@ -424,8 +435,11 @@
visible_message(
"<span class='danger'>[src] devours [L]!</span>",
"<span class='userdanger'>You feast on [L], restoring your health!</span>")
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
Expand Down Expand Up @@ -534,6 +548,8 @@
sleep(delay)
slamming = FALSE

#undef SWEEPER_TYPES

/obj/effect/sweeperspawn
name = "bloodpool"
desc = "A target warning you of incoming pain"
Expand Down

0 comments on commit 6d40bbd

Please sign in to comment.