mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 19:22:56 +00:00
Merge pull request #10499 from PsiOmegaDelta/150811-BorgRadio
Fixes #10494.
This commit is contained in:
@@ -578,7 +578,6 @@
|
|||||||
if(keyslot.syndie)
|
if(keyslot.syndie)
|
||||||
src.syndie = 1
|
src.syndie = 1
|
||||||
|
|
||||||
|
|
||||||
for (var/ch_name in src.channels)
|
for (var/ch_name in src.channels)
|
||||||
if(!radio_controller)
|
if(!radio_controller)
|
||||||
sleep(30) // Waiting for the radio_controller to be created.
|
sleep(30) // Waiting for the radio_controller to be created.
|
||||||
|
|||||||
@@ -182,7 +182,7 @@
|
|||||||
aiCamera = new/obj/item/device/camera/siliconcam/robot_camera(src)
|
aiCamera = new/obj/item/device/camera/siliconcam/robot_camera(src)
|
||||||
|
|
||||||
laws = new /datum/ai_laws/syndicate_override
|
laws = new /datum/ai_laws/syndicate_override
|
||||||
module = new /obj/item/weapon/robot_module/syndicate(src)
|
new /obj/item/weapon/robot_module/syndicate(src)
|
||||||
|
|
||||||
radio.keyslot = new /obj/item/device/encryptionkey/syndicate(radio)
|
radio.keyslot = new /obj/item/device/encryptionkey/syndicate(radio)
|
||||||
radio.recalculateChannels()
|
radio.recalculateChannels()
|
||||||
@@ -263,7 +263,7 @@
|
|||||||
return
|
return
|
||||||
|
|
||||||
var/module_type = robot_modules[modtype]
|
var/module_type = robot_modules[modtype]
|
||||||
module = new module_type(src)
|
new module_type(src)
|
||||||
|
|
||||||
hands.icon_state = lowertext(modtype)
|
hands.icon_state = lowertext(modtype)
|
||||||
feedback_inc("cyborg_[lowertext(modtype)]",1)
|
feedback_inc("cyborg_[lowertext(modtype)]",1)
|
||||||
|
|||||||
@@ -39,6 +39,8 @@ var/global/list/robot_modules = list(
|
|||||||
|
|
||||||
/obj/item/weapon/robot_module/New(var/mob/living/silicon/robot/R)
|
/obj/item/weapon/robot_module/New(var/mob/living/silicon/robot/R)
|
||||||
..()
|
..()
|
||||||
|
R.module = src
|
||||||
|
|
||||||
add_camera_networks(R)
|
add_camera_networks(R)
|
||||||
add_languages(R)
|
add_languages(R)
|
||||||
add_subsystems(R)
|
add_subsystems(R)
|
||||||
@@ -69,7 +71,7 @@ var/global/list/robot_modules = list(
|
|||||||
synths = null
|
synths = null
|
||||||
emag = null
|
emag = null
|
||||||
jetpack = null
|
jetpack = null
|
||||||
..()
|
return ..()
|
||||||
|
|
||||||
/obj/item/weapon/robot_module/emp_act(severity)
|
/obj/item/weapon/robot_module/emp_act(severity)
|
||||||
if(modules)
|
if(modules)
|
||||||
|
|||||||
Reference in New Issue
Block a user