[Freeciv-Dev] (PR#9817) default building specified in ruleset
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://RT::WebBaseURL.not.configured:80/Ticket/Display.html?id=9817 >
On Wed, 25 Aug 2004 20:52:25 -0700
Jason Short <jdorje@xxxxxxxxxxxxxxxxxxxxx> wrote:
JS>If the server/ai can't figure out anything to build it starts on
JS>B_CAPITAL. This patch changes that to be a ruleset value that's put
JS>into game.default_building.
JS>
JS>This is the same as in the effects patch but with some bugs fixed:
JS>
JS>- Support for all rulesets.
JS>- An invalid default building is a fatal error.
JS>
JS>jason
JS>
>Index: data/civ1/buildings.ruleset
>===================================================================
>RCS file: /home/freeciv/CVS/freeciv/data/civ1/buildings.ruleset,v
>retrieving revision 1.34
>diff -u -r1.34 buildings.ruleset
>--- data/civ1/buildings.ruleset 13 Jul 2004 22:52:17 -0000 1.34
>+++ data/civ1/buildings.ruleset 26 Aug 2004 03:40:40 -0000
>@@ -2060,6 +2060,7 @@
>
> aqueduct_size=10;
> sewer_size=99;
>+default="Capitalization"
>
IIRC, Civ 1 has no Capitalization, and in civ1/building.ruleset
Capitalisation has tech_req="Never"
Thanks, evyscr.
|
|