[Freeciv-Dev] speed hero no more
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
I know you'll all hate not to be able to win the game before christ
anymore, but still - how about the patch attached?
Will make the spaceship date issues less pressing, tho'
of course you could argue whether this is a good thing
( hiding bugs ).
Also, newbies can't complain anymore 'AI got gunpowder b4 BC'.
The part of the patch try to check on
the ability to build spaceships is a bit strange,
but it shouldn't really interfere with rulesets.
--
Peter Schaefer mailto:schaefer@xxxxxxxxxxxxxxxxxxxxxxxxxxx
X-Url: http://wwwhoppe.math.uni-augsburg.de/~schaefer/
coz' hackers LOVE irix
--- common/game.cold Mon Nov 9 20:55:57 1998
+++ common/game.c Thu Nov 12 17:10:40 1998
@@ -398,16 +398,28 @@
if (game.year == 1) /* hacked it to get rid of year 0 */
game.year = 0;
- if (game.year < 1000)
- game.year += 20;
- else if (game.year < 1500)
- game.year += 10;
- else if (game.year < 1700)
- game.year += 5;
- else if (game.year < 1800)
+ /* !McFred:
+ - want game.year += 1 for spaceship.
+ */
+
+ if(game.year >= 1900
+ ||
+ (( game.global_advances[A_ROBOTICS] ||
game.global_advances[A_SUPERCONDUCTOR] )
+ && game.global_advances[A_PLASTICS] && game.year >0 )
+ )
+ game.year += 1;
+ else if(game.year >= 1750 || game.global_advances[A_PLASTICS] )
game.year += 2;
+ else if(game.year >= 1500 || game.global_advances[A_SPACEFLIGHT] )
+ game.year += 5;
+ else if(game.year >= 1000 )
+ game.year += 10;
+ else if( game.year >= 0 )
+ game.year += 20;
+ else if(game.year >= -1250)
+ game.year += 25;
else
- game.year++;
+ game.year += 50;
if (game.year == 0)
game.year = 1;
- [Freeciv-Dev] speed hero no more,
Peter Schaefer <=
|
|