Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2004:
[Freeciv-Dev] Re: (PR#9445) Bug: negative science
Home

[Freeciv-Dev] Re: (PR#9445) Bug: negative science

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: brett.albertson@xxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#9445) Bug: negative science
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 21 Jul 2004 10:09:20 -0700
Reply-to: rt@xxxxxxxxxxx

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

Brett Albertson wrote:
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=9445 >
> 
>>[jdorje - Wed Jul 21 16:36:06 2004]:
>>
>>
>>I would guess so.  But how did you get 150% diplcost?
> 
> 
> I loaded "./data/scenario/british-isles-85x80-v2.80.sav" and took the
> defaults.

This patch changes the diplcost of all scenarios to 0 (the default).

Server options should be handled better in scenarios.

First of all we should be able to just add a loop into savegame.c to 
iterate over all server options and save/load them.

Secondly it should be possible to leave a server option unspecified in a 
scenario (pregame) and have the default value loaded.

jason

Index: data/scenario/british-isles-85x80-v2.80.sav
===================================================================
RCS file: 
/home/freeciv/CVS/freeciv/data/scenario/british-isles-85x80-v2.80.sav,v
retrieving revision 1.2
diff -u -r1.2 british-isles-85x80-v2.80.sav
--- data/scenario/british-isles-85x80-v2.80.sav 18 Feb 2004 21:06:43 -0000      
1.2
+++ data/scenario/british-isles-85x80-v2.80.sav 21 Jul 2004 17:04:11 -0000
@@ -18,7 +18,7 @@
 unhappysize=5
 cityfactor=15
 civilwarsize=10
-diplcost=150
+diplcost=0
 freecost=0
 conquercost=0
 rail_food=0
Index: data/scenario/earth-160x90-v2.sav
===================================================================
RCS file: /home/freeciv/CVS/freeciv/data/scenario/earth-160x90-v2.sav,v
retrieving revision 1.4
diff -u -r1.4 earth-160x90-v2.sav
--- data/scenario/earth-160x90-v2.sav   15 Jul 2004 03:31:55 -0000      1.4
+++ data/scenario/earth-160x90-v2.sav   21 Jul 2004 17:04:11 -0000
@@ -18,7 +18,7 @@
 unhappysize=5
 cityfactor=15
 civilwarsize=10
-diplcost=100
+diplcost=0
 freecost=0
 conquercost=0
 rail_food=0
Index: data/scenario/earth-80x50-v2.sav
===================================================================
RCS file: /home/freeciv/CVS/freeciv/data/scenario/earth-80x50-v2.sav,v
retrieving revision 1.4
diff -u -r1.4 earth-80x50-v2.sav
--- data/scenario/earth-80x50-v2.sav    15 Jul 2004 03:31:55 -0000      1.4
+++ data/scenario/earth-80x50-v2.sav    21 Jul 2004 17:04:11 -0000
@@ -21,7 +21,7 @@
 unhappysize=5
 cityfactor=15
 civilwarsize=10
-diplcost=100
+diplcost=0
 freecost=0
 conquercost=0
 foodbox=10
Index: data/scenario/europe-200x100-v2.sav
===================================================================
RCS file: /home/freeciv/CVS/freeciv/data/scenario/europe-200x100-v2.sav,v
retrieving revision 1.4
diff -u -r1.4 europe-200x100-v2.sav
--- data/scenario/europe-200x100-v2.sav 15 Jul 2004 03:31:55 -0000      1.4
+++ data/scenario/europe-200x100-v2.sav 21 Jul 2004 17:04:11 -0000
@@ -21,7 +21,7 @@
 unhappysize=5
 cityfactor=15
 civilwarsize=10
-diplcost=100
+diplcost=0
 freecost=0
 conquercost=0
 foodbox=10

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