Give carp event a 50% chance to even occur.

If the carp event procs, there is a 50% chance for it to not occur, giving a free moment of peace for that event timeslot.

There are a lot of security events already including the minor carp invasion, major carp invasion, drones, blob, spiders, and metroids. That is a lot to handle. So this is part of a slight effort to tone that down.
This commit is contained in:
Razgriz
2021-07-02 23:16:21 -07:00
committed by GitHub
parent b87afdb3d5
commit 469d81b2d3

View File

@@ -6,6 +6,9 @@
var/list/spawned_carp = list()
/datum/event/carp_migration/setup()
if(prob(50)
kill()
return
announceWhen = rand(30, 60) // 1 to 2 minutes
endWhen += severity * 25
carp_cap = 2 + 3 ** severity // No more than this many at once regardless of waves. (5, 11, 29)