diff --git a/code/game/gamemodes/miniantags/demons/shadow_demon/shadow_demon.dm b/code/game/gamemodes/miniantags/demons/shadow_demon/shadow_demon.dm index 7edd0bf893e..0792bf40c9f 100644 --- a/code/game/gamemodes/miniantags/demons/shadow_demon/shadow_demon.dm +++ b/code/game/gamemodes/miniantags/demons/shadow_demon/shadow_demon.dm @@ -6,6 +6,7 @@ icon_living = "shadow_demon" move_resist = MOVE_FORCE_STRONG lighting_alpha = LIGHTING_PLANE_ALPHA_MOSTLY_VISIBLE // so they can tell where the darkness is + see_in_dark = 10 // Below 10 `see_in_dark`, you'll not have full vision with fullscreen loot = list(/obj/item/organ/internal/heart/demon/shadow) death_sound = 'sound/shadowdemon/shadowdeath.ogg' var/thrown_alert = FALSE diff --git a/code/game/objects/structures/crates_lockers/closets.dm b/code/game/objects/structures/crates_lockers/closets.dm index d7b37140b43..cb5dc18f242 100644 --- a/code/game/objects/structures/crates_lockers/closets.dm +++ b/code/game/objects/structures/crates_lockers/closets.dm @@ -92,6 +92,10 @@ if(throwing) throwing.finalize(FALSE) +/obj/structure/closet/extinguish_light(force) + for(var/atom/A in contents) + A.extinguish_light(force) + /obj/structure/closet/proc/open() if(opened) return FALSE diff --git a/code/modules/atmospherics/machinery/atmospherics.dm b/code/modules/atmospherics/machinery/atmospherics.dm index e904ecf8683..d1b103b57c9 100644 --- a/code/modules/atmospherics/machinery/atmospherics.dm +++ b/code/modules/atmospherics/machinery/atmospherics.dm @@ -344,6 +344,10 @@ Pipelines + Other Objects -> Pipe network /obj/machinery/atmospherics/proc/can_crawl_through() return TRUE +/obj/machinery/atmospherics/extinguish_light(force) + set_light(0) + update_icon(UPDATE_OVERLAYS) + /obj/machinery/atmospherics/proc/change_color(new_color) //only pass valid pipe colors please ~otherwise your pipe will turn invisible if(!pipe_color_check(new_color))