Makes meteor events more consistant, with major meteors being more deadly. (#21459)

* what do you mean a weight of 75

* yeah do this
This commit is contained in:
Qwertytoforty
2023-07-17 10:50:33 +01:00
committed by GitHub
parent 60cde3b2b6
commit 07889171bb
3 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -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),
+2 -2
View File
@@ -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