diff --git a/maps/sierra/sierra.dm b/maps/sierra/sierra.dm index 90eeee33e7e6a..de73b541825dd 100644 --- a/maps/sierra/sierra.dm +++ b/maps/sierra/sierra.dm @@ -167,6 +167,9 @@ #include "../away/abandoned_hotel/abandoned_hotel.dm" // #include "../event/iccgn_ship/icgnv_hound.dm" // SIERRA TODO: Пофиксить или удалить + #include "../bluespace_interlude/bluespace_interlude.dm" + #include "../bluespace_interlude/bluespace_interlude.dmm" + // USED MODS // Keep them in ascending alphabetical order, please diff --git a/maps/sierra/sierra_define.dm b/maps/sierra/sierra_define.dm index 7702b01cd0048..954228cef133c 100644 --- a/maps/sierra/sierra_define.dm +++ b/maps/sierra/sierra_define.dm @@ -9,6 +9,8 @@ // https://clips.twitch.tv/MildIgnorantJayGivePLZ-CvZlfeclHBx4Ye1l welcome_sound = 'maps/sierra/sound/welcome.ogg' + use_bluespace_interlude = TRUE + load_legacy_saves = TRUE station_levels = list(1,2,3,4,5) diff --git a/maps/sierra/sierra_procs.dm b/maps/sierra/sierra_procs.dm index 08b88383f6b0b..b27763a0ce05d 100644 --- a/maps/sierra/sierra_procs.dm +++ b/maps/sierra/sierra_procs.dm @@ -33,6 +33,18 @@ else to_chat(Player, "Вы не пережили события на [station_name()]...") +/datum/map/sierra/do_interlude_teleport(atom/movable/target, atom/destination, duration = 30 SECONDS, precision, type) + var/turf/T = pick_area_turf(/area/bluespace_interlude/platform, list(/proc/not_turf_contains_dense_objects, /proc/IsTurfAtmosSafe)) + + if (!T) + do_teleport(target, destination) + return + + if (isliving(target)) + to_chat(target, FONT_LARGE(SPAN_WARNING("Your vision goes blurry and nausea strikes your stomach. Where are you...?"))) + do_teleport(target, T, precision, type) + addtimer(new Callback(GLOBAL_PROC, /proc/do_teleport, target, destination), duration) + /datum/map/bolt_saferooms() for(var/atype in typesof(/area/crew_quarters/safe_room)) var/area/A = locate(atype) diff --git a/maps/sierra/sierra_unit_testing.dm b/maps/sierra/sierra_unit_testing.dm index 0ab0f25f07303..16c21059e9c3f 100644 --- a/maps/sierra/sierra_unit_testing.dm +++ b/maps/sierra/sierra_unit_testing.dm @@ -85,6 +85,9 @@ /area/turbolift/bridgedeck, /area/beach, /area/template_noop, + /area/bluespace_interlude, + /area/bluespace_interlude/platform, + /area/bluespace_interlude/surroundings, /area/rnd/xenobiology/cell_1, /area/rnd/xenobiology/cell_2, /area/rnd/xenobiology/cell_3,