Skip to content

Commit

Permalink
Sweeper get diminishing returns from eating other sweepers (#1382)
Browse files Browse the repository at this point in the history
Update indigo.dm
  • Loading branch information
InsightfulParasite authored Oct 15, 2023
1 parent 0936ccc commit 04fb80d
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 @@ -458,7 +470,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 @@ -566,6 +581,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 04fb80d

Please sign in to comment.