mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-20 19:43:13 +01:00
- 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
27 lines
623 B
Plaintext
27 lines
623 B
Plaintext
/obj/item/hullbeacon
|
|
name = "hull beacon"
|
|
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
|
|
|
|
/obj/item/hullbeacon/red
|
|
name = "red hull beacon"
|
|
desc = "A red, light-emitting hull beacon."
|
|
icon_state = "beacon_red_on"
|
|
light_color = LIGHT_COLOR_RED
|
|
|
|
/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
|