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 20, 2023
1 parent 74491dc commit a6e1f12
Showing 1 changed file with 21 additions and 4 deletions.
25 changes: 21 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,7 +40,11 @@
visible_message(
"<span class='danger'>[src] devours [L]!</span>",
"<span class='userdanger'>You feast on [L], restoring your health!</span>")
adjustBruteLoss(-(maxHealth/2))
if(istype(L, SWEEPER_TYPES))
//Would have made it based on biotypes but that has its own issues.
adjustBruteLoss(-20)
else
adjustBruteLoss(-(maxHealth/2))
L.gib()
return TRUE

Expand Down Expand Up @@ -98,7 +104,10 @@
visible_message(
"<span class='danger'>[src] devours [L]!</span>",
"<span class='userdanger'>You feast on [L], restoring your health!</span>")
adjustBruteLoss(-(maxHealth/2))
if(istype(L, SWEEPER_TYPES))
adjustBruteLoss(-20)
else
adjustBruteLoss(-(maxHealth/2))
L.gib()
return TRUE

Expand Down Expand Up @@ -263,7 +272,10 @@
visible_message(
"<span class='danger'>[src] devours [L]!</span>",
"<span class='userdanger'>You feast on [L], restoring your health!</span>")
adjustBruteLoss(-(maxHealth/2))
if(istype(L, SWEEPER_TYPES))
adjustBruteLoss(-20)
else
adjustBruteLoss(-(maxHealth/2))
L.gib()
return TRUE

Expand Down Expand Up @@ -424,7 +436,10 @@
visible_message(
"<span class='danger'>[src] devours [L]!</span>",
"<span class='userdanger'>You feast on [L], restoring your health!</span>")
adjustBruteLoss(-(maxHealth*0.3))
if(istype(L, SWEEPER_TYPES))
adjustBruteLoss(-20)
else
adjustBruteLoss(-(maxHealth*0.3))
L.gib()
//Increase the Vore counter by 1
belly += 1
Expand Down Expand Up @@ -534,6 +549,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 a6e1f12

Please sign in to comment.