From 769f9429f9e7f42bd2f7ab36a75824ddcc677d75 Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Sun, 7 Oct 2018 15:00:24 +0100 Subject: [PATCH] Stop vehicle movement when a hijacker is entering. --- mods/ra/rules/defaults.yaml | 2 ++ mods/ts/rules/defaults.yaml | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/mods/ra/rules/defaults.yaml b/mods/ra/rules/defaults.yaml index 9eaf159a95..b13be1afe0 100644 --- a/mods/ra/rules/defaults.yaml +++ b/mods/ra/rules/defaults.yaml @@ -241,6 +241,7 @@ DrawLineToTarget: UpdatesPlayerStatistics: Mobile: + RequiresCondition: !being-captured Locomotor: wheeled TurnSpeed: 5 SelectionDecorations: @@ -267,6 +268,7 @@ Tooltip: GenericName: Vehicle CaptureManager: + BeingCapturedCondition: being-captured Capturable: Types: vehicle CancelActivity: True diff --git a/mods/ts/rules/defaults.yaml b/mods/ts/rules/defaults.yaml index 415f400875..f70406ec96 100644 --- a/mods/ts/rules/defaults.yaml +++ b/mods/ts/rules/defaults.yaml @@ -715,10 +715,10 @@ Action: Kill DrawLineToTarget: Mobile: + RequiresCondition: !empdisable && !being-captured + Locomotor: wheeled TurnSpeed: 5 Voice: Move - RequiresCondition: !empdisable - Locomotor: wheeled Selectable: Bounds: 40,24 WithTextControlGroupDecoration: @@ -740,6 +740,7 @@ HiddenUnderFog: ActorLostNotification: CaptureManager: + BeingCapturedCondition: being-captured Capturable: Types: Vehicle CancelActivity: True