mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
Port current /tg/ lighting system
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
name = "lantern"
|
||||
icon_state = "lantern"
|
||||
desc = "A mining lantern."
|
||||
brightness_on = 6 // luminosity when on
|
||||
light_range = 6 // luminosity when on
|
||||
light_color = "FF9933" // A slight yellow/orange color.
|
||||
|
||||
/*****************************Pickaxe********************************/
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
/obj/structure/outcrop/Initialize()
|
||||
. = ..()
|
||||
if(prob(1))
|
||||
overlays += image(icon, "[initial(icon_state)]-egg")
|
||||
add_overlay("[initial(icon_state)]-egg")
|
||||
|
||||
/obj/structure/outcrop/diamond
|
||||
name = "shiny outcrop"
|
||||
|
||||
@@ -134,7 +134,7 @@ turf/simulated/mineral/floor/light_corner
|
||||
|
||||
/turf/simulated/mineral/proc/update_general()
|
||||
update_icon(1)
|
||||
recalc_atom_opacity()
|
||||
recalculate_directional_opacity()
|
||||
if(ticker && ticker.current_state == GAME_STATE_PLAYING)
|
||||
reconsider_lights()
|
||||
if(air_master)
|
||||
|
||||
@@ -266,6 +266,7 @@ GLOBAL_LIST_EMPTY(unique_deployable)
|
||||
light_range = 5
|
||||
light_power = 1.2
|
||||
light_color = "#DDFFD3"
|
||||
light_on = TRUE
|
||||
pixel_y = -4
|
||||
max_n_of_items = 100
|
||||
|
||||
@@ -331,6 +332,7 @@ GLOBAL_LIST_EMPTY(unique_deployable)
|
||||
light_range = 3
|
||||
light_power = 1
|
||||
light_color = "#FFFFFF"
|
||||
light_on = TRUE
|
||||
|
||||
/obj/structure/fans/hardlight/ex_act()
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user