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: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#10126) Add factory requirements to power plants
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Wed, 15 Sep 2004 03:19:13 -0700
Reply-to: rt@xxxxxxxxxxx

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

This patch makes the power plant buildings require an existing Factory
before they can be built. This makes so much sense I cannot understand why
it has not already been done (apart from bug compatibility with civ2).

The power plants only give production bonus if you have a Factory or a Mfg
Plant. And you can only have an Mfg Plant if you have a Factory. 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.

Adding this requirement makes your building list shorter, saves newbies
some confusion, and makes the AI faster.

  - Per

Index: data/default/buildings.ruleset
===================================================================
RCS file: /home/freeciv/CVS/freeciv/data/default/buildings.ruleset,v
retrieving revision 1.52
diff -u -r1.52 buildings.ruleset
--- data/default/buildings.ruleset      13 Sep 2004 15:54:53 -0000      1.52
+++ data/default/buildings.ruleset      15 Sep 2004 10:13:05 -0000
@@ -571,7 +571,7 @@
 [building_hydro_plant]
 name           = _("Hydro Plant")
 tech_req       = "Electronics"
-bldg_req       = "None"
+bldg_req       = "Factory"
 graphic        = "b.hydro_plant"
 graphic_alt    = "-"
 terr_gate      = "Mountains"
@@ -724,7 +724,7 @@
 [building_nuclear_plant]
 name           = _("Nuclear Plant")
 tech_req       = "Nuclear Power"
-bldg_req       = "None"
+bldg_req       = "Factory"
 graphic        = "b.nuclear_plant"
 graphic_alt    = "-"
 ;terr_gate     =
@@ -894,7 +894,7 @@
 [building_power_plant]
 name           = _("Power Plant")
 tech_req       = "Refining"
-bldg_req       = "None"
+bldg_req       = "Factory"
 graphic        = "b.power_plant"
 graphic_alt    = "-"
 ;terr_gate     =
@@ -1074,7 +1074,7 @@
 [building_solar_plant]
 name           = _("Solar Plant")
 tech_req       = "Never"               ; "Environmentalism"
-bldg_req       = "None"
+bldg_req       = "Factory"
 graphic        = "b.solar_plant"
 graphic_alt    = "-"
 ;terr_gate     =

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#10126) Add factory requirements to power plants, Per I. Mathisen <=