Author: cazfi
Date: Sun Feb 22 10:42:27 2015
New Revision: 28276

URL: http://svn.gna.org/viewcvs/freeciv?rev=28276&view=rev
Log:
Changed README.effects example to use present=FALSE instead of nreqs.

See patch #5843

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=28276&r1=28275&r2=28276&view=diff
==============================================================================
--- branches/S2_6/doc/README.effects    (original)
+++ branches/S2_6/doc/README.effects    Sun Feb 22 10:42:27 2015
@@ -6,15 +6,12 @@
 name  = "Output_Bonus"
 value = 25
 reqs  =
-    { "type", "name", "range"
-      "Building", "Factory", "City"
-      "Building", "Hydro Plant", "City"
-      "OutputType", "Shield", "Local"
-    }
-nreqs =
-    { "type", "name", "range"
-      "Building", "Hoover Dam", "Player"
-      "Building", "Nuclear Plant", "City"
+    { "type", "name", "range", "present"
+      "Building", "Factory", "City", TRUE
+      "Building", "Hydro Plant", "City", TRUE
+      "OutputType", "Shield", "Local", TRUE
+      "Building", "Hoover Dam", "Player", FALSE
+      "Building", "Nuclear Plant", "City", FALSE
     }
 
 The text in the brackets is the entry name, which just has to be unique, but 
@@ -22,10 +19,8 @@
 defining.  The value is the effect's value, which depends on which effect it 
 is. The reqs table contain a list of requirements for this effect being in 
 effect. You need to satisfy all requirements listed here for this effect to 
-take effect in the game.  Lastly there is the nreqs table which is the 
-opposite of the reqs field, these are conditions which prevent the effect from 
-taking place. Any one of the nreq conditions will prevent the effect from 
-taking effect.
+take effect in the game. Requirements with present = TRUE must be present,
+those with present = FALSE must not be present.
 
 Value is integral amount parameter for many effects (must be in the range 
 -32767 to 32767).


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

Reply via email to