mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-06-09 15:32:57 +01:00
3fbe5d46ac
* Solar Flares * fixup * SSsun * convert solar flare to a /datum/weather * AA request * shock chance for APCs = 5% per 2.5M of power in grid * refactor * farie suggestions * farie suggestions 2 * reduced maximum length from 15m to 10m Co-authored-by: Kyep <Kyep@users.noreply.github.com>
11 lines
350 B
Plaintext
11 lines
350 B
Plaintext
/datum/event/solar_flare
|
|
startWhen = 2
|
|
endWhen = 3
|
|
announceWhen = 1
|
|
|
|
/datum/event/solar_flare/announce()
|
|
GLOB.event_announcement.Announce("A solar flare has been detected on collision course with the station.", "Incoming Solar Flare", 'sound/AI/attention.ogg')
|
|
|
|
/datum/event/solar_flare/start()
|
|
SSweather.run_weather(/datum/weather/solar_flare)
|