mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-25 08:34:23 +00:00
## About The Pull Request This adds a new **Black Hole** admin shuttle event while the escape shuttle is in transit. The regular version spawns a small 1x1 singularity that falls through the ship. There is also a special adminbus Kobayashi Maru version that spawns multiple black holes rapidly. ## Why It's Good For The Game  Tell me this doesn't look fun? ## Changelog 🆑 add: Add admin blackhole shuttle event with a normal version and suicidal version. fix: Fix several shuttle event runtimes /🆑 --------- Co-authored-by: Time-Green <7501474+Time-Green@users.noreply.github.com>
62 lines
2.1 KiB
Plaintext
62 lines
2.1 KiB
Plaintext
///thats amoreeeeee
|
|
/datum/shuttle_event/simple_spawner/italian
|
|
name = "Italian Storm! (Mama Mia!)"
|
|
event_probability = 0.05
|
|
|
|
spawns_per_spawn = 5
|
|
spawning_flags = SHUTTLE_EVENT_MISS_SHUTTLE | SHUTTLE_EVENT_HIT_SHUTTLE
|
|
spawn_probability_per_process = 100
|
|
spawning_list = list(/obj/item/food/spaghetti/boiledspaghetti = 5, /obj/item/food/meatball = 1, /obj/item/food/spaghetti/pastatomato = 2,
|
|
/obj/item/food/spaghetti/meatballspaghetti = 2, /obj/item/food/pizza/margherita = 1)
|
|
|
|
///We do a little bit of tomfoolery
|
|
/datum/shuttle_event/simple_spawner/fake_ttv
|
|
name = "Fake TTV (Harmless!)"
|
|
event_probability = 0.5
|
|
activation_fraction = 0.1
|
|
|
|
spawning_list = list(/obj/item/transfer_valve/fake = 1)
|
|
spawning_flags = SHUTTLE_EVENT_HIT_SHUTTLE
|
|
spawn_probability_per_process = 5
|
|
|
|
remove_from_list_when_spawned = TRUE
|
|
self_destruct_when_empty = TRUE
|
|
|
|
///Just spawn random maint garbage
|
|
/datum/shuttle_event/simple_spawner/maintenance
|
|
name = "Maintenance Debris (Harmless!)"
|
|
event_probability = 3
|
|
activation_fraction = 0.1
|
|
|
|
spawning_list = list()
|
|
spawning_flags = SHUTTLE_EVENT_HIT_SHUTTLE | SHUTTLE_EVENT_MISS_SHUTTLE
|
|
spawn_probability_per_process = 100
|
|
spawns_per_spawn = 2
|
|
|
|
/datum/shuttle_event/simple_spawner/maintenance/get_type_to_spawn()
|
|
var/list/spawn_list = GLOB.maintenance_loot
|
|
while(islist(spawn_list))
|
|
spawn_list = pick_weight(spawn_list)
|
|
return spawn_list
|
|
|
|
///Sensors indicate that a black hole's gravitational field is affecting the region of space we were headed through
|
|
/datum/shuttle_event/simple_spawner/black_hole
|
|
name = "Black Hole (Oh no!)"
|
|
event_probability = 0 // only admin spawnable
|
|
spawn_probability_per_process = 10
|
|
activation_fraction = 0.35
|
|
spawning_flags = SHUTTLE_EVENT_HIT_SHUTTLE
|
|
spawning_list = list(/obj/singularity/shuttle_event = 1)
|
|
// only spawn it once
|
|
remove_from_list_when_spawned = TRUE
|
|
self_destruct_when_empty = TRUE
|
|
|
|
///Kobayashi Maru version
|
|
/datum/shuttle_event/simple_spawner/black_hole/adminbus
|
|
name = "Black Holes (OH GOD!)"
|
|
event_probability = 0
|
|
spawn_probability_per_process = 50
|
|
activation_fraction = 0.2
|
|
spawning_list = list(/obj/singularity/shuttle_event = 10)
|
|
remove_from_list_when_spawned = TRUE
|