mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-29 18:40:42 +00:00
## About The Pull Request [Removes redundant uses of luminosity](dd4ec1fc73) I had a bunch of these left over from an old pr, sweep sweep (Made redundant because mobs can see through all byond darkness now) [Starts working on the fire alarm lighting](b555ba00c6) Dimmer but wider fire alarms, dimmer but MUCH wider lights. The idea is to highlight fire alarms while providing a not pitchblack but vibey space. ## Why It's Good For The Game https://github.com/tgstation/tgstation/assets/58055496/5058bab4-0b04-4891-82d7-e3130711e5d0 Looks nice ## Changelog 🆑 fix: Fire alarms no longer cause pitch blackness, instead creating a dark but not black red light. /🆑
24 lines
786 B
Plaintext
24 lines
786 B
Plaintext
/// Portable mining radio purchasable by miners
|
|
/obj/item/radio/weather_monitor
|
|
icon = 'icons/obj/miningradio.dmi'
|
|
name = "mining weather radio"
|
|
icon_state = "miningradio"
|
|
desc = "A weather radio designed for use in inhospitable environments. Gives audible warnings when storms approach. Has access to cargo channel."
|
|
freqlock = RADIO_FREQENCY_LOCKED
|
|
light_power = 1
|
|
light_range = 1.6
|
|
|
|
/obj/item/radio/weather_monitor/update_overlays()
|
|
. = ..()
|
|
. += emissive_appearance(icon, "small_emissive", src, alpha = src.alpha)
|
|
|
|
/obj/item/radio/weather_monitor/Initialize(mapload)
|
|
. = ..()
|
|
AddComponent( \
|
|
/datum/component/weather_announcer, \
|
|
state_normal = "weatherwarning", \
|
|
state_warning = "urgentwarning", \
|
|
state_danger = "direwarning", \
|
|
)
|
|
set_frequency(FREQ_SUPPLY)
|