Author: jtn
Date: Mon Nov 30 22:19:40 2015
New Revision: 30823

URL: http://svn.gna.org/viewcvs/freeciv?rev=30823&view=rev
Log:
Multiplayer ruleset Darwin's Voyage was giving 4 techs instead of 2.

Reported by Sveinung Kvilhaugsvik (sveinung@gna).

See gna bug #22788, bug #24098.

Modified:
    branches/S2_5/data/multiplayer/effects.ruleset

Modified: branches/S2_5/data/multiplayer/effects.ruleset
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_5/data/multiplayer/effects.ruleset?rev=30823&r1=30822&r2=30823&view=diff
==============================================================================
--- branches/S2_5/data/multiplayer/effects.ruleset      (original)
+++ branches/S2_5/data/multiplayer/effects.ruleset      Mon Nov 30 22:19:40 2015
@@ -1799,17 +1799,23 @@
       "Tech", "Genetic Engineering", "Player"
      }
 
-; This effect is here only to prevent is_building_replaced()
-; in common/effects.c from returning TRUE for Darwin's
-; Voyage (and consequently having the city production list
+; HACK: these effects, with no net outcome, are here only to prevent
+; is_building_replaced() in common/effects.c from returning TRUE for
+; Darwin's Voyage (and consequently having the city production list
 ; draw it with strike-through).
-;
-; The actual giving of techs is done in the lua script, so
-; that players cannot get the bonus again when rebuliding
-; the small wonder.
+; The actual giving of 2 techs is done in the lua script, so that players
+; cannot get the bonus again when rebuilding the small wonder.
 [effect_darwins_voyage]
 type    = "Give_Imm_Tech"
 value  = 2
+reqs   =
+    { "type", "name", "range"
+      "Building", "Darwin's Voyage", "Player"
+    }
+
+[effect_darwins_voyage_2]
+type    = "Give_Imm_Tech"
+value  = -2
 reqs   =
     { "type", "name", "range"
       "Building", "Darwin's Voyage", "Player"


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

Reply via email to