Author: sveinung
Date: Sat Aug 15 22:58:21 2015
New Revision: 29536

URL: http://svn.gna.org/viewcvs/freeciv?rev=29536&view=rev
Log:
Improve current DiplRel semantic documentation

Explain what happens when there is no player to evaluate a DiplRel
requirement against.

See patch #6232

Modified:
    branches/S2_6/doc/README.effects

Modified: branches/S2_6/doc/README.effects
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/doc/README.effects?rev=29536&r1=29535&r2=29536&view=diff
==============================================================================
--- branches/S2_6/doc/README.effects    (original)
+++ branches/S2_6/doc/README.effects    Sat Aug 15 22:58:21 2015
@@ -517,6 +517,20 @@
 Only the exact relationship required fulfills it. Example: An alliance or
 an armistice agreement won't fulfill a "Peace" requirement.
 
+It is possible to create a requirement that in some situations won't have a
+player to check. In those cases the requirement will always be considered
+unfulfilled. This applies to both present and not present requirements. The
+ranges Alliance, Team, Player and Local needs a player. The Local range also
+needs the player the first player's relationship is to.
+
+Example: The requirements below are about the relationship to the owner of a
+tile. The table shows in what situations a requirement is fulfilled.
+
+Requirement is                            fulfilled when the tile is
+                                        | domestic | unclaimed | foreign
+"DiplRel", "Is foreign", "Local", TRUE  | no       | no        | yes
+"DiplRel", "Is foreign", "Local", FALSE | yes      | no        | no
+
 The MaxUnitsOnTile requirement type
 ----------------------------
 Check the number of units present on a tile. Is true if no more than the


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

Reply via email to