Add #cargobus and gauntlets (also modernizes ntchat) (#58609)

* cargobus, start of gloves

* basics of the HAUL gauntlets

* fully mapped in

* almost forgot the gauntlets

* ntnet improvements

* cargo gaunts, tablet cargobus

* excludes body bags

* dmis and map back

* readd icons
This commit is contained in:
tralezab
2021-05-04 19:56:39 -07:00
committed by GitHub
parent 744bb69fdc
commit fa83a686c4
23 changed files with 1754 additions and 662 deletions
@@ -41,6 +41,8 @@
var/icon_welded = "welded"
/// Whether a skittish person can dive inside this closet. Disable if opening the closet causes "bad things" to happen or that it leads to a logical inconsistency.
var/divable = TRUE
/// true whenever someone with the strong pull component is dragging this, preventing opening
var/strong_grab = FALSE
/obj/structure/closet/Initialize(mapload)
if(mapload && !opened) // if closed, any item at the crate's loc is put in the contents
@@ -115,11 +117,14 @@
return TRUE
if(welded || locked)
return FALSE
if(strong_grab)
to_chat(user, "<span class='danger'>[pulledby] has an incredibly strong grip on [src], preventing it from opening.</span>")
return FALSE
var/turf/T = get_turf(src)
for(var/mob/living/L in T)
if(L.anchored || horizontal && L.mob_size > MOB_SIZE_TINY && L.density)
if(user)
to_chat(user, "<span class='danger'>There's something large on top of [src], preventing it from opening.</span>" )
to_chat(user, "<span class='danger'>There's something large on top of [src], preventing it from opening.</span>")
return FALSE
return TRUE