From e068fabdb4316ef269c13a3da3694b5ea52d1b4a Mon Sep 17 00:00:00 2001 From: PJB3005 Date: Fri, 19 Jun 2015 16:03:34 +0200 Subject: [PATCH] In which I unfuck Life()... SLIGHTLY. --- code/game/turfs/turf.dm | 2 +- code/modules/mob/living/carbon/human/life.dm | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/code/game/turfs/turf.dm b/code/game/turfs/turf.dm index f524ec5712b..118f63530ea 100644 --- a/code/game/turfs/turf.dm +++ b/code/game/turfs/turf.dm @@ -1,7 +1,7 @@ /turf icon = 'icons/turf/floors.dmi' level = 1.0 - luminosity = 1 + luminosity = 0 //for floors, use is_plating(), is_plasteel_floor() and is_light_floor() var/intact = 1 diff --git a/code/modules/mob/living/carbon/human/life.dm b/code/modules/mob/living/carbon/human/life.dm index 9cb340c7fa1..ab942f7f6de 100644 --- a/code/modules/mob/living/carbon/human/life.dm +++ b/code/modules/mob/living/carbon/human/life.dm @@ -1151,6 +1151,8 @@ var/global/list/brutefireloss_overlays = list("1" = image("icon" = 'icons/mob/sc if(85 to INFINITY) damageoverlay.overlays += brutefireloss_overlays["6"]//image("icon" = 'icons/mob/screen1_full.dmi', "icon_state" = "brutedamageoverlay6") //damageoverlay.overlays += I + + see_invisible = SEE_INVISIBLE_LIVING if( stat == DEAD ) sight |= (SEE_TURFS|SEE_MOBS|SEE_OBJS) see_in_dark = 8 @@ -1206,6 +1208,8 @@ var/global/list/brutefireloss_overlays = list("1" = image("icon" = 'icons/mob/sc if(istype(H)) if(H.vision_flags) // MESONS sight |= H.vision_flags + if(!druggy) + see_invisible = SEE_INVISIBLE_MINIMUM if(!H.see_darkness) see_invisible = SEE_INVISIBLE_MINIMUM /* HUD shit goes here, as long as it doesn't modify sight flags */