Complete.Org: Mailing Lists: Archives: freeciv-dev: June 2006:
[Freeciv-Dev] (PR#17772) Rapture growth balancing
Home

[Freeciv-Dev] (PR#17772) Rapture growth balancing

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#17772) Rapture growth balancing
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Fri, 9 Jun 2006 13:00:13 -0700
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=17772 >

This patch allows you to totally disable rapture growth, and sets the 
default value for the rapture growth server setting to 2.

This fix is necessary to rebalance the game, because largepox with rapture 
growth has become a bit too powerful now. You should not have a space ship 
in BC.

Eventually I wish to set the default for rapture growth to disabled.

   - Per
Index: server/settings.c
===================================================================
--- server/settings.c   (revision 12015)
+++ server/settings.c   (working copy)
@@ -594,7 +594,7 @@
           N_("Number of turns between rapture effect"),
           N_("Sets the number of turns between rapture growth of a city. "
              "If set to n a city will grow after celebrating for n+1 "
-            "turns."),
+            "turns. Set to zero to disable rapture growth."),
          NULL,
           GAME_MIN_RAPTUREDELAY, GAME_MAX_RAPTUREDELAY,
           GAME_DEFAULT_RAPTUREDELAY)
Index: common/city.c
===================================================================
--- common/city.c       (revision 12015)
+++ common/city.c       (working copy)
@@ -1026,6 +1026,7 @@
 bool city_rapture_grow(const struct city *pcity)
 {
   return (pcity->rapture > 0 && pcity->surplus[O_FOOD] > 0
+          && game.info.rapturedelay > 0
          && (pcity->rapture % game.info.rapturedelay) == 0
           && get_city_bonus(pcity, EFT_RAPTURE_GROW) > 0);
 }
Index: common/game.h
===================================================================
--- common/game.h       (revision 12015)
+++ common/game.h       (working copy)
@@ -244,9 +244,9 @@
 
 #define GAME_DEFAULT_CELEBRATESIZE    3
 
-#define GAME_DEFAULT_RAPTUREDELAY    1
-#define GAME_MIN_RAPTUREDELAY        1
-#define GAME_MAX_RAPTUREDELAY        99 /* 99 practicaly disables rapturing */
+#define GAME_DEFAULT_RAPTUREDELAY    2
+#define GAME_MIN_RAPTUREDELAY        0
+#define GAME_MAX_RAPTUREDELAY        10
  
 #define GAME_DEFAULT_SAVEPALACE      TRUE
 

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#17772) Rapture growth balancing, Per I. Mathisen <=