Remote Mech Revision (#8903)

The AI can now remotely control mechs in its network. It has one mapped in near its core.
    Messages received by your old body will now reach your VR body (does not affect Skrell Srom).
    Exosuit pilots can now interact with elevator panels without having to get out.
    Robotics and RnD can now create remote controlled mechs. The control centre is in the protolathe, while the exosuit upgrade is in the circuit imprinter.
    Mechs can no longer be dismantled if it has a pilot in it.
    Dismantling a mech now takes a while.
This commit is contained in:
Geeves
2020-05-30 15:20:16 +02:00
committed by GitHub
parent aa39c8ca42
commit 19b1ddb869
37 changed files with 878 additions and 2937 deletions

View File

@@ -132,6 +132,7 @@
#define ui_ai_track_with_camera "SOUTH:6+1,WEST+2:16"
#define ui_ai_camera_light "SOUTH:6+1,WEST+3:16"
#define ui_ai_sensor "SOUTH:6+1,WEST+4:16"
#define ui_ai_mech "SOUTH:6+1,WEST+5:16"
#define ui_ai_core "SOUTH:6,WEST+1:16"
#define ui_ai_crew_monitor "SOUTH:6,WEST+2:16"

View File

@@ -20,9 +20,10 @@
new /obj/screen/ai/take_image,
new /obj/screen/ai/view_image,
new /obj/screen/ai/sensor_aug,
new /obj/screen/ai/remote_mech,
new /obj/screen/ai/move_up,
new /obj/screen/ai/move_down,
myai.computer
)
mymob.client.screen += adding + other
mymob.client.screen += adding + other

View File

@@ -180,6 +180,16 @@
var/mob/living/silicon/ai/AI = usr
AI.sensor_mode()
/obj/screen/ai/remote_mech
name = "Remote Control Mech"
icon_state = "remote_mech"
screen_loc = ui_ai_mech
/obj/screen/ai/remote_mech/Click()
if(isAI(usr))
var/mob/living/silicon/ai/AI = usr
AI.remote_control_mech()
/obj/screen/ai/move_up
name = "Move Up"
icon_state = "move_up"