mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-21 19:17:50 +01:00
Solar Flares (#14400)
* 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>
This commit is contained in:
@@ -151,6 +151,7 @@ GLOBAL_LIST_EMPTY(event_last_fired)
|
||||
new /datum/event_meta(EVENT_LEVEL_MODERATE, "Rogue Drones", /datum/event/rogue_drone, 0, list(ASSIGNMENT_SECURITY = 20)),
|
||||
new /datum/event_meta(EVENT_LEVEL_MODERATE, "Space Vines", /datum/event/spacevine, 250, list(ASSIGNMENT_ENGINEER = 10)),
|
||||
new /datum/event_meta(EVENT_LEVEL_MODERATE, "Meteor Shower", /datum/event/meteor_wave, 0, list(ASSIGNMENT_ENGINEER = 25)),
|
||||
new /datum/event_meta(EVENT_LEVEL_MODERATE, "Solar Flare", /datum/event/solar_flare, 0, list(ASSIGNMENT_ENGINEER = 25)),
|
||||
new /datum/event_meta(EVENT_LEVEL_MODERATE, "Meaty Ores", /datum/event/dust/meaty, 0, list(ASSIGNMENT_ENGINEER = 20)),
|
||||
new /datum/event_meta(EVENT_LEVEL_MODERATE, "Communication Blackout", /datum/event/communications_blackout, 500, list(ASSIGNMENT_AI = 150, ASSIGNMENT_SECURITY = 120)),
|
||||
new /datum/event_meta(EVENT_LEVEL_MODERATE, "Prison Break", /datum/event/prison_break, 0, list(ASSIGNMENT_SECURITY = 100)),
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
/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)
|
||||
Reference in New Issue
Block a user