|
|
|
@@ -1,5 +1,5 @@
|
|
|
|
|
/obj/item/device/radio/headset
|
|
|
|
|
name = "Radio Headset"
|
|
|
|
|
name = "radio headset"
|
|
|
|
|
desc = "An updated, modular intercom that fits over the head. Takes encryption keys"
|
|
|
|
|
icon_state = "headset"
|
|
|
|
|
item_state = "headset"
|
|
|
|
@@ -36,112 +36,112 @@
|
|
|
|
|
recalculateChannels()
|
|
|
|
|
|
|
|
|
|
/obj/item/device/radio/headset/headset_sec
|
|
|
|
|
name = "Security Radio Headset"
|
|
|
|
|
name = "security radio headset"
|
|
|
|
|
desc = "This is used by your elite security force. To access the security channel, use :s."
|
|
|
|
|
icon_state = "sec_headset"
|
|
|
|
|
item_state = "headset"
|
|
|
|
|
keyslot2 = new /obj/item/device/encryptionkey/headset_sec
|
|
|
|
|
|
|
|
|
|
/obj/item/device/radio/headset/headset_eng
|
|
|
|
|
name = "Engineering Radio Headset"
|
|
|
|
|
name = "engineering radio headset"
|
|
|
|
|
desc = "When the engineers wish to chat like girls. To access the engineering channel, use :e. "
|
|
|
|
|
icon_state = "eng_headset"
|
|
|
|
|
item_state = "headset"
|
|
|
|
|
keyslot2 = new /obj/item/device/encryptionkey/headset_eng
|
|
|
|
|
|
|
|
|
|
/obj/item/device/radio/headset/headset_rob
|
|
|
|
|
name = "Robotics Radio Headset"
|
|
|
|
|
name = "robotics radio headset"
|
|
|
|
|
desc = "Made specifically for the roboticists who cannot decide between departments. To access the engineering channel, use :e. For research, use :n."
|
|
|
|
|
icon_state = "rob_headset"
|
|
|
|
|
item_state = "headset"
|
|
|
|
|
keyslot2 = new /obj/item/device/encryptionkey/headset_rob
|
|
|
|
|
|
|
|
|
|
/obj/item/device/radio/headset/headset_med
|
|
|
|
|
name = "Medical Radio Headset"
|
|
|
|
|
name = "medical radio headset"
|
|
|
|
|
desc = "A headset for the trained staff of the medbay. To access the medical channel, use :m."
|
|
|
|
|
icon_state = "med_headset"
|
|
|
|
|
item_state = "headset"
|
|
|
|
|
keyslot2 = new /obj/item/device/encryptionkey/headset_med
|
|
|
|
|
|
|
|
|
|
/obj/item/device/radio/headset/headset_sci
|
|
|
|
|
name = "Science Radio Headset"
|
|
|
|
|
name = "science radio headset"
|
|
|
|
|
desc = "A sciency headset. Like usual. To access the science channel, use :n."
|
|
|
|
|
icon_state = "com_headset"
|
|
|
|
|
item_state = "headset"
|
|
|
|
|
keyslot2 = new /obj/item/device/encryptionkey/headset_sci
|
|
|
|
|
|
|
|
|
|
/obj/item/device/radio/headset/headset_medsci
|
|
|
|
|
name = "Medical Research Radio Headset"
|
|
|
|
|
name = "medical research radio headset"
|
|
|
|
|
desc = "A headset that is a result of the mating between medical and science. To access the medical channel, use :m. For science, use :n."
|
|
|
|
|
icon_state = "med_headset"
|
|
|
|
|
item_state = "headset"
|
|
|
|
|
keyslot2 = new /obj/item/device/encryptionkey/headset_medsci
|
|
|
|
|
|
|
|
|
|
/obj/item/device/radio/headset/headset_com
|
|
|
|
|
name = "Command Radio Headset"
|
|
|
|
|
name = "command radio headset"
|
|
|
|
|
desc = "A headset with a commanding channel. To access the command channel, use :c."
|
|
|
|
|
icon_state = "com_headset"
|
|
|
|
|
item_state = "headset"
|
|
|
|
|
keyslot2 = new /obj/item/device/encryptionkey/headset_com
|
|
|
|
|
|
|
|
|
|
/obj/item/device/radio/headset/heads/captain
|
|
|
|
|
name = "Captain's Headset"
|
|
|
|
|
name = "captain's headset"
|
|
|
|
|
desc = "The headset of the boss. Channels are as follows: :c - command, :s - security, :e - engineering, :d - mining, :q - cargo, :m - medical, :n - science."
|
|
|
|
|
icon_state = "com_headset"
|
|
|
|
|
item_state = "headset"
|
|
|
|
|
keyslot2 = new /obj/item/device/encryptionkey/heads/captain
|
|
|
|
|
|
|
|
|
|
/obj/item/device/radio/headset/heads/rd
|
|
|
|
|
name = "Research Director's Headset"
|
|
|
|
|
name = "Research Director's headset"
|
|
|
|
|
desc = "Headset of the researching God. To access the science channel, use :n. For command, use :c."
|
|
|
|
|
icon_state = "com_headset"
|
|
|
|
|
item_state = "headset"
|
|
|
|
|
keyslot2 = new /obj/item/device/encryptionkey/heads/rd
|
|
|
|
|
|
|
|
|
|
/obj/item/device/radio/headset/heads/hos
|
|
|
|
|
name = "Head of Security's Headset"
|
|
|
|
|
name = "head of security's headset"
|
|
|
|
|
desc = "The headset of the man who protects your worthless lifes. To access the security channel, use :s. For command, use :c."
|
|
|
|
|
icon_state = "com_headset"
|
|
|
|
|
item_state = "headset"
|
|
|
|
|
keyslot2 = new /obj/item/device/encryptionkey/heads/hos
|
|
|
|
|
|
|
|
|
|
/obj/item/device/radio/headset/heads/ce
|
|
|
|
|
name = "Chief Engineer's Headset"
|
|
|
|
|
name = "chief engineer's headset"
|
|
|
|
|
desc = "The headset of the guy who is in charge of morons. To access the engineering channel, use :e. For command, use :c."
|
|
|
|
|
icon_state = "com_headset"
|
|
|
|
|
item_state = "headset"
|
|
|
|
|
keyslot2 = new /obj/item/device/encryptionkey/heads/ce
|
|
|
|
|
|
|
|
|
|
/obj/item/device/radio/headset/heads/cmo
|
|
|
|
|
name = "Chief Medical Officer's Headset"
|
|
|
|
|
name = "chief medical officer's headset"
|
|
|
|
|
desc = "The headset of the highly trained medical chief. To access the medical channel, use :m. For command, use :c."
|
|
|
|
|
icon_state = "com_headset"
|
|
|
|
|
item_state = "headset"
|
|
|
|
|
keyslot2 = new /obj/item/device/encryptionkey/heads/cmo
|
|
|
|
|
|
|
|
|
|
/obj/item/device/radio/headset/heads/hop
|
|
|
|
|
name = "Head of Personnel's Headset"
|
|
|
|
|
name = "head of personnel's headset"
|
|
|
|
|
desc = "The headset of the guy who will one day be captain. Channels are as follows: :c - command, :s - security, :q - cargo, :d - mining."
|
|
|
|
|
icon_state = "com_headset"
|
|
|
|
|
item_state = "headset"
|
|
|
|
|
keyslot2 = new /obj/item/device/encryptionkey/heads/hop
|
|
|
|
|
|
|
|
|
|
/obj/item/device/radio/headset/headset_mine
|
|
|
|
|
name = "Mining Radio Headset"
|
|
|
|
|
name = "mining radio headset"
|
|
|
|
|
desc = "Headset used by miners. How useless. To access the mining channel, use :d."
|
|
|
|
|
icon_state = "mine_headset"
|
|
|
|
|
item_state = "headset"
|
|
|
|
|
keyslot2 = new /obj/item/device/encryptionkey/headset_mine
|
|
|
|
|
|
|
|
|
|
/obj/item/device/radio/headset/heads/qm
|
|
|
|
|
name = "Quartermaster's Headset"
|
|
|
|
|
name = "quartermaster's headset"
|
|
|
|
|
desc = "The headset of the man who control your toiletpaper supply. To access the cargo channel, use :q. For mining, use :d."
|
|
|
|
|
icon_state = "cargo_headset"
|
|
|
|
|
item_state = "headset"
|
|
|
|
|
keyslot2 = new /obj/item/device/encryptionkey/heads/qm
|
|
|
|
|
|
|
|
|
|
/obj/item/device/radio/headset/headset_cargo
|
|
|
|
|
name = "Cargo Radio Headset"
|
|
|
|
|
name = "cargo radio headset"
|
|
|
|
|
desc = "Headset used by the QM's slaves. To access the cargo channel, use :q."
|
|
|
|
|
icon_state = "cargo_headset"
|
|
|
|
|
item_state = "headset"
|
|
|
|
@@ -240,7 +240,7 @@
|
|
|
|
|
if(!radio_controller)
|
|
|
|
|
sleep(30) // Waiting for the radio_controller to be created.
|
|
|
|
|
if(!radio_controller)
|
|
|
|
|
src.name = "Broken Radio Headset"
|
|
|
|
|
src.name = "broken radio headset"
|
|
|
|
|
return
|
|
|
|
|
|
|
|
|
|
secure_radio_connections[ch_name] = radio_controller.add_object(src, radiochannels[ch_name], RADIO_CHAT)
|
|
|
|
|