mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-09 16:14:13 +00:00
Spacepod Cargo Bay Equipment and Pod Fabricator Spruce Up (#37208)
* pod updates * resist escape
This commit is contained in:
@@ -1022,6 +1022,11 @@ Thanks.
|
||||
var/obj/structure/rack/crate_shelf/CS = C.loc
|
||||
CS.relay_container_resist_act(src,R)
|
||||
return
|
||||
if(istype(C.loc, /obj/spacepod/) && istype(C,/obj/structure/closet/crate)) //todo - make this generic for future space pod cargo systems
|
||||
var/obj/structure/closet/crate/R = C
|
||||
var/obj/spacepod/speesepod = C.loc
|
||||
speesepod.attempt_cargo_resist(src,R)
|
||||
return
|
||||
if(!istype(C.loc, /obj/item/delivery/large)) //Wouldn't want to interrupt escaping being wrapped over the next few trivial checks
|
||||
if(istype(C, /obj/structure/closet/secure_closet))
|
||||
var/obj/structure/closet/secure_closet/SC = L.loc
|
||||
|
||||
Reference in New Issue
Block a user