diff --git a/code/game/objects/structures/crates_lockers/closets.dm b/code/game/objects/structures/crates_lockers/closets.dm index 948c0ae1062b3..9498c3350c2be 100644 --- a/code/game/objects/structures/crates_lockers/closets.dm +++ b/code/game/objects/structures/crates_lockers/closets.dm @@ -19,6 +19,7 @@ var/opened = FALSE var/welded = FALSE var/locked = FALSE + var/divable = TRUE //controls whether someone with skittish trait can enter the closet with CtrlShiftClick var/large = TRUE var/wall_mounted = 0 //never solid (You can always pass over it) var/breakout_time = 1200 @@ -173,7 +174,7 @@ . += "Alt-click to [locked ? "unlock" : "lock"]." if(isliving(user)) var/mob/living/L = user - if(HAS_TRAIT(L, TRAIT_SKITTISH)) + if(divable && HAS_TRAIT(L, TRAIT_SKITTISH)) . += "Ctrl-Shift-click [src] to jump inside." /obj/structure/closet/CanAllowThrough(atom/movable/mover, border_dir) @@ -523,7 +524,7 @@ togglelock(user) /obj/structure/closet/CtrlShiftClick(mob/living/user) - if(!HAS_TRAIT(user, TRAIT_SKITTISH)) + if(!(divable && HAS_TRAIT(user, TRAIT_SKITTISH))) return ..() if(!user.canUseTopic(src, BE_CLOSE) || !isturf(user.loc)) return diff --git a/code/modules/cargo/supplypod.dm b/code/modules/cargo/supplypod.dm index c18f42cd9b678..6f7043fd0ac3b 100644 --- a/code/modules/cargo/supplypod.dm +++ b/code/modules/cargo/supplypod.dm @@ -11,6 +11,7 @@ allow_dense = TRUE delivery_icon = null can_weld_shut = FALSE + divable = FALSE armor = list(MELEE = 30, BULLET = 50, LASER = 50, ENERGY = 100, BOMB = 100, BIO = 0, RAD = 0, FIRE = 100, ACID = 80, STAMINA = 0, BLEED = 0) anchored = TRUE //So it cant slide around after landing anchorable = FALSE