changeset 152:60a09758a885

added research for Museum
author chihchun@debian.org.tw
date Sat, 01 Nov 2008 04:09:52 +0800
parents 7071116f6ae7
children 25dcc1fffeef
files agent.pl overall.yaml
diffstat 2 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/agent.pl	Sat Nov 01 04:06:43 2008 +0800
+++ b/agent.pl	Sat Nov 01 04:09:52 2008 +0800
@@ -147,6 +147,11 @@
     return (defined($self->{'ikariam'}->{research}->{3040}) ?  1 : 0);
 }
 
+sub is_culturalexchange_researched {
+    my ($self) = @_;
+    return (defined($self->{'ikariam'}->{research}->{3060}) ?  1 : 0);
+}
+
 sub is_professionalarmy_researched {
     my ($self) = @_;
     return (defined($self->{'ikariam'}->{research}->{4030}) ?  1 : 0);
--- a/overall.yaml	Sat Nov 01 04:06:43 2008 +0800
+++ b/overall.yaml	Sat Nov 01 04:09:52 2008 +0800
@@ -28,5 +28,9 @@
      # 希臘火, 建造噴火船
      - is_greekfire_researched:
         0: research_seafaring
+     # 文化交流, 建造博物館
+     - is_culturalexchange_researched:
+        0: research_knowledge
+        
    1: run_defence
    # we are being attacked!!!!!!!!!!!!!