mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 03:33:21 +00:00
Working theory
This commit is contained in:
@@ -132,11 +132,7 @@
|
|||||||
/mob/living/carbon/human/proc/getlightlevel() //easier than having the same code in like three places
|
/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
|
if(isturf(src.loc)) //else, there's considered to be no light
|
||||||
var/turf/T = src.loc
|
var/turf/T = src.loc
|
||||||
var/atom/movable/lighting_overlay/L = locate(/atom/movable/lighting_overlay) in T
|
return T.get_lumcount() * 5
|
||||||
if(L)
|
|
||||||
return (2 * (min(5,L.lum_r + L.lum_g + L.lum_b) - 2.5))
|
|
||||||
else
|
|
||||||
return 5
|
|
||||||
else return 0
|
else return 0
|
||||||
|
|
||||||
/mob/living/carbon/human/proc/handle_feral()
|
/mob/living/carbon/human/proc/handle_feral()
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
icon_state = "red"
|
icon_state = "red"
|
||||||
base_turf = /turf/simulated/floor/beach/sand
|
base_turf = /turf/simulated/floor/beach/sand
|
||||||
luminosity = 1
|
luminosity = 1
|
||||||
lighting_use_dynamic = 0
|
dynamic_lighting = 0
|
||||||
requires_power = 0
|
requires_power = 0
|
||||||
|
|
||||||
/area/awaymission/beach/coast
|
/area/awaymission/beach/coast
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
icon_state = "green"
|
icon_state = "green"
|
||||||
requires_power = 1
|
requires_power = 1
|
||||||
always_unpowered = 1
|
always_unpowered = 1
|
||||||
lighting_use_dynamic = 1
|
dynamic_lighting = 1
|
||||||
power_light = 0
|
power_light = 0
|
||||||
power_equip = 0
|
power_equip = 0
|
||||||
power_environ = 0
|
power_environ = 0
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
/area/awaymission/zoo
|
/area/awaymission/zoo
|
||||||
icon_state = "green"
|
icon_state = "green"
|
||||||
requires_power = 0
|
requires_power = 0
|
||||||
lighting_use_dynamic = 0
|
dynamic_lighting = 0
|
||||||
ambience = list('sound/ambience/ambispace.ogg','sound/music/title2.ogg','sound/music/space.ogg','sound/music/main.ogg','sound/music/traitor.ogg')
|
ambience = list('sound/ambience/ambispace.ogg','sound/music/title2.ogg','sound/music/space.ogg','sound/music/main.ogg','sound/music/traitor.ogg')
|
||||||
|
|
||||||
/area/awaymission/zoo/solars
|
/area/awaymission/zoo/solars
|
||||||
|
|||||||
Reference in New Issue
Block a user