mirror of
https://github.com/fulpstation/fulpstation.git
synced 2025-12-10 18:11:47 +00:00
31 lines
785 B
Plaintext
31 lines
785 B
Plaintext
/datum/round_event_control/blob
|
|
name = "Blob"
|
|
typepath = /datum/round_event/blob
|
|
weight = 5
|
|
max_occurrences = 1
|
|
|
|
min_players = 20
|
|
earliest_start = 18000 //30 minutes
|
|
|
|
gamemode_blacklist = list("blob") //Just in case a blob survives that long
|
|
|
|
/datum/round_event/blob
|
|
announceWhen = 12
|
|
endWhen = 120
|
|
var/new_rate = 2
|
|
|
|
/datum/round_event/blob/New(var/strength)
|
|
..()
|
|
if(strength)
|
|
new_rate = strength
|
|
|
|
/datum/round_event/blob/announce()
|
|
priority_announce("Confirmed outbreak of level 5 biohazard aboard [station_name()]. All personnel must contain the outbreak.", "Biohazard Alert", 'sound/AI/outbreak5.ogg')
|
|
|
|
|
|
/datum/round_event/blob/start()
|
|
var/turf/T = pick(blobstart)
|
|
if(!T)
|
|
return kill()
|
|
new/obj/effect/blob/core(T, null, new_rate)
|