From ad56742f9c65b5db0a30b003ecff88cf9ad4d212 Mon Sep 17 00:00:00 2001 From: JT Smith Date: Sat, 18 Dec 2010 11:36:55 -0600 Subject: [PATCH] Added mission "colony founded" message. --- lib/Lacuna/Role/Ship/Arrive/Colonize.pm | 2 +- var/messages/colony_founded.txt | 7 +++++++ var/www/public/changes.txt | 1 + 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 var/messages/colony_founded.txt diff --git a/lib/Lacuna/Role/Ship/Arrive/Colonize.pm b/lib/Lacuna/Role/Ship/Arrive/Colonize.pm index a664864e..7efefc34 100644 --- a/lib/Lacuna/Role/Ship/Arrive/Colonize.pm +++ b/lib/Lacuna/Role/Ship/Arrive/Colonize.pm @@ -32,7 +32,7 @@ after handle_arrival_procedures => sub { $empire->send_predefined_message( tags => ['Alert'], filename => 'colony_founded.txt', - params => [$planet->name, $planet->name], + params => [$planet->id, $planet->name, $planet->name], ); $empire->is_isolationist(0); $empire->update; diff --git a/var/messages/colony_founded.txt b/var/messages/colony_founded.txt new file mode 100644 index 00000000..97e69159 --- /dev/null +++ b/var/messages/colony_founded.txt @@ -0,0 +1,7 @@ +Colony Founded +~~~ +We have established the colony on {Planet %s %s} as you requested. Awaiting initial construction orders. + +Regards, + +%s Mission Commander diff --git a/var/www/public/changes.txt b/var/www/public/changes.txt index ef313fe4..6b84d244 100644 --- a/var/www/public/changes.txt +++ b/var/www/public/changes.txt @@ -1,6 +1,7 @@ 2.4000 - Fixed bug where some spy missions would return invalid JSON. - Fixed: Halls of Vrbanks get_upgradable_buildings was returning wrong URLs. + - Added mission "colony founded" message. - Refactored ship classes. - Scows are no longer expendable if used to dump waste into a star. - Scows no longer have a 0 hold size if you have no Trade Ministry, however the Trade Ministry helps them greatly. -- 2.51.2