Skip to content

Commit

Permalink
Merge pull request TS-Rogue-Star#295 from Very-Soft/moarredgateuwu
Browse files Browse the repository at this point in the history
Fixes how certain lights work in certain situations, and preps some unfinished stuff
  • Loading branch information
Very-Soft authored May 13, 2024
2 parents fe10fa7 + d2ae679 commit 6c1e17a
Show file tree
Hide file tree
Showing 7 changed files with 20,328 additions and 1 deletion.
2 changes: 2 additions & 0 deletions code/game/objects/effects/overlays.dm
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@
icon = 'icons/effects/light_overlays/light_32.dmi'
icon_state = "light"
plane = PLANE_O_LIGHTING_VISUAL
layer = 999 //RS ADD
appearance_flags = RESET_COLOR | RESET_ALPHA | RESET_TRANSFORM
mouse_opacity = MOUSE_OPACITY_TRANSPARENT
alpha = 0
Expand All @@ -157,6 +158,7 @@
icon = 'icons/effects/light_overlays/light_cone.dmi'
icon_state = "light"
plane = PLANE_O_LIGHTING_VISUAL
layer = 999 //RS ADD
appearance_flags = RESET_COLOR | RESET_ALPHA | RESET_TRANSFORM
mouse_opacity = MOUSE_OPACITY_TRANSPARENT
vis_flags = NONE
Expand Down
14 changes: 14 additions & 0 deletions code/modules/lighting/lighting_fake_sun_vr.dm
Original file line number Diff line number Diff line change
Expand Up @@ -217,3 +217,17 @@ var/static/list/fake_sunlight_zs = list()
"color" = "#1c49ff"
)
)

//RS ADD START
/obj/effect/fake_sun/gloom
name = "gloomy fake sun"
do_weather = TRUE
weather_visuals_icon = 'icons/effects/weather.dmi'
weather_visuals_icon_state = "fog"
possible_light_setups = list(
list(
"brightness" = 1,
"color" = "#8627b3"
)
)
//RS ADD END
1 change: 0 additions & 1 deletion code/modules/mob/dead/corpse.dm
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@
M.real_name = generateCorpseName()
M.set_stat(DEAD) //Kills the new mob
if(corpsesynthtype > 0)
to_world("Synth")
if(!corpsesynthbrand)
corpsesynthbrand = "Unbranded"
for(var/obj/item/organ/external/O in M.organs)
Expand Down
21 changes: 21 additions & 0 deletions code/modules/power/lighting_vr.dm
Original file line number Diff line number Diff line change
Expand Up @@ -246,3 +246,24 @@

/obj/machinery/light/small/torch/attackby()
return

//RS ADD START

/obj/light_object/torch
icon = 'icons/obj/lighting_vr.dmi'
name = "wall torch"
icon_state = "torch1"
desc = "A small torch held in a wall sconce."
anchored = TRUE
density = FALSE

light_system = MOVABLE_LIGHT
light_range = 6 // Pretty bright.
light_power = 1
light_color = "#fabf87"

/obj/light_object/torch/Initialize(mapload)
. = ..()
set_light_on(TRUE)

//RS ADD END
1 change: 1 addition & 0 deletions maps/groundbase/groundbase_defines.dm
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@
"Fantasy Town" = list("Redgate - Fantasy Dungeon", "Redgate - Fantasy Town"),
"Snowglobe" = list("Redgate - Snowglobe"),
"Pet Island" = list("Redgate - Pet Island")
// "North Star" = list("Redgate - North Star") // Not ready yet
)

lateload_gb_north = list(
Expand Down
5 changes: 5 additions & 0 deletions maps/offmap_vr/common_offmaps.dm
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,11 @@
desc = "A cozy island with a bunch of potential pets on it!"
mappath = 'maps/redgate/petisland.dmm'

/datum/map_template/common_lateload/redgate/northstar
name = "Redgate - North Star"
desc = "A mysterious gloomy land."
mappath = 'maps/redgate/da2ns.dmm'

// RS EDIT END

//////////////////////////////////////////////////////////////////////////////////////
Expand Down
Loading

0 comments on commit 6c1e17a

Please sign in to comment.