URL:
  <http://gna.org/bugs/?20932>

                 Summary: Mined city center getting irrigation bonus
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Fri 28 Jun 2013 12:08:27 AM EEST
                Category: general
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: Ready For Test
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: 
         Discussion Lock: Any
        Operating System: None
         Planned Release: 2.3.5, 2.4.0, 2.5.0, 2.6.0

    _______________________________________________________

Details:

Automatic Irrigation & Farmland bonuses are given to city center tile even if
it has explicit Mine in it. Irrigation bonus is supposed to be given only if
tile could have real irrigation, and irrigation cannot exist with mine.

Fix attached. Note that irrigation handling is hardcoded to c-code, while
Farmland is handled by rulesets.

With supplied rulesets this affects (at least) Hills. City center Hills with
Mine used to give 2/2/0, but with this patch only 1/2/0. (Hills without mine
stay at 2/1/0). In theory also Desert benefitted from irrigation even when
mine was there, but disappearance of that benefit is not visible to user as
now the rule "center tile produces at least 1 food and production" still gives
the same 1 point of food.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Fri 28 Jun 2013 12:08:27 AM EEST  Name: MinedIrrigationBonus.patch 
Size: 4kB   By: cazfi

<http://gna.org/bugs/download.php?file_id=18177>
-------------------------------------------------------
Date: Fri 28 Jun 2013 12:08:27 AM EEST  Name: MinedIrrigationBonus-S2_4.patch 
Size: 2kB   By: cazfi

<http://gna.org/bugs/download.php?file_id=18178>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?20932>

_______________________________________________
  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