Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2004:
[Freeciv-Dev] (PR#10126) Add factory requirements to power plants
Home

[Freeciv-Dev] (PR#10126) Add factory requirements to power plants

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: per@xxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#10126) Add factory requirements to power plants
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 22 Sep 2004 19:20:00 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=10126 >

> [per - Mon Sep 20 13:34:59 2004]:

> > But wait, you disallowed only construction of plants in cities
> without
> > Factories. One still gets environmental effect if Factory is later
> > destroyed?
> 
> Yes.
> 
> Attached patch fixes this, for consistency.

The patch is out of date.  This updates it and splits the bonus between
factory and mfg plant requirements.

jason

Index: data/default/buildings.ruleset
===================================================================
RCS file: /home/freeciv/CVS/freeciv/data/default/buildings.ruleset,v
retrieving revision 1.55
diff -u -r1.55 buildings.ruleset
--- data/default/buildings.ruleset      21 Sep 2004 06:18:50 -0000      1.55
+++ data/default/buildings.ruleset      23 Sep 2004 02:18:59 -0000
@@ -741,7 +741,8 @@
     { "name", "value", "equiv", "req_type", "req"
       "Prod_Bonus", 25, "Generators", "Building", "Factory"
       "Prod_Bonus", 25, "Generators", "Building", "Mfg. Plant"
-      "Pollu_Prod_Pct", -50, "Janitors"
+      "Pollu_Prod_Pct", -25, "Janitors", "Building", "Factory"
+      "Pollu_Prod_Pct", -25, "Janitors", "Building", "Mfg. Plant"
     }
 sound          = "b_nuclear_plant"
 sound_alt      = "b_generic"
@@ -1659,7 +1660,8 @@
     { "name", "range", "value", "equiv", "req_type", "req"
       "Prod_Bonus", "Player", 25, "Generators", "Building", "Factory"
       "Prod_Bonus", "Player", 25, "Generators", "Building", "Mfg. Plant"
-      "Pollu_Prod_Pct", "Player", -50, "Janitors"
+      "Pollu_Prod_Pct", "Player", -25, "Janitors", "Building", "Factory"
+      "Pollu_Prod_Pct", "Player", -25, "Janitors", "Building", "Mfg. Plant"
     }
 sound          = "w_hoover_dam"
 sound_alt      = "w_generic"

[Prev in Thread] Current Thread [Next in Thread]