mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-09 16:07:40 +00:00
send
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
weight = 2
|
||||
min_players = 15
|
||||
earliest_start = 30 MINUTES
|
||||
category = EVENT_CATEGORY_ENTITIES
|
||||
description = "Syndicate troops pour out of portals."
|
||||
|
||||
/datum/round_event/portal_storm/syndicate_shocktroop
|
||||
boss_types = list(/mob/living/simple_animal/hostile/syndicate/melee/space/stormtrooper = 2)
|
||||
@@ -15,6 +17,8 @@
|
||||
typepath = /datum/round_event/portal_storm/portal_storm_narsie
|
||||
weight = 0
|
||||
max_occurrences = 0
|
||||
category = EVENT_CATEGORY_ENTITIES
|
||||
description = "Nar'sie constructs pour out of portals."
|
||||
|
||||
/datum/round_event/portal_storm/portal_storm_narsie
|
||||
boss_types = list(/mob/living/simple_animal/hostile/construct/builder = 6)
|
||||
@@ -22,9 +26,9 @@
|
||||
/mob/living/simple_animal/hostile/construct/wraith/hostile = 6)
|
||||
|
||||
/datum/round_event/portal_storm
|
||||
startWhen = 7
|
||||
endWhen = 999
|
||||
announceWhen = 1
|
||||
start_when = 7
|
||||
end_when = 999
|
||||
announce_when = 1
|
||||
|
||||
var/list/boss_spawn = list()
|
||||
var/list/boss_types = list() //only configure this if you have hostiles
|
||||
@@ -53,7 +57,7 @@
|
||||
while(number_of_hostiles > hostiles_spawn.len)
|
||||
hostiles_spawn += get_random_station_turf()
|
||||
|
||||
next_boss_spawn = startWhen + CEILING(2 * number_of_hostiles / number_of_bosses, 1)
|
||||
next_boss_spawn = start_when + CEILING(2 * number_of_hostiles / number_of_bosses, 1)
|
||||
|
||||
/datum/round_event/portal_storm/announce(fake)
|
||||
do_announce()
|
||||
@@ -117,7 +121,7 @@
|
||||
|
||||
/datum/round_event/portal_storm/proc/time_to_end()
|
||||
if(!hostile_types.len && !boss_types.len)
|
||||
endWhen = activeFor
|
||||
end_when = activeFor
|
||||
|
||||
if(!number_of_hostiles && number_of_bosses)
|
||||
endWhen = activeFor
|
||||
end_when = activeFor
|
||||
|
||||
Reference in New Issue
Block a user