mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-26 01:52:15 +00:00
Moved the radio defines into the actual radio code files. Fixed a few runtimes. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2229 316c924e-a436-60f5-8080-3fe189b3f50e
35 lines
750 B
Plaintext
35 lines
750 B
Plaintext
/obj/item/device/radio/beacon
|
|
name = "Tracking Beacon"
|
|
desc = "A beacon used by a teleporter."
|
|
icon_state = "beacon"
|
|
item_state = "signaler"
|
|
var/code = "electronic"
|
|
origin_tech = "bluespace=1"
|
|
|
|
|
|
/obj/item/device/radio/beacon/hear_talk()
|
|
return
|
|
|
|
|
|
/obj/item/device/radio/beacon/send_hear()
|
|
return null
|
|
|
|
|
|
/obj/item/device/radio/beacon/verb/alter_signal(t as text)
|
|
set name = "Alter Beacon's Signal"
|
|
set category = "Object"
|
|
set src in usr
|
|
|
|
if ((usr.canmove && !( usr.restrained() )))
|
|
src.code = t
|
|
if (!( src.code ))
|
|
src.code = "beacon"
|
|
src.add_fingerprint(usr)
|
|
return
|
|
|
|
|
|
/obj/item/device/radio/beacon/bacon //Probably a better way of doing this, I'm lazy.
|
|
proc/digest_delay()
|
|
spawn(600)
|
|
del(src)
|