From 78031e66cf34a623f3683ca5f7928f59f212ccfa Mon Sep 17 00:00:00 2001 From: MuckerMayhem <1161516+MuckerMayhem@users.noreply.github.com> Date: Sat, 23 Dec 2023 16:23:38 +0300 Subject: [PATCH] [MIRROR] add major version of rogue drone event --- code/modules/events/event_container.dm | 3 ++- code/modules/events/mob_spawning/rogue_drones.dm | 14 ++++++++++++-- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/code/modules/events/event_container.dm b/code/modules/events/event_container.dm index 88e91905cf270..c2eeee3f9746b 100644 --- a/code/modules/events/event_container.dm +++ b/code/modules/events/event_container.dm @@ -189,7 +189,8 @@ var/global/list/severity_to_string = list(EVENT_LEVEL_MUNDANE = "Mundane", EVENT new /datum/event_meta/no_overmap(EVENT_LEVEL_MAJOR, "Electrical Storm", /datum/event/electrical_storm, 0, list(ASSIGNMENT_ENGINEER = 10, ASSIGNMENT_JANITOR = 5)), new /datum/event_meta(EVENT_LEVEL_MAJOR, "Drone Revolution", /datum/event/rogue_maint_drones, 0, list(ASSIGNMENT_ENGINEER = 10,ASSIGNMENT_MEDICAL = 10,ASSIGNMENT_SECURITY = 10)), new /datum/event_meta(EVENT_LEVEL_MAJOR, "Spider Infestation", /datum/event/spider_infestation, 0, list(ASSIGNMENT_SECURITY = 10), 1), - new /datum/event_meta(EVENT_LEVEL_MAJOR, "Bluespace Drive Instability", /datum/event/bsd_instability, 0, null, 1), + new /datum/event_meta(EVENT_LEVEL_MAJOR, "Bluespace Drive Instability", /datum/event/bsd_instability, 0, null, 1), + new /datum/event_meta(EVENT_LEVEL_MAJOR, "Rogue Drones", /datum/event/mob_spawning/rogue_drones, 0, list(ASSIGNMENT_SECURITY = 20)), ) /datum/event_container/exo diff --git a/code/modules/events/mob_spawning/rogue_drones.dm b/code/modules/events/mob_spawning/rogue_drones.dm index b9e973fb9c4a8..35da8acf798a0 100644 --- a/code/modules/events/mob_spawning/rogue_drones.dm +++ b/code/modules/events/mob_spawning/rogue_drones.dm @@ -4,15 +4,25 @@ mobs_to_spawn = list( /mob/living/simple_animal/hostile/retaliate/malf_drone ) + var/mobs_to_spawn_major = list ( + /mob/living/simple_animal/hostile/fleet_heavy + ) /datum/event/mob_spawning/rogue_drones/setup() - total_to_spawn_per_z = rand(1, 3) + if (severity > EVENT_LEVEL_MODERATE) + total_to_spawn_per_z = rand(6, 12) + mobs_to_spawn += mobs_to_spawn_major + else + total_to_spawn_per_z = rand(1, 3) . = ..() /datum/event/mob_spawning/rogue_drones/announce() - command_announcement.Announce("Attention: unidentified patrol drones detected within proximity to the [location_name()]", "[location_name()] Sensor Array", zlevels = affecting_z) + if (severity > EVENT_LEVEL_MODERATE) + command_announcement.Announce("Priority Warning: Unidentified drone attack-swarm detected near the [location_name()]", "[location_name()] Sensor Array", zlevels = affecting_z) + else + command_announcement.Announce("Attention: unidentified patrol drones detected within proximity to the [location_name()]", "[location_name()] Sensor Array", zlevels = affecting_z) /datum/event/mob_spawning/rogue_drone/end()