Removes ERT from standard gameplay. The Horizon now sends distress beacons for other Overmap vessels instead. Barricades and crew armoury buff. (#14371)

This commit is contained in:
Matt Atlas
2022-08-02 17:59:51 +02:00
committed by GitHub
parent 582a03c331
commit f768a9022d
103 changed files with 2470 additions and 939 deletions
+13 -5
View File
@@ -60,6 +60,10 @@
dismantle_material.place_sheet(loc)
qdel(src)
/obj/structure/bullet_act(obj/item/projectile/P, def_zone)
. = ..()
bullet_ping(P)
/obj/structure/Initialize(mapload)
. = ..()
if (!mapload)
@@ -127,7 +131,7 @@
if (!can_climb(user))
return
usr.visible_message("<span class='warning'>[user] starts climbing onto \the [src]!</span>")
user.visible_message(SPAN_WARNING("[user] starts [flags & ON_BORDER ? "leaping over" : "climbing onto"] \the [src]!"))
LAZYADD(climbers, user)
if(!do_after(user,50))
@@ -137,11 +141,15 @@
if (!can_climb(user, post_climb_check=1))
LAZYREMOVE(climbers, user)
return
var/turf/TT = get_turf(src)
if(flags & ON_BORDER)
TT = get_step(get_turf(src), dir)
if(user.loc == TT)
TT = get_turf(src)
usr.forceMove(get_turf(src))
if (get_turf(user) == get_turf(src))
usr.visible_message("<span class='warning'>[user] climbs onto \the [src]!</span>")
user.visible_message("<span class='warning'>[user] [flags & ON_BORDER ? "leaps over" : "climbs onto"] \the [src]!</span>")
user.forceMove(TT)
LAZYREMOVE(climbers, user)
/obj/structure/proc/structure_shaken()