← Back to team overview

widelands-dev team mailing list archive

[Merge] lp:~ad-simplypeachy/widelands/ai-hints into lp:widelands

 

_aD has proposed merging lp:~ad-simplypeachy/widelands/ai-hints into lp:widelands.

Commit message:
Improved AI hints for shipyard and toolsmithy/metalwork shops.

Requested reviews:
  Widelands Developers (widelands-dev)

For more details, see:
https://code.launchpad.net/~ad-simplypeachy/widelands/ai-hints/+merge/142038

The AI was building shipyards with no water in range and the toolsmithys/metalworks were not marked as basic, and were not being built early enough. The latter seemed to be crippling the AI's progress quite often. AI hints sections now fixed.
-- 
https://code.launchpad.net/~ad-simplypeachy/widelands/ai-hints/+merge/142038
Your team Widelands Developers is requested to review the proposed merge of lp:~ad-simplypeachy/widelands/ai-hints into lp:widelands.
=== modified file 'tribes/atlanteans/shipyard/conf'
--- tribes/atlanteans/shipyard/conf	2012-02-20 15:54:26 +0000
+++ tribes/atlanteans/shipyard/conf	2013-01-06 16:42:22 +0000
@@ -2,6 +2,7 @@
 
 [aihints]
 build_material=false
+needs_water=true
 
 [buildcost]
 trunk=3

=== modified file 'tribes/atlanteans/toolsmithy/conf'
--- tribes/atlanteans/toolsmithy/conf	2012-02-15 21:25:34 +0000
+++ tribes/atlanteans/toolsmithy/conf	2013-01-06 16:42:22 +0000
@@ -20,6 +20,7 @@
 
 [aihints]
 build_material=false
+is_basic=true
 
 [working positions]
 toolsmith=1

=== modified file 'tribes/barbarians/metalworks/conf'
--- tribes/barbarians/metalworks/conf	2012-02-15 21:25:34 +0000
+++ tribes/barbarians/metalworks/conf	2013-01-06 16:42:22 +0000
@@ -28,6 +28,7 @@
 
 [aihints]
 build_material=false
+is_basic=true
 
 [programs]
 produce_felling_axe=_Produce felling axe

=== modified file 'tribes/barbarians/shipyard/conf'
--- tribes/barbarians/shipyard/conf	2012-03-01 16:15:56 +0000
+++ tribes/barbarians/shipyard/conf	2013-01-06 16:42:22 +0000
@@ -2,6 +2,7 @@
 
 [aihints]
 build_material=false
+needs_water=true
 
 [buildcost]
 trunk=3

=== modified file 'tribes/empire/shipyard/conf'
--- tribes/empire/shipyard/conf	2012-03-01 22:35:05 +0000
+++ tribes/empire/shipyard/conf	2013-01-06 16:42:22 +0000
@@ -2,6 +2,7 @@
 
 [aihints]
 build_material=false
+needs_water=true
 
 [buildcost]
 trunk=3

=== modified file 'tribes/empire/toolsmithy/conf'
--- tribes/empire/toolsmithy/conf	2012-02-15 21:25:34 +0000
+++ tribes/empire/toolsmithy/conf	2013-01-06 16:42:22 +0000
@@ -21,6 +21,7 @@
 
 [aihints]
 build_material=false
+is_basic=true
 
 [working positions]
 toolsmith=1