# HG changeset patch # User "Rex Tsai " # Date 1225974867 -28800 # Node ID b7ea7c43dbad367f6d56cbbc6b537adf4753b1ec # Parent afd3f5cb85975710995d2ce889af714be1b1d0f3# Parent 978a949602e54fa4f9c94124c9651294f9249afe merged. diff -r 978a949602e5 -r b7ea7c43dbad agent.pl --- a/agent.pl Thu Nov 06 20:31:05 2008 +0800 +++ b/agent.pl Thu Nov 06 20:34:27 2008 +0800 @@ -77,7 +77,8 @@ sub is_warehouse_enough { my ($self, $city) = @_; - my @warehouse = (qw/undef undef 0 4 9 16 18 19 20 21 22 23 24 25/); + # my @warehouse = (qw/undef undef 0 4 9 16 18 19 20 21 22 23 24 25/); + my @warehouse = (qw/undef undef 0 4 9 15 18 19 20 21 22 23 24 25/); my @cities = keys(%{$self->{ikariam}->{cities}}); my $nextCities = ($#cities + 1) + 1; diff -r 978a949602e5 -r b7ea7c43dbad city.yaml --- a/city.yaml Thu Nov 06 20:31:05 2008 +0800 +++ b/city.yaml Thu Nov 06 20:34:27 2008 +0800 @@ -13,6 +13,7 @@ # 1: increaseTransporter - is_corruption: 1: + # FIXME: 應該先升級皇宮 - is_warehouse_enougn_for_governorsresidence: 0: build_warehouse 1: build_palaceColony