mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-30 16:38:22 +01:00
Misc lighting fixes (#21600)
- Fixes hull beacons, radial lights and decal light sources not emitting light. Thunderdome is no longer dark, fixes #21565 and fixes #21567 - Fixes radial lights not drawing any power from the powernet it's connected to. Also refactors its toggle logic, since it never stopped processing despite `STOP_PROCESSING` macro
This commit is contained in:
@@ -51,8 +51,8 @@
|
||||
|
||||
/obj/effect/decal/fake_object/light_source/Initialize()
|
||||
.=..()
|
||||
set_light(light_power, light_range, light_color)
|
||||
set_light(light_range, light_power, light_color)
|
||||
|
||||
/obj/effect/decal/fake_object/light_source/invisible
|
||||
simulated = 0
|
||||
invisibility = 101
|
||||
simulated = FALSE
|
||||
invisibility = INVISIBILITY_ABSTRACT
|
||||
|
||||
@@ -3,6 +3,12 @@
|
||||
desc = "A light-emitting hull beacon."
|
||||
icon = 'icons/obj/lighting.dmi'
|
||||
anchored = TRUE
|
||||
light_system = MOVABLE_LIGHT
|
||||
light_range = 3
|
||||
|
||||
/obj/item/hullbeacon/Initialize()
|
||||
. = ..()
|
||||
set_light_on(TRUE)
|
||||
|
||||
/obj/item/hullbeacon/attack_hand(mob/user)
|
||||
return
|
||||
@@ -12,11 +18,9 @@
|
||||
desc = "A red, light-emitting hull beacon."
|
||||
icon_state = "beacon_red_on"
|
||||
light_color = LIGHT_COLOR_RED
|
||||
light_range = 3
|
||||
|
||||
/obj/item/hullbeacon/green
|
||||
name = "green hull beacon"
|
||||
desc = "A green, light-emitting hull beacon."
|
||||
icon_state = "beacon_green_on"
|
||||
light_color = LIGHT_COLOR_GREEN
|
||||
light_range = 3
|
||||
|
||||
Reference in New Issue
Block a user