diff --git a/lib/Lacuna/Role/Ship/Arrive/CaptureWithSpies.pm b/lib/Lacuna/Role/Ship/Arrive/CaptureWithSpies.pm index af6f2489..159a1b64 100644 --- a/lib/Lacuna/Role/Ship/Arrive/CaptureWithSpies.pm +++ b/lib/Lacuna/Role/Ship/Arrive/CaptureWithSpies.pm @@ -46,6 +46,11 @@ after handle_arrival_procedures => sub { filename => 'ship_captured_with_spies.txt', params => [$self->name, $body->x, $body->y, $body->name], ); + $body->empire->send_predefined_message( + tags => ['Alert'], + filename => 'we_captured_ship_with_spies.txt', + params => [$body->id, $body->name, $self->body->empire->id, $self->body->empire->name], + ); $self->delete; confess [-1]; }; diff --git a/var/messages/we_captured_ship_with_spies.txt b/var/messages/we_captured_ship_with_spies.txt new file mode 100644 index 00000000..3a54a787 --- /dev/null +++ b/var/messages/we_captured_ship_with_spies.txt @@ -0,0 +1,7 @@ +Ship Captured +~~~ +We captured a ship landing on {Planet %s %s}. Suspects on board were incarcerated. The ship has been destroyed, but its markings indicated it was from {Empire %s %s}. + +Regards, + +Your Humble Assistant \ No newline at end of file diff --git a/var/www/public/changes.txt b/var/www/public/changes.txt index bca5c185..c8c2d169 100644 --- a/var/www/public/changes.txt +++ b/var/www/public/changes.txt @@ -9,6 +9,7 @@ - Fixed a bug where Gas Giants didn't display properly the level of ore they were producing. - Removed old trade system. - Fixed "Security sweep kills my own spies on ally's planet". + - You now get a message if your planet captures a ship with spies. 2.4300 - Added Trelvestian AI.