mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-27 22:18:27 +01:00
19 lines
610 B
Plaintext
19 lines
610 B
Plaintext
// Constantly emites radiation from the tile it's placed on.
|
|
/obj/effect/map_effect/radiation_emitter
|
|
name = "radiation emitter"
|
|
icon_state = "radiation_emitter"
|
|
var/radiation_power = 30 // Bigger numbers means more radiation.
|
|
|
|
/obj/effect/map_effect/radiation_emitter/initialize()
|
|
processing_objects += src
|
|
return ..()
|
|
|
|
/obj/effect/map_effect/radiation_emitter/Destroy()
|
|
processing_objects -= src
|
|
return ..()
|
|
|
|
/obj/effect/map_effect/radiation_emitter/process()
|
|
radiation_repository.radiate(src, radiation_power)
|
|
|
|
/obj/effect/map_effect/radiation_emitter/strong
|
|
radiation_power = 100 |