From 07889171bbf4a33f15d0405d3080f413e98dac2b Mon Sep 17 00:00:00 2001 From: Qwertytoforty <52090703+Qwertytoforty@users.noreply.github.com> Date: Mon, 17 Jul 2023 05:50:33 -0400 Subject: [PATCH] Makes meteor events more consistant, with major meteors being more deadly. (#21459) * what do you mean a weight of 75 * yeah do this --- code/game/objects/effects/meteors.dm | 7 ++++--- code/modules/events/event_container.dm | 2 +- code/modules/events/meteors_event.dm | 4 ++-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/code/game/objects/effects/meteors.dm b/code/game/objects/effects/meteors.dm index a64b56a1f18..8f1e37496ea 100644 --- a/code/game/objects/effects/meteors.dm +++ b/code/game/objects/effects/meteors.dm @@ -8,8 +8,8 @@ GLOBAL_LIST_INIT(meteors_normal, list(/obj/effect/meteor/dust = 3, /obj/effect/m GLOBAL_LIST_INIT(meteors_threatening, list(/obj/effect/meteor/medium = 4, /obj/effect/meteor/big = 8, /obj/effect/meteor/flaming = 3, /obj/effect/meteor/irradiated = 3, /obj/effect/meteor/bananium = 1)) //for threatening meteor event -GLOBAL_LIST_INIT(meteors_catastrophic, list(/obj/effect/meteor/medium = 5, /obj/effect/meteor/big = 75, - /obj/effect/meteor/flaming = 10, /obj/effect/meteor/irradiated = 10, /obj/effect/meteor/bananium = 3, /obj/effect/meteor/tunguska = 1)) //for catastrophic meteor event +GLOBAL_LIST_INIT(meteors_catastrophic, list(/obj/effect/meteor/medium = 3, /obj/effect/meteor/big = 10, + /obj/effect/meteor/flaming = 10, /obj/effect/meteor/irradiated = 10, /obj/effect/meteor/bananium = 2, /obj/effect/meteor/meaty = 2, /obj/effect/meteor/meaty/xeno = 2, /obj/effect/meteor/tunguska = 1)) //for catastrophic meteor event GLOBAL_LIST_INIT(meteors_gore, list(/obj/effect/meteor/meaty = 5, /obj/effect/meteor/meaty/xeno = 1)) //for meaty ore event @@ -253,7 +253,8 @@ GLOBAL_LIST_INIT(meteors_ops, list(/obj/effect/meteor/goreops)) //Meaty Ops ..() explosion(loc, 0, 0, 4, 3, 0) new /obj/effect/decal/cleanable/greenglow(get_turf(src)) - radiation_pulse(src, 500) + radiation_pulse(src, 5000, 7) + //Hot take on this one. This often hits walls. It really has to breach into somewhere important to matter. This at leats makes the area slightly dangerous for a bit /obj/effect/meteor/bananium name = "bananium meteor" diff --git a/code/modules/events/event_container.dm b/code/modules/events/event_container.dm index 8f32ee13c05..e5a87ca7fe1 100644 --- a/code/modules/events/event_container.dm +++ b/code/modules/events/event_container.dm @@ -197,7 +197,7 @@ GLOBAL_LIST_EMPTY(event_last_fired) //new /datum/event_meta(EVENT_LEVEL_MAJOR, "Containment Breach", /datum/event/prison_break/station, 0, list(ASSIGNMENT_ANY = 5)), new /datum/event_meta(EVENT_LEVEL_MAJOR, "APC Overload", /datum/event/apc_overload, 0), new /datum/event_meta(EVENT_LEVEL_MAJOR, "Blob", /datum/event/blob, 30, list(ASSIGNMENT_ENGINEER = 5), TRUE), - new /datum/event_meta(EVENT_LEVEL_MAJOR, "Meteor Wave", /datum/event/meteor_wave, 30, list(ASSIGNMENT_ENGINEER = 5), TRUE), + new /datum/event_meta(EVENT_LEVEL_MAJOR, "Meteor Wave", /datum/event/meteor_wave, 0, list(ASSIGNMENT_ENGINEER = 10), TRUE), new /datum/event_meta(EVENT_LEVEL_MAJOR, "Abductor Visit", /datum/event/abductor, 20, list(ASSIGNMENT_SECURITY = 3), TRUE), new /datum/event_meta(EVENT_LEVEL_MAJOR, "Alien Infestation", /datum/event/alien_infestation, 20, list(ASSIGNMENT_SECURITY = 4), TRUE), new /datum/event_meta(EVENT_LEVEL_MAJOR, "Traders", /datum/event/traders, 85, is_one_shot = TRUE), diff --git a/code/modules/events/meteors_event.dm b/code/modules/events/meteors_event.dm index fe34ab5fede..ddecbd8540b 100644 --- a/code/modules/events/meteors_event.dm +++ b/code/modules/events/meteors_event.dm @@ -11,7 +11,7 @@ if(A) screen_alert = A - waves = severity * rand(1,3) + waves = severity * 2 + rand(0, severity) //4-6 waves on medium. 6-9 waves on major. More consistant. /datum/event/meteor_wave/announce() switch(severity) @@ -51,4 +51,4 @@ return GLOB.meteors_normal /datum/event/meteor_wave/proc/get_meteor_count() - return severity * rand(1, 2) + return severity + rand(1, severity) //3 to 4 per wave for medium, 4-6 for major