diff --git a/_maps/map_files220/generic/Lavaland.dmm b/_maps/map_files220/generic/Lavaland.dmm index 9ac6014669e7..46ff7151698f 100644 --- a/_maps/map_files220/generic/Lavaland.dmm +++ b/_maps/map_files220/generic/Lavaland.dmm @@ -5444,6 +5444,18 @@ icon_state = "darkredcorners" }, /area/mine/laborcamp/security) +"pw" = ( +/obj/machinery/door/poddoor/impassable{ + id_tag = Necropolis; + can_be_hit = 0; + desc = "Руническая дверь, что запечатана силой, исходящей от души Легиона. Только его смерть отопрёт её."; + name = "Руническая дверь"; + max_integrity = 1000; + icon = 'icons/obj/doors/airlocks/cult/runed/cult.dmi'; + locked = 1 + }, +/turf/simulated/floor/indestructible/boss, +/area/lavaland/surface/outdoors/legion) "pB" = ( /obj/structure/lattice/catwalk/mining, /obj/structure/marker_beacon/dock_marker, @@ -43009,7 +43021,7 @@ kM kM kM kM -mY +pw kM kM kM @@ -44551,7 +44563,7 @@ kM kM kM kM -nf +pw kM kM kM diff --git a/modular_ss220/legion/code/legion.dm b/modular_ss220/legion/code/legion.dm new file mode 100644 index 000000000000..d65ccba702c5 --- /dev/null +++ b/modular_ss220/legion/code/legion.dm @@ -0,0 +1,18 @@ +/mob/living/simple_animal/hostile/megafauna/legion/adjustHealth(damage, updating_health) + . = ..() + if(!GLOB.necropolis_gate) + return + if(GLOB.necropolis_gate.legion_triggered) + return + GLOB.necropolis_gate.toggle_the_gate(src, TRUE) + +/obj/structure/necropolis_gate/legion_gate + var/legion_triggered = FALSE + +/obj/structure/necropolis_gate/legion_gate/toggle_the_gate(mob/user, legion_damaged) + if(open) + return + GLOB.necropolis_gate.legion_triggered = TRUE + . = ..() + if(.) + locked = TRUE diff --git a/modular_ss220/legion/legion.dm b/modular_ss220/legion/legion.dm new file mode 100644 index 000000000000..ae80ea23f5be --- /dev/null +++ b/modular_ss220/legion/legion.dm @@ -0,0 +1,4 @@ +/datum/modpack/legion + name = "Ребаланс легиона" + desc = "Стенки, не дающие пройти в некрополь, пока Легион жив, и открытие ворот при его ранении." + author = "br54ff" diff --git a/modular_ss220/legion/legion.dme b/modular_ss220/legion/legion.dme new file mode 100644 index 000000000000..fcffa0877aa7 --- /dev/null +++ b/modular_ss220/legion/legion.dme @@ -0,0 +1,3 @@ +#include "legion.dme" + +#include "code/legion.dm" diff --git a/modular_ss220/modular_ss220.dme b/modular_ss220/modular_ss220.dme index 53a170e02283..e6c37365e75a 100644 --- a/modular_ss220/modular_ss220.dme +++ b/modular_ss220/modular_ss220.dme @@ -77,6 +77,7 @@ #include "phrases/_phrases.dme" #include "species_whitelist/_species_whitelist.dme" #include "antagonists/_antagonists.dme" +#include "legion/legion.dme" // --- PRIME --- // // #define MODPACK_MAIN_ONLY