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

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

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] Re: (PR#10126) Add factory requirements to power plants
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Mon, 20 Sep 2004 06:35:01 -0700
Reply-to: rt@xxxxxxxxxxx

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

On Sat, 18 Sep 2004, Marko Lindqvist wrote:
> Per I. Mathisen wrote:
> > The only
> > effect you get without a Factory is the environmental benefit, from hydro
> > plant or a nuclear plant only. However, I do not think it makes much sense
> > to get this benefit without a Factory, either.
>
> What this means for Hoover Dam? It's still giving environmental
> benefit even for cities without Factories.

Yes.

> 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.

  - Per

Index: data/default/buildings.ruleset
===================================================================
RCS file: /home/freeciv/CVS/freeciv/data/default/buildings.ruleset,v
retrieving revision 1.53
diff -u -r1.53 buildings.ruleset
--- data/default/buildings.ruleset      17 Sep 2004 00:54:07 -0000      1.53
+++ data/default/buildings.ruleset      20 Sep 2004 13:34:03 -0000
@@ -588,7 +588,7 @@
     { "name", "value", "equiv", "req_type", "req"
       "Prod_Bonus", 25, "Generators", "Building", "Factory"
       "Prod_Bonus", 25, "Generators", "Building", "Mfg. Plant"
-      "Pollu_Prod_Pct", 2, "Janitors"
+      "Pollu_Prod_Pct", 2, "Janitors", "Building", "Factory"
     }
 sound          = "b_hydro_plant"
 sound_alt      = "b_generic"
@@ -741,7 +741,7 @@
     { "name", "value", "equiv", "req_type", "req"
       "Prod_Bonus", 25, "Generators", "Building", "Factory"
       "Prod_Bonus", 25, "Generators", "Building", "Mfg. Plant"
-      "Pollu_Prod_Pct", 2, "Janitors"
+      "Pollu_Prod_Pct", 2, "Janitors", "Building", "Factory"
     }
 sound          = "b_nuclear_plant"
 sound_alt      = "b_generic"
@@ -1655,7 +1655,7 @@
     { "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", 2, "Janitors"
+      "Pollu_Prod_Pct", "Player", 2, "Janitors", "Building", "Factory"
     }
 sound          = "w_hoover_dam"
 sound_alt      = "w_generic"

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