Revert "Merge pull request #15929 from JerryWester/revert-15894-modsuits"

This reverts commit 48e713ff33, reversing
changes made to efb2d19cb9.
This commit is contained in:
KrissKr0ss
2023-05-01 00:16:20 -05:00
parent 133ad142a5
commit 66aa1cb05c
87 changed files with 6809 additions and 40 deletions
+3 -3
View File
@@ -817,7 +817,7 @@
mecha_flags &= ~SILICON_PILOT
AI.forceMove(card)
card.AI = AI
AI.controlled_mech = null
AI.controlled_equipment = null
AI.remote_control = null
to_chat(AI, "<span class='notice'>You have been downloaded to a mobile storage device. Wireless connection offline.</span>")
to_chat(user, "<span class='boldnotice'>Transfer successful</span>: [AI.name] ([rand(1000,9999)].exe) removed from [name] and stored within local memory.")
@@ -856,7 +856,7 @@
mecha_flags |= SILICON_PILOT
moved_inside(AI)
AI.cancel_camera()
AI.controlled_mech = src
AI.controlled_equipment = src
AI.remote_control = src
AI.mobility_flags = ALL //Much easier than adding AI checks! Be sure to set this back to 0 if you decide to allow an AI to leave a mech somehow.
if(interaction == AI_MECH_HACK)
@@ -1083,7 +1083,7 @@
AI.linked_core = null
return
to_chat(AI, "<span class='notice'>Returning to core...</span>")
AI.controlled_mech = null
AI.controlled_equipment = null
AI.remote_control = null
mob_container = AI
newloc = get_turf(AI.linked_core)
@@ -57,6 +57,8 @@
"Exosuit Equipment",
"Exosuit Ammunition",
"Cyborg Upgrade Modules",
"MODsuit Chassis",
"MODsuit Modules",
"Cybernetics",
"Implants",
"Control Interfaces",
@@ -35,7 +35,7 @@
AI.death() //The damage is not enough to kill the AI, but to be 'corrupted files' in need of repair.
AI.forceMove(src) //Put the dead AI inside the wreckage for recovery
add_overlay(mutable_appearance('icons/obj/projectiles.dmi', "green_laser")) //Overlay for the recovery beacon
AI.controlled_mech = null
AI.controlled_equipment = null
AI.remote_control = null
/obj/structure/mecha_wreckage/Destroy()