mirror of
https://github.com/KabKebab/GS13.git
synced 2026-02-10 07:37:42 +00:00
37 lines
1.4 KiB
Plaintext
37 lines
1.4 KiB
Plaintext
/datum/round_event_control/carp_migration
|
|
name = "Carp Migration"
|
|
typepath = /datum/round_event/carp_migration
|
|
weight = 10 //decreased weight from 15 to 10
|
|
min_players = 5 //increased min players from 2 to 5 to reduce chances of half the crew dying in a carp breach
|
|
earliest_start = 10 MINUTES
|
|
max_occurrences = 6
|
|
|
|
/datum/round_event/carp_migration
|
|
announceWhen = 3
|
|
startWhen = 50
|
|
|
|
/datum/round_event/carp_migration/setup()
|
|
startWhen = rand(40, 60)
|
|
|
|
/datum/round_event/carp_migration/announce(fake)
|
|
if(prob(50))
|
|
priority_announce("Unknown biological entities have been detected near [station_name()], please stand-by.", "Lifesign Alert", 'sound/ai/carp.ogg')
|
|
else
|
|
priority_announce("A report has been downloaded and printed out at all communications consoles.", "Incoming Classified Message", 'sound/ai/commandreport.ogg') // CITADEL EDIT metabreak
|
|
for(var/obj/machinery/computer/communications/C in GLOB.machines)
|
|
if(!(C.stat & (BROKEN|NOPOWER)) && is_station_level(C.z))
|
|
var/obj/item/paper/P = new(C.loc)
|
|
P.name = "Biological entities"
|
|
P.info = "Unknown biological entities have been detected near [station_name()], you may wish to break out arms."
|
|
P.update_icon()
|
|
|
|
|
|
/datum/round_event/carp_migration/start()
|
|
for(var/obj/effect/landmark/carpspawn/C in GLOB.landmarks_list)
|
|
if(prob(95))
|
|
new /mob/living/simple_animal/hostile/carp(C.loc)
|
|
else
|
|
new /mob/living/simple_animal/hostile/carp/megacarp(C.loc)
|
|
|
|
|