From a58062f7d6126269db69c9c71f0df73e55df9155 Mon Sep 17 00:00:00 2001 From: lemming552 Date: Tue, 19 Jan 2016 10:51:45 -0700 Subject: [PATCH] tweak --- bin/trelvestian/reset_essentia_veins.pl | 1 + lib/Lacuna/AI/Trelvestian.pm | 2 +- var/upgrades/3.0918.sql | 6 ++++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/bin/trelvestian/reset_essentia_veins.pl b/bin/trelvestian/reset_essentia_veins.pl index 7df98a3b..58ddfb83 100644 --- a/bin/trelvestian/reset_essentia_veins.pl +++ b/bin/trelvestian/reset_essentia_veins.pl @@ -26,6 +26,7 @@ while (my $colony = $colonies->next) { my $vein = $colony->get_building_of_class('Lacuna::DB::Result::Building::Permanent::EssentiaVein'); if (defined $vein) { my $ends = DateTime->now->add(seconds => 60*60*24*60); + $vein->level(28); $vein->reschedule_work($ends)->update; } else { diff --git a/lib/Lacuna/AI/Trelvestian.pm b/lib/Lacuna/AI/Trelvestian.pm index 88064a5d..54503a73 100644 --- a/lib/Lacuna/AI/Trelvestian.pm +++ b/lib/Lacuna/AI/Trelvestian.pm @@ -43,7 +43,7 @@ sub empire_defaults { sub colony_structures { return ( - ['Lacuna::DB::Result::Building::Permanent::EssentiaVein',29], + ['Lacuna::DB::Result::Building::Permanent::EssentiaVein',28], ['Lacuna::DB::Result::Building::Permanent::GeoThermalVent',30], ['Lacuna::DB::Result::Building::Permanent::GratchsGauntlet',30], ['Lacuna::DB::Result::Building::Permanent::NaturalSpring',30], diff --git a/var/upgrades/3.0918.sql b/var/upgrades/3.0918.sql index 3c83ff50..0864d1f2 100644 --- a/var/upgrades/3.0918.sql +++ b/var/upgrades/3.0918.sql @@ -7,7 +7,9 @@ drop table temp; drop table trades; drop table votes_bak; delete from cargo_log; -delete from login_log where date_stamp < "2015-01-01 00:00:00"; +create table lottery_log_bu select * from lottery_log; delete from lottery_log where date_stamp < "2015-01-01 00:00:00"; +create table login_log_bu select * from login_log; +delete from login_log where date_stamp < "2015-01-01 00:00:00"; +create table news_bu select * from news; delete from news where date_posted < "2015-01-01 00:00:00"; - -- 2.51.2