mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-01-22 23:33:19 +00:00
19 lines
597 B
Plaintext
19 lines
597 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()
|
|
START_PROCESSING(SSobj, src)
|
|
return ..()
|
|
|
|
/obj/effect/map_effect/radiation_emitter/Destroy()
|
|
STOP_PROCESSING(SSobj, 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 |