Skip to content

Commit

Permalink
проверка на рантаймы
Browse files Browse the repository at this point in the history
  • Loading branch information
YegorKandziuba committed Mar 7, 2024
1 parent 09b0ac4 commit 98fb984
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
6 changes: 4 additions & 2 deletions code/controllers/subsystems/skybox.dm
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ SUBSYSTEM_DEF(skybox)
var/static/background_color

/// The same hue as background_color, but with a low saturation and high value
var/static/starlight_color
//var/static/starlight_color

/// The skybox icon file to use for backgrounds. Expects to be 736x736
var/static/skybox_icon = 'icons/skybox/skybox.dmi'
Expand Down Expand Up @@ -47,10 +47,12 @@ SUBSYSTEM_DEF(skybox)
space.icon_state = "white"
space.AddOverlays(dust)
space_appearance_cache[index] = space.appearance
background_color = RANDOM_RGB
/*
var/hue = rand(0, 359)
background_color = rgb(hue, rand(25, 80), rand(25, 80), space=COLORSPACE_HSV)
starlight_color = rgb(hue, 25, 90, space=COLORSPACE_HSV)

*/


/datum/controller/subsystem/skybox/proc/get_skybox(z)
Expand Down
14 changes: 13 additions & 1 deletion maps/sierra/z1-z5_sierra.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -30618,7 +30618,7 @@
dir = 9
},
/obj/machinery/flasher{
id_tag = "security_perm_chamber_flash";
id_tag = "security_pod_flash";
name = "Floor mounted flash"
},
/turf/simulated/floor/tiled/dark,
Expand Down Expand Up @@ -51263,6 +51263,10 @@
/obj/floor_decal/techfloor/hole{
dir = 1
},
/obj/machinery/flasher{
id_tag = "security_pod_flash";
name = "Floor mounted flash"
},
/turf/simulated/floor/tiled/techfloor/grid,
/area/shuttle/escape_pod/escape_pod5/station)
"hBo" = (
Expand Down Expand Up @@ -103132,6 +103136,14 @@
dir = 4
},
/obj/machinery/atmospherics/pipe/simple/hidden,
/obj/machinery/button/flasher{
id_tag = "security_pod_flash";
name = "Chamber Flasher";
pixel_x = 28;
pixel_y = 10;
dir = 8;
req_access = list("ACCESS_SECURITY")
},
/turf/simulated/floor/tiled/steel_grid,
/area/shuttle/escape_pod/escape_pod5/station)
"pmJ" = (
Expand Down

0 comments on commit 98fb984

Please sign in to comment.