Working theory

This commit is contained in:
Leshana
2017-04-13 14:22:27 -04:00
parent 7a4dc4bf79
commit e156339dbd
4 changed files with 4 additions and 8 deletions
@@ -132,11 +132,7 @@
/mob/living/carbon/human/proc/getlightlevel() //easier than having the same code in like three places
if(isturf(src.loc)) //else, there's considered to be no light
var/turf/T = src.loc
var/atom/movable/lighting_overlay/L = locate(/atom/movable/lighting_overlay) in T
if(L)
return (2 * (min(5,L.lum_r + L.lum_g + L.lum_b) - 2.5))
else
return 5
return T.get_lumcount() * 5
else return 0
/mob/living/carbon/human/proc/handle_feral()