From 6dc6d91c35cdf226558fe637718da019e7e73d94 Mon Sep 17 00:00:00 2001 From: T'kael Date: Sun, 23 Jun 2024 20:59:24 -0700 Subject: [PATCH] Add `Cargo transfer` event. Resolves #2621. --- ChangeLog.md | 3 ++- JournalMonitor/JournalMonitor.cs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ChangeLog.md b/ChangeLog.md index 1c9c0eaa49..74372655e2 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -3,7 +3,8 @@ Full details of the variables available for each noted event, and VoiceAttack integrations, are available in the individual [event pages](https://github.com/EDCD/EDDI/wiki/Events). ## 4.1.0-a1 - + * Events + * `Cargo Transfer` added. (#2621) ## 4.0.4 * Core diff --git a/JournalMonitor/JournalMonitor.cs b/JournalMonitor/JournalMonitor.cs index 672c573fea..17a695521a 100644 --- a/JournalMonitor/JournalMonitor.cs +++ b/JournalMonitor/JournalMonitor.cs @@ -5038,7 +5038,7 @@ MicroResource GetResource( IDictionary resourceData ) } handled = true; break; - case "CargoTransfer": // Could use for cargo transfers between ship and fleet carrier; the `Cargo` event already keeps ship and SRV cargo up to date. + case "CargoTransfer": { var toShip = new List(); var toSRV = new List();