This commit is contained in:
kevinz000
2020-01-16 00:21:21 -07:00
parent 350c5aa060
commit 1d184b8cad
6 changed files with 11 additions and 10 deletions
+1 -1
View File
@@ -180,7 +180,7 @@ Class Procs:
A.forceMove(T)
if(isliving(A))
var/mob/living/L = A
L.update_canmove()
L.update_mobility()
if(occupant)
SEND_SIGNAL(src, COMSIG_MACHINE_EJECT_OCCUPANT, occupant)
occupant = null
+1 -1
View File
@@ -750,7 +750,7 @@
AI.cancel_camera()
AI.controlled_mech = src
AI.remote_control = src
AI.mobility_flags = MOBILIITY_FLAG_DEFAULT //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.
AI.mobility_flags = MOBILITY_FLAG_DEFAULT //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.
AI.can_shunt = 0 //ONE AI ENTERS. NO AI LEAVES.
to_chat(AI, AI.can_dominate_mechs ? "<span class='announce'>Takeover of [name] complete! You are now loaded onto the onboard computer. Do not attempt to leave the station sector!</span>" :\
"<span class='notice'>You have been uploaded to a mech's onboard computer.</span>")
+1 -1
View File
@@ -46,7 +46,7 @@
return
if(user == O && iscarbon(O))
var/mob/living/L = O
if(CHECK_MOBILITY(O, MOBILITY_MOVE))
if(CHECK_MOBILITY(L, MOBILITY_MOVE))
climb_structure(user)
return
if(!istype(O, /obj/item) || user.get_active_held_item() != O)