Skip to content

Commit

Permalink
crazy mega smthing
Browse files Browse the repository at this point in the history
  • Loading branch information
BR54FF committed Dec 17, 2023
1 parent 07390a4 commit d4e9600
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 2 deletions.
16 changes: 14 additions & 2 deletions _maps/map_files220/generic/Lavaland.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -43009,7 +43021,7 @@ kM
kM
kM
kM
mY
pw
kM
kM
kM
Expand Down Expand Up @@ -44551,7 +44563,7 @@ kM
kM
kM
kM
nf
pw
kM
kM
kM
Expand Down
18 changes: 18 additions & 0 deletions modular_ss220/legion/code/legion.dm
Original file line number Diff line number Diff line change
@@ -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
4 changes: 4 additions & 0 deletions modular_ss220/legion/legion.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/datum/modpack/legion
name = "Ребаланс легиона"
desc = "Стенки, не дающие пройти в некрополь, пока Легион жив, и открытие ворот при его ранении."
author = "br54ff"
3 changes: 3 additions & 0 deletions modular_ss220/legion/legion.dme
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#include "legion.dme"

#include "code/legion.dm"
1 change: 1 addition & 0 deletions modular_ss220/modular_ss220.dme
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d4e9600

Please sign in to comment.