URL:
  <http://gna.org/patch/?4610>

                 Summary: AI won't build sea-only workers
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Sun 16 Mar 2014 04:21:21 AM EET
                Category: ai
                Priority: 5 - Normal
                  Status: Ready For Test
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 2.6.0

    _______________________________________________________

Details:

Once sea-only worker units become avilable in my ruleset, AI failed to build
any workers capable of moving on land. That's because it blindly takes the
latest available worker type, and that happened to be the sea-only one.

Attached patch improves the situation a bit by making sure that AI never
builds sea-only workers. If presented with a choice between land-only and
sea-only workers, it will build land-only ones.

This patch is not as counter-productive as one may think ("why don't you
really fix it?") as almost all of the code added is about building the
framework for AI to select role units based on where they can move. That's
certainly needed in full fix to make AI to build different units based on
where they are needed.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 16 Mar 2014 04:21:21 AM EET  Name: LandSettlers.patch  Size: 6kB  
By: cazfi

<http://gna.org/patch/download.php?file_id=20350>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?4610>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to