Merge pull request #9050 from MistakeNot4892/drakemove

Move intent tweaks.
This commit is contained in:
Atermonera
2023-03-14 00:01:26 -08:00
committed by GitHub
15 changed files with 147 additions and 106 deletions
+3 -3
View File
@@ -274,14 +274,14 @@ var/global/last_chew = 0
target.legcuffed = lcuffs
target.update_inv_legcuffed()
if(!IS_WALKING(target))
target.set_move_intent(/decl/move_intent/walk)
target.set_move_intent(target.get_movement_intent_with_flag(MOVEMENT_INTENT_WALKING))
return 1
/obj/item/handcuffs/legcuffs/equipped(var/mob/living/user,var/slot)
. = ..()
if(slot == slot_legcuffed)
if(!IS_WALKING(user))
user.set_move_intent(/decl/move_intent/walk)
user.set_move_intent(user.get_movement_intent_with_flag(MOVEMENT_INTENT_WALKING))
/obj/item/handcuffs/legcuffs/bola
@@ -321,5 +321,5 @@ var/global/last_chew = 0
target.legcuffed = lcuffs
target.update_inv_legcuffed()
if(!IS_WALKING(target))
target.set_move_intent(/decl/move_intent/walk)
target.set_move_intent(target.get_movement_intent_with_flag(MOVEMENT_INTENT_WALKING))
return 1