From f9bb663f6b92861d27e94c5902753a731b94b503 Mon Sep 17 00:00:00 2001 From: tovl Date: Thu, 23 Jul 2020 17:06:17 +0200 Subject: [PATCH] Allow thieves to capture landed aircraft in RA mod. --- mods/ra/rules/defaults.yaml | 7 +++++++ mods/ra/rules/infantry.yaml | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/mods/ra/rules/defaults.yaml b/mods/ra/rules/defaults.yaml index 859f426947..a67efd81e3 100644 --- a/mods/ra/rules/defaults.yaml +++ b/mods/ra/rules/defaults.yaml @@ -591,6 +591,13 @@ Explodes: Weapon: UnitExplode RequiresCondition: !airborne + CaptureManager: + Capturable: + Types: aircraft + RequiresCondition: !airborne + CaptureNotification: + Notification: UnitStolen + LoseNotification: UnitLost ^Plane: Inherits: ^NeutralPlane diff --git a/mods/ra/rules/infantry.yaml b/mods/ra/rules/infantry.yaml index c1d9224bc7..72b8101c3c 100644 --- a/mods/ra/rules/infantry.yaml +++ b/mods/ra/rules/infantry.yaml @@ -575,7 +575,7 @@ THF: CustomPipType: blue CaptureManager: Captures: - CaptureTypes: vehicle + CaptureTypes: vehicle, aircraft PlayerExperience: 50 Infiltrates: Types: ThiefInfiltrate