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

                 Summary: Add a local range to diplomatic relation requirement
type
                 Project: Freeciv
            Submitted by: sveinung
            Submitted on: Wed 14 Aug 2013 08:24:09 PM GMT
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 

    _______________________________________________________

Details:

* Applies on top of patch #4051. Submitted separately as it is more invasive.
* A player has no diplomatic relationship at all to it self so a test is
always false.
* The other player is needed for the local range. Make it possible to pass it
to are_reqs_active, get_target_bonus_effects, is_req_active,
is_effect_disabled and is_effect_useful.
* Send the needed data in base, extra and road. The tile owner is the other
player. This makes it possible to solve bug #20886 in the rule set (if a
solution that only forbids building stuff without transferring ownership is
acceptable).
* I plan to use local DiplRel requirements in the spy action enablers (in a
follow up patch to patch #4077 patch, #4078 and patch #4079).
* A local DiplRel range may be useful for some of the existing effects. No
support added. This patch is invasive enough already.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 14 Aug 2013 08:24:09 PM GMT  Name: diplrel_local.patch  Size: 29kB  
By: sveinung

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

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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