Skip to content

Commit

Permalink
Reverts 75% chance change.
Browse files Browse the repository at this point in the history
Me and ihatethisengine big dumb dumb.
Code adjustments.
  • Loading branch information
MPhonks committed Jul 13, 2023
1 parent faf06f3 commit 8568b20
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions code/modules/mob/living/carbon/xenomorph/castes/Carrier.dm
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@
/mob/living/carbon/xenomorph/carrier/death(cause, gibbed)
. = ..(cause, gibbed)
if(.)
var/chance = .75
var/chance = 75 //75% to drop an egg or hugger.
if(mutation_type == CARRIER_EGGSAC)
visible_message(SPAN_XENOWARNING("[src] throes as its eggsac bursts into a mess of acid!"))
playsound(src.loc, 'sound/effects/alien_egg_burst.ogg', 25, 1)
Expand All @@ -187,14 +187,13 @@
step_away(hugger, src, 1)

var/eggs_dropped = FALSE
while (eggs_cur > 0)
for(var/i in 1 to eggs_cur)
if(prob(chance))
new /obj/item/xeno_egg(loc, hivenumber)
eggs_cur--
eggs_dropped = TRUE
update_icons()

if(eggs_dropped == TRUE)
if(eggs_dropped == TRUE) //Checks whether or not to announce egg drop.
xeno_message(SPAN_XENOANNOUNCE("[src] has dropped some precious eggs!"), 2, hive.hivenumber)

/mob/living/carbon/xenomorph/carrier/get_status_tab_items()
Expand Down

0 comments on commit 8568b20

Please sign in to comment.