diff --git a/code/modules/mob/living/silicon/ai/ai.dm b/code/modules/mob/living/silicon/ai/ai.dm
index fef33432611..afc8e8d7100 100644
--- a/code/modules/mob/living/silicon/ai/ai.dm
+++ b/code/modules/mob/living/silicon/ai/ai.dm
@@ -98,6 +98,8 @@
var/list/cam_hotkeys = new/list(9)
var/cam_prev
+ var/datum/robot_control/robot_control
+
/mob/living/silicon/ai/Initialize(mapload, datum/ai_laws/L, mob/target_ai)
. = ..()
if(!target_ai) //If there is no player/brain inside.
@@ -414,25 +416,6 @@
else
to_chat(src, "Target is not on or near any active cameras on the station.")
return
- if(href_list["callbot"]) //Command a bot to move to a selected location.
- if(call_bot_cooldown > world.time)
- to_chat(src, "Error: Your last call bot command is still processing, please wait for the bot to finish calculating a route.")
- return
- Bot = locate(href_list["callbot"]) in GLOB.alive_mob_list
- if(!Bot || Bot.remote_disabled || control_disabled)
- return //True if there is no bot found, the bot is manually emagged, or the AI is carded with wireless off.
- waypoint_mode = 1
- to_chat(src, "Set your waypoint by clicking on a valid location free of obstructions.")
- return
- if(href_list["interface"]) //Remotely connect to a bot!
- Bot = locate(href_list["interface"]) in GLOB.alive_mob_list
- if(!Bot || Bot.remote_disabled || control_disabled)
- return
- Bot.attack_ai(src)
- if(href_list["botrefresh"]) //Refreshes the bot control panel.
- botcall()
- return
-
if (href_list["ai_take_control"]) //Mech domination
var/obj/mecha/M = locate(href_list["ai_take_control"]) in GLOB.mechas_list
if (!M)
@@ -478,33 +461,11 @@
set category = "AI Commands"
set name = "Access Robot Control"
set desc = "Wirelessly control various automatic robots."
- if(incapacitated())
- return
- if(control_disabled)
- to_chat(src, "Wireless control is disabled.")
- return
- var/turf/ai_current_turf = get_turf(src)
- var/ai_Zlevel = ai_current_turf.z
- var/d
- d += "Query network status
"
- d += "